/usr/bin/ld unable to find potato libdl.so
Using the foo.c as quoted in the dlopen manpage, and
the call:
gcc -rdynamic -o foo foo.c -ldl
I get
/usr/bin/ld: cannot open -ldl: No such file or directory
collect2: ld returned 1 exit status
after installing the most recent potato packages on top of
slink. I got no error messages during install, the
libdl.so.2 => libdl-2.1.2.so
is present, has proper permissions, and is found by
ldconfig, but
/usr/bin/ld -v
GNU ld version 2.9.1 (with BFD 2.9.1.0.25)
is claims to be unable to locate it. This is specific to libdl,
e.g. -lm has no problems (except for unresolved references).
b.
Package: ldso
Essential: yes
Status: install ok installed
Priority: required
Section: base
Installed-Size: 265
Maintainer: David Engel <david@debian.org>
Source: ld.so
Version: 1.9.11-2
Package: libc6
Status: install ok installed
Priority: required
Section: base
Installed-Size: 4493
Maintainer: Joel Klecker <debian-glibc@lists.debian.org>
Source: glibc
Version: 2.1.2-0pre7
Reply to: