Static linkage on Solaris 7 with GCC...
Shaw Terwilliger (sterwill@postman.abisource.com)
Tue, 11 May 1999 14:00:05 -0500
I'm hoping someone subscribed to this list knows more about
libdl and GCC on Solaris 7 than I do. In linking the static
target executable, I'm getting a whole bunch of errors where
other static libraries (which AbiWord depends on, like the
C library, and its friends) can't resolve dlopen, etc.
These are things found in libdl, which is nice and happy
in /lib.
The dynamic link works fine (I'm using -ldl to find all the
libdl stuff), but the static link (with flag -static) seems
to want the dl stuff also... but if I link with both -static
and -ldl the compiler complains that it can't find libdl
since I shouldn't be using it for static linkage
anyway.
Which combination of flags should I be using here?
--
Shaw Terwilliger
This archive was generated by hypermail 1.03b2.