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

Re: ldd, dpkg-shlibdeps and libsocks.so



On Sun, Apr 01, 2001 at 11:46:15PM +0200, Tollef Fog Heen wrote:
> 
> I am the maintainer of suck, which links against libsocks.  However,
> it seems like there is something strange going on when it comes to
> linking:
> 
> $ldd `which suck`
>         libsocks.so => /usr/lib/libsocks.so (0x4001f000)
>         libnsl.so.1 => /lib/libnsl.so.1 (0x4002d000)
>         libc.so.6 => /lib/libc.so.6 (0x40043000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> $
> 
> Here, suck is linked against libsocks.so, without a version number.
> This makes dpkg-shlibdeps complain about 'format of libsocks.so not
> recognized'.  (Which really is 'format of file name "libsocks.so" not
> recognized').  Why does this happen, and is this a bug in suck,
> dpkg-shlibdeps or libsocks4?

It is a bug in libsocks4, which should compile the library with -soname
libsocks.so.4. I'm willing to bet that libsocks.so is created by
ldconfig when libsocks4 is installed, else it wouldn't even work without
the -dev package installed.

Ben

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: