:> /usr/libexec/ld.so: warning: /usr/lib/libc.so.3: minor version -1 older
:> than expected 0, using it anyway
:> ld.so failed: bad magic number in "/usr/lib/libc.so.3"
:> 
:> This is netscape4.5 on CURRENT tracked since October 1998.
:> 
:> /var/run/ld.so.hints:
:>         search directories: /usr/lib/aout:/usr/lib/compat/aout:
:>      /usr/X11R6/lib/aout:/usr/local/lib/aout
:> 
:> [ it has about 66 libs in this hints file ]
:
:Run ldd on the netscape binary and figure out why it's finding the
:wrong libc.  Make sure you don't have LD_LIBRARY_PATH set to include
:"/usr/lib".
:
:John

    This happened to me.  The problem is usually that the library it
    is looking for is simply missing from /usr/lib/aout or 
    /usr/X11R6/lib/aout.  Another possibility is that there may be
    old softlinks laying around /usr/lib or /usr/X11R6/lib for that
    library which are pointing to nowhere.

apollo:/usr/lib/aout# mv libc.so.3.1 xxx
apollo:/home/dillon> netscape
/usr/libexec/ld.so: warning: /usr/lib/libc.so.3: minor version -1 older than expected 
0, using it anyway
ld.so failed: bad magic number in "/usr/lib/libc.so.3"
                (fails to run)
apollo:/home/dillon> 
apollo:/usr/lib/aout# mv xxx libc.so.3.1
apollo:/home/dillon> netscape
                ... runs fine ...

    See if you can find where those aout/ compatibility libraries are.  
    Either you have them properly installed and the ldconfig_paths in
    /etc/rc.conf (defaults in /etc/defaults/rc.conf) are wrong, or
    you do not have them installed.

                                        -Matt
                                        Matthew Dillon 
                                        <[EMAIL PROTECTED]>



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to