libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libtool on solaris and hard coding the rpath


From: Liam Hoekenga
Subject: libtool on solaris and hard coding the rpath
Date: Tue, 13 Mar 2001 23:59:28 -0500 (EST)

I'm having problems building numerous packages that were distributed with
libtool, in that I can't get libtool to honor any of the -R flags I've set
in LDFLAGS.

I've seen several messages on this in the archives, but I've not been able
to find a solution that works.

I'm using solaris 8, gcc 2.95.2, and trying both Sun's LD and GNU LD
2.9.1.  The version of libtool being used depends on the package, most of
them seem to be (ranging from 1.3.3 to 1.3.5) I've had this problem pretty
much with any package that tries to build a shared library using libtool.
ie...

        % ldd libphp4.so
        libpam.so.1 =>   /usr/lib/libpam.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libm.so.1 =>     /usr/lib/libm.so.1
        libclntsh.so.8.0 =>      (file not found)
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2

Is there any way to actually get libtool (on Solaris) to hardcode the
rpath into shared libraries (in addition to any program binaries it might
be used to generate)?

thx
Liam Hoekenga
UM Webmaster Team




reply via email to

[Prev in Thread] Current Thread [Next in Thread]