On Tue, Feb 03, 2004 at 05:02:22PM -0800, Neale Pickett wrote: > Package: libc6-dev > Version: 2.3.2.ds1-11 > Severity: important > > I apologize in advance if I am filing this bug against the wrong > package. I'm not sure what this should be filed against. > > I have an unstable system; I just did "apt-get update" and updated a few > libraries that look unrelated, although this has been happening for a > few weeks. I am using the following in /etc/apt/sources.list, so I > think I am current with everything: > > deb http://ftp.us.debian.org/debian unstable main non-free > > > The problem: > > I am trying to compile the following program: > > ---8<--- cftest.c ---8<--- > #include <dlfcn.h> > > int main () > { > dlopen ("", 0); > return 0; > } > ---8<--- cftest.c ---8<--- > > I get the following failure notices with three different versions of > gcc, but the program builds successfully with a stable system: > > ~/tmp $ gcc-2.95 -o cftest cftest.c -ldl > /fs/mama/usr/bin/../lib/libdl.so: undefined reference to [EMAIL PROTECTED]'
This is starting to drive me crazy. You have somehow developed a copy of libdl.so in /usr/lib. It's not the right copy; it looks to be from stable instead of unstable. The right copy is in /lib. This has been happening to lots of people over the last six months and I have no )(!*&@ idea why! Try removing old libraries in /usr/lib, that are not owned by any package, and have newer versions in /lib. Carefully ;) -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]