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

Re: Forcing links in shared libraries



On Wed, Mar 22, 2000 at 08:53:05PM -0600, Zed Pobre wrote:
> However, running ldd on the resulting librpgbase.so.0.0.1 says:
> 
>  libstdc++-libc6.1-2.so.3 => /usr/lib/libstdc++-libc6.1-2.so.3 (0x4005a000)
>  libm.so.6 => /lib/libm.so.6 (0x400a7000)
>  libc.so.6 => /lib/libc.so.6 (0x400c4000)
>  /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> 
> 
> Note the absence of a link to libpq++, which this particular library
> needs.  This absence is bad because if you link to this library you'll
> have to manually insert a -lpq++ in your own code as well.  I know
> I've seen a discussion on this before, but a Glimpse search didn't
> find anything useful.  What have I missed?

libfltk1 had this problem (with libGL) until the latest version.  I
suggest you look there to see how they handled it.

HTH,
-Ben


-- 
Ben Darnell              bgdarnel@unity.ncsu.edu
http://thoughtstream.org
Finger bgdarnel@debian.org for PGP/GPG key 1024D/1F06E509


Reply to: