Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 1998 21:23:11 -0700
From:      Manfred Antar <mantar@netcom.com>
To:        John Birrell  <jb@cimlogic.com.au>
Cc:        current@FreeBSD.ORG
Subject:   Re: New problem with ELF
Message-ID:  <199809010423.VAA00289@pozo.pozo.com>
In-Reply-To: <199809010419.OAA23592@cimlogic.com.au>
References:  <199809010343.UAA07035@pozo.pozo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 02:19 PM 9/1/98 +1000, John Birrell wrote:
>Manfred Antar wrote:
>> The update to elf worked fine.
>> When I do  a make buildworld it builds fine elf and legacy aout
>> When i do make installworld after everything in the elf tree installs
>> when i get to this point it dies :
>> --------------------------------------------------------------
>>  Re-scanning the shared libraries..
>> --------------------------------------------------------------
>> cd /usr/src; /sbin/ldconfig -R
>> 
>> --------------------------------------------------------------
>>  Rebuilding man page indexes
>> --------------------------------------------------------------
>> cd /usr/src/share/man; /usr/obj/elf/usr/src/tmp/usr/bin/make makedb
>> makewhatis /usr/share/man
>> /usr/libexec/ld.so: warning: /usr/obj/elf/usr/src/tmp/usr/lib/libm.so.2:
>> minor version -1 older than expected 0, using it anyway
>> ld.so failed: bad magic number in 
>"/usr/obj/elf/usr/src/tmp/usr/lib/libm.so.2"
>
>Does your /etc/rc still have /usr/lib in _LDC?
>I have an ELF `make world' running, so I'll wait and see if this happens
>to me.

Heres whats in rc

# Make shared lib searching a little faster.  Leave /usr/lib first if you
# add your own entries or you may come to grief.
if [ -x /sbin/ldconfig ]; then
        _LDC=/usr/lib/aout
        for i in $ldconfig_paths; do
                if test -d $i; then
                        _LDC="${_LDC} $i"
                fi
        done
        echo 'setting ldconfig path:' ${_LDC}
        ldconfig ${_LDC}
fi

rc.conf has the following :
ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib" # shared
library search paths

Should I change /usr/lib/aout to /usr/lib ?

By the way thanks for the GREAT work
Manfred
==============================
||    mantar@netcom.com     ||
||    pozo@infinex.com      ||
||    Ph. (415) 681-6235    ||
==============================


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809010423.VAA00289>