[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ltconfig
From: |
Daniel R. Grayson |
Subject: |
ltconfig |
Date: |
Sun, 14 Jul 2002 08:34:28 -0500 (CDT) |
Ltconfig produces this message on my i686-pc-linux-gnu system.
*** 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
It was using these values:
file_magic_test_file = "/lib/libc.so /lib/libc.so.6 /lib/libc-2.2.5.so"
file_magic_regex = "ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )"
On our system (a new Linux distribution under development) everything in /usr
is a symbolic link (this is so packages can be maintained more easily).
rhenium# file /lib/libc.so /lib/libc.so.6 /lib/libc-2.2.5.so
/lib/libc.so: symbolic link to ../../opt/glibc-2.2.5/lib/libc.so
/lib/libc.so.6: symbolic link to ../../opt/glibc-2.2.5/lib/libc.so.6
/lib/libc-2.2.5.so: symbolic link to ../../opt/glibc-2.2.5/lib/libc-2.2.5.so
The -L option to "file" would eliminate that message.
-L option causes symlinks to be followed, as the
like-named option in ls(1). (on systems that sup-
port symbolic links).
rhenium# file -L /lib/libc.so /lib/libc.so.6 /lib/libc-2.2.5.so
/lib/libc.so: ASCII C program text
/lib/libc.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1
(SYSV), not stripped
/lib/libc-2.2.5.so: ELF 32-bit LSB shared object, Intel 80386, version 1
(SYSV), not stripped
Thus I recommend this patch:
Only in libIDL-0.6.8: .source-untarred
diff -ur tmp/libIDL-0.6.8/ltconfig libIDL-0.6.8/ltconfig
--- tmp/libIDL-0.6.8/ltconfig 1999-10-17 13:03:32.000000000 -0500
+++ libIDL-0.6.8/ltconfig 2002-07-14 08:24:20.000000000 -0500
@@ -1878,7 +1878,7 @@
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no
deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared
object|dynamic lib )'
- file_magic_cmd=/usr/bin/file
+ file_magic_cmd="/usr/bin/file -L"
file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
if test -f /lib/ld.so.1; then
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- ltconfig,
Daniel R. Grayson <=