
problem with ldconfig (and netscape)
I'm having a problem with netscape on freebsd 4.2:
/usr/libexec/ld.so: warning: /usr/lib/libm.so.2: minor version -1 older
than expected 0, using it anyway
ld.so failed: bad magic number in "/usr/lib/libm.so.2"
So, I tried reloading the aout compat libs:
# ldconfig -aout -v -R | grep libm\.so
Adding /usr/lib/compat/aout/libm.so.2.0
But, it doesn't seem to "stick":
# ldconfig -r | grep libm\.so
3:-lm.2 => /usr/lib/libm.so.2
So, it looks to me like ldconfig *IS* finding the right directory, but for
some reason the entry for "-lm.2" is switching back to elf libs.
I'd appreciate any help/hints.
BTW, one way to fix this is to set LD_LIBRARY_PATH to start with
"/usr/lib/compat/aout". But, it seems like the above with ldconfig
*should* work.
Craig.