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: jd . bronson
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 09:13:28 -0600

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'

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


> shadow# echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null
> CC: Undefined variable.
> [1] 6739

> Please replace $CC with the compiler you use and retry.

shadow# echo __ELF__ |  gcc  -E  -  |  grep  __ELF__  > /dev/null
shadow#

(I get nothing back????)



Should you have any other question or concern,  please don't hesitate to 
contact me. 
-- 
J.D. Bronson
Information Services - Telecom
Aurora West Allis Memorial Hospital
Office: 414.978.8282 Fax: 414.328.8787



Ralf Wildenhues <address@hidden> 
03/02/2005 09:02 AM

To
address@hidden
cc
address@hidden
Subject
Re: Fwd: (Help Me!) Errors while Compiling NX Src on FREEBSD    machine 
(5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0:)






[ Cc:ing this to the list so others can see it as well ]

* address@hidden wrote on Wed, Mar 02, 2005 at 04:00:15PM CET:
> This is still duplicatable on FreeBSD 5.4-PRERELEASE

Good.

> Trying to run configure on cyrus SASL:
> ...
> ....
> checking if libtool supports shared libraries... yes
> 
> *** Warning: the command libtool uses to detect shared libraries,
> *** /usr/bin/file, produces output that libtool cannot recognize.
> *** The result is that libtool may fail to recognize shared libraries
> *** as such.  This will affect the creation of libtool libraries that
> *** depend on shared libraries, but programs linked with such libtool
> *** libraries will work regardless of this problem.  Nevertheless, you
> *** may want to report the problem to your system manager and/or to
> *** address@hidden
> 
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> checking for objdir... .libs
> 
> shadow# uname -r
> 5.4-PRERELEASE
> 
> shadow# /usr/bin/file `echo /usr/lib/libc.so.*`
> echo: No match.

Bingo!  Where is libc located at?
What does
  /usr/bin/file /path/to/libc.so.*
give, if you put in the correct path?

> shadow# grep deplibs_check_method= libtool
> deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB shared 
object"
> 
> shadow# echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null
> CC: Undefined variable.
> [1] 6739

Please replace $CC with the compiler you use and retry.

> shadow# ./libtool --version
> ltmain.sh (GNU libtool) 1.3.5 (1.385.2.206 2000/05/27 11:12:27)
>
> Should you have any other question or concern,  please don't hesitate to 

> contact me. 

It'd be even greater if you could retry with a recent Libtool.
But that can wait until after we fix the libc location.

Thank you for your fast response,
Ralf






reply via email to

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