WE HAVE A WINNER!!!!!!!!!!! SEE BELOW!!!!!!!!!!!!!!! On 14 Jun, Zack Weinberg wrote: > > /usr/lib/libm.so -> /usr/lib/libm.so.6 > /usr/lib/libm.so.6 -> /usr/lib/libm-2.0.7.so > /usr/lib/libm-2.0.7.so > /usr/lib/libm.a
/usr/lib/libm.so -> /lib/libm.so.6 /lib/libm.so.6 -> /lib/libm-2.0.7.so /lib/libm-2.0.7.so /usr/lib/libm.a > > The C library is a little weird, because the real thing lives in /lib > and libc.so is a file. That should be set up like this: > > /usr/lib/libc.so > /lib/libc.so.6 -> /lib/libc-2.0.7.so > /lib/libc-2.0.7.so > /usr/lib/libc.a > /usr/lib/libc.so /lib/libc.so.6 -> /lib/libc-2.0.7.so /lib/libc-2.0.7.so /usr/lib/libc.a > Alongside this will be the files for libc5, which will be like this: > > /lib/libc.so.5 -> /usr/lib/libc.so.5.4.44 > /usr/lib/libm.so.5 -> /usr/lib/libm.so.5.4.44 > /usr/lib/libc.so.5.4.44 > /usr/lib/libm.so.5.4.44 > /usr/lib/libc5-compat/libc.so -> /lib/libc.so.5 > /usr/lib/libc5-compat/libm.so -> /usr/lib/libm.so.5 > /usr/lib/libc5-compat/libc.a > /usr/lib/libc5-compat/libm.a > /lib/libc.so -> /lib/libc.so.5 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ MAY-DAY! MAY-DAY!!!!!!!!!!!!!!! /lib/libc.so.5 -> /lib/libc.so.5.4.36 /lib/libc.so.5.4.36 /lib/libm.so -> /lib/libm.so.5 /lib/libm.so.5 -> /lib/libm.so.5.0.9 /lib/libm.so.5.0.9 I have now removed /lib/libc.so link and 'gcc -o hello hello.c' worked!!!! Other compiles were still complaining about ld: warning: libc.so.5, needed by /lib/libncurses.so, may conflict with libc.so.6 I looked at /lib/libncurses.so links: /lib/libncurses.so -> /lib/libncurses.so.3 /lib/libncurses.so.3.0 /lib/libncurses.so.3.4 I removed /lib/libncurses.so and /lib/libncurses.so.3 and all seems to be well now. > > The key thing here is that the libfoo.so links need to point to the > libc6 libraries. Check that there is no /lib/libc.so link. In fact, > there should probably be no xyz.so files in /lib at all, except > /lib/ld.so. (xyz-2.0.7.so files are ok.) Check that /usr/lib/libm.so > points at /usr/lib/libm.so.6. I have: /lib/libm.so -> /lib/libm.so.5 ******* Is this trouble? /lib/libreadline.so -> /lib/libreadline.so.2 /lib/librl.so -> /lib/librl.so.2 With this all fixed I just did a kernel compile and it went without a hitch.(I did not change the /lib/libm.so link above). This all started when I upgraded from bo to hamm. Something must not have cleaned up its links when being upgraded. This machine has been upgraded in place since Debian 0.93 days but this is the first problem I have had like this. THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Brian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]