bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: (Help Me!) Errors while Compiling NX Src on FREEBSD machine (5.


From: Ralf Wildenhues
Subject: Re: Fwd: (Help Me!) Errors while Compiling NX Src on FREEBSD machine (5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0:)
Date: Wed, 2 Mar 2005 17:07:49 +0100
User-agent: Mutt/1.4.1i

* address@hidden wrote on Wed, Mar 02, 2005 at 04:13:28PM CET:
> shadow# locate libc.so
> /lib/libc.so.5
> /usr/lib/libc.so
> 
> ok lets try that command without the '*' at the end:
> 
> shadow# /usr/bin/file /usr/lib/libc.so
> /usr/lib/libc.so: symbolic link to `/lib/libc.so.5'

OK, this one solved.

> shadow# /usr/bin/file /lib/libc.so.5
> /lib/libc.so.5: ELF 32-bit LSB shared object, Intel 80386, version 1 
> (FreeBSD), stripped

But this I don't understand.  If the system is ELF, the libc problem
should not be exposed at all.  Has to do with this:

> shadow# echo __ELF__ |  gcc  -E  -  |  grep  __ELF__  > /dev/null
> shadow#
> 
> (I get nothing back????)

Oh, sorry, my bad.  Try
$ echo __ELF__ | gcc -E - | grep __ELF__ >/dev/null; echo $?

This should give nonzero ($? is the exit status of the last command in
the pipe).

Now, if it does not, please also give the output of
$ echo __ELF__ | gcc -E -

Thank you,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]