[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool 2.2.6 does not install libraries correctly on HP-UX
From: |
Ralf Wildenhues |
Subject: |
Re: libtool 2.2.6 does not install libraries correctly on HP-UX |
Date: |
Mon, 29 Sep 2008 08:20:44 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hi Bruno,
thanks for the bug report.
* Bruno Haible wrote on Sun, Sep 28, 2008 at 07:05:43PM CEST:
> When libtool attempts to install a shared library on HP-UX, it does so
> without execution bits, immediately breaking all programs that are
> linked to this library.
Can you post
./libtool --config
please? postinstall_cmds should do a chmod 555 on the library.
> I have a previous version of gettext (libintl) installed, and a few programs
> like 'mkdir' or 'install' that are linked against it. While installing a new
> version of libintl, this error occurs:
>
> $ /bin/sh ../libtool --mode=install /opt/gnu/bin/install -c -m 644 libintl.la
> /opt/gnu/lib/libintl.la
> libtool: install: /opt/gnu/bin/install -c -m 644 .libs/libintl.sl.8.2
> /opt/gnu/lib/libintl.sl.8.2
> libtool: install: (cd /opt/gnu/lib && { ln -s -f libintl.sl.8.2 libintl.sl.8
> || { rm -f libintl.sl.8 && ln -s libintl.sl.8.2 libintl.sl.8; }; })
> /usr/lib/dld.sl: Call to mmap() failed - TEXT /opt/gnu/lib/libintl.sl.8
> /usr/lib/dld.sl: Permission denied
> ../libtool[2]: 21152 Abort
Or is it that postinstall_cmds come too late, because the tools run by
the libtool script itself need this library already?
> I have specified "-m 644" to 'install' because that is the normal way to
> install data files like *.la files.
Yes that should be fine.
Thanks,
Ralf