Hi,
Andrey Brindeev reported rrdtool problems with my x86_64 packages. The
behaviour was that when using rrdtool, libpng symbols were inside the
librrd library, but no reference to the libpng shared library was present.
# ldd /usr/lib64/librrd.so.0
libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a956e2000)
/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2
(0x000000552aaaa000)
The buildlog also had comments like:
*** Warning: linker path does not have real file for library -lpng.
*** I have the capability to make that library automatically link in
when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libpng but no candidates were found. (...for file magic test)
After looking into it, I noticed this difference between i386 and x86_64:
-checking how to recognise dependent libraries... pass_all
+checking how to recognise dependent libraries... file_magic ELF
[0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )
If I then patched configure to use 'pass_all', all was fine.
The following patch fixed it for me in configure, but I wonder if this is
related to an older or incorrect autoconf ?
--- configure.orig 2005-11-27 18:00:00.117013352 +0100
+++ configure 2005-11-27 18:00:33.385955704 +0100
@@ -3592,7 +3592,7 @@
# This must be Linux ELF.
linux*)
case $host_cpu in
- alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* |
sparc* | s390* | sh*)
+ alpha* | hppa* | i*86 | x86_64 | ia64* | m68* | mips | mipsel |
powerpc* | sparc* | s390* | sh*)
lt_cv_deplibs_check_method=pass_all ;;
*)
# glibc up to 2.1.1 does not perform some relocations on ARM
Hopes this helpes other people and we can find a proper solution for the
next release.
Thanks and kind regards,
-- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ --
[all I want is a warm bed and a kind word and unlimited power]
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi