[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Solaris 9 + gcc
From: |
Mark Andrews |
Subject: |
Solaris 9 + gcc |
Date: |
Wed, 08 Dec 2004 15:58:45 +1100 |
If a shared library requires libgcc the library path is not
recorded in the .la file. This causes executables linked
against the library to fail.
Mark
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj
--enable-languages=c,c++ : (reconfigured) ../configure
--with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
--disable-libgcj --enable-languages=c,c++
Thread model: posix
gcc version 3.3.2
named1 just arranges for ldd to be called with the appropriate
LD_LIBRARY_PATH.
sol.lab.isc.org:named 04:50 {15} % grep ldd named1
exec ldd $progdir/$program ${1+"$@"}
sol.lab.isc.org:named 04:50 {16} %
sol.lab.isc.org:named 03:20 {18} % ./named1
liblwres.so.1 =>
/udir/marka/cvs/9.3.x/bin/named/../../lib/lwres/.libs/liblwres.so.1
libdns.so.20 =>
/udir/marka/cvs/9.3.x/bin/named/../../lib/dns/.libs/libdns.so.20
libbind9.so.0 =>
/udir/marka/cvs/9.3.x/bin/named/../../lib/bind9/.libs/libbind9.so.0
libisccfg.so.1 =>
/udir/marka/cvs/9.3.x/bin/named/../../lib/isccfg/.libs/libisccfg.so.1
libcrypto.so.0.9.7 => /usr/local/ssl/lib/libcrypto.so.0.9.7
libisccc.so.0 =>
/udir/marka/cvs/9.3.x/lib/isccc/.libs/libisccc.so.0
libisc.so.9 => /udir/marka/cvs/9.3.x/lib/isc/.libs/libisc.so.9
libnsl.so.1 => /usr/lib/libnsl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libpthread.so.1 => /usr/lib/libpthread.so.1
libthread.so.1 => /usr/lib/libthread.so.1
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => (file not found)
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1
sol.lab.isc.org:named 03:22 {22} % ldd
/udir/marka/cvs/9.3.x/bin/named/../../lib/lwres/.libs/liblwres.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libpthread.so.1 => /usr/lib/libpthread.so.1
libthread.so.1 => /usr/lib/libthread.so.1
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => (file not found)
libdl.so.1 => /usr/lib/libdl.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1
sol.lab.isc.org:named 03:22 {23} %
# liblwres.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5.10 (1.1220.2.131 2004/09/19 12:46:56)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.
# The name that we can dlopen(3).
dlname='liblwres.so.1'
# Names of this library.
library_names='liblwres.so.1.2.1 liblwres.so.1 liblwres.so'
# The name of the static archive.
old_library='liblwres.a'
# Libraries that this one depends upon.
dependency_libs=' -lnsl -lsocket -lpthread -lthread'
# Version information for liblwres.
current=3
age=2
revision=1
# Is this an already installed library?
installed=no
# Should we warn about portability when linking against -modules?
shouldnotlink=no
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='/usr/local/lib'
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: address@hidden
- Solaris 9 + gcc,
Mark Andrews <=