[collectd] Build collectd-5.0.2 on aix 5.3 => sed: Cannot find or open file /opt/freeware/lib/libpng12.la
phoebus phoebus
frphoebus at yahoo.fr
Tue Feb 21 10:28:44 CET 2012
Hi,
I have the "make" output below:
libtool: link: /usr/bin/gcc -o .libs/rrdcached.so
.libs/rrdcached_la-rrdcached.o .libs/rrdcached_la-utils_rrdcreate.o
-Wl,-blibpath:/opt/freeware/lib:/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.6.2:/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.6.2/../../..:/usr/lib:/lib -L/opt/freeware/lib -lrrd_th -lm -lc -Wl,-bnoentry -Wl,-brtl
-pthread `if test "x-berok" != "x"; then print -r "X-Wl,-berok" |
/usr/bin/sed -e 1s/^X//; else :; fi` -Wl,-bexport:.libs/rrdcached.exp
-shared -Wl,-G
libtool: link: ar cru .libs/rrdcached.a rrdcached_la-rrdcached.o rrdcached_la-utils_rrdcreate.o
libtool: link: ranlib .libs/rrdcached.a
sed: Cannot find or open file /opt/freeware/lib/libpng12.la.
libtool: link: `/opt/freeware/lib/libpng12.la' is not a valid libtool archive
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
I have libpng-1.5.8-1 and libpng-devel-1.5.8-1 installed.
So to progress i did a symbolic link (workaround).
XTO1: ln -s /opt/freeware/lib/libpng15.la /opt/freeware/lib/libpng12.la
Do you know if possible to do differently?
Does that have an impact on deployment of collectd binary to other boxes?
XTO1: rpm -qa | grep -i png
libpng-1.5.8-1
libpng-devel-1.5.8-1
XTO1: rpm -qlv libpng-1.5.8-1
drwxr-xr-x root system 512 Feb 4 12:32 /opt/freeware/doc/libpng-1.5.8
-rw-r--r-- root system 186654 Feb 1 06:00 /opt/freeware/doc/libpng-1.5.8/CHANGES
-rw-r--r-- root system 11831 Feb 1 06:00 /opt/freeware/doc/libpng-1.5.8/CMakeLists.txt
-rw-r--r-- root system 4200 Feb 1 06:00 /opt/freeware/doc/libpng-1.5.8/LICENSE
-rw-r--r-- root system 10415 Feb 1 06:00 /opt/freeware/doc/libpng-1.5.8/README
-rw-r--r-- root system 1120 Aug 27 2010 /opt/freeware/doc/libpng-1.5.8/TODO
-rw-r--r-- root system 31311 Feb 1 06:00 /opt/freeware/doc/libpng-1.5.8/example.c
-rw-r--r-- root system 193674 Feb 1 06:00 /opt/freeware/doc/libpng-1.5.8/libpng-manual.txt
lrwxrwxrwx root system 10 Feb 4 12:32 /opt/freeware/lib/libpng.a -> libpng15.a
-rw-r--r-- root system 530258 Feb 4 12:32 /opt/freeware/lib/libpng12.a
lrwxrwxrwx root system 8 Feb 4 12:32 /opt/freeware/lib/libpng14.a -> libpng.a
-rw-r--r-- root system 1629778 Feb 4 12:32 /opt/freeware/lib/libpng15.a
-rw-r--r-- root system 2412 Feb 4 12:32 /opt/freeware/man/man5/png.5
lrwxrwxrwx root system 31 Feb 4 12:32 /usr/lib/libpng.a -> ../../opt/freeware/lib/libpng.a
lrwxrwxrwx root system 33 Feb 4 12:32 /usr/lib/libpng12.a -> ../../opt/freeware/lib/libpng12.a
lrwxrwxrwx root system 33 Feb 4 12:32 /usr/lib/libpng14.a -> ../../opt/freeware/lib/libpng14.a
lrwxrwxrwx root system 33 Feb 4 12:32 /usr/lib/libpng15.a -> ../../opt/freeware/lib/libpng15.a
XTO1: rpm -qlv libpng-devel-1.5.8-1
lrwxrwxrwx root system 15 Feb 4 12:32 /opt/freeware/bin/libpng-config -> libpng15-config
-rwxr-xr-x root system 2325 Feb 4 12:32 /opt/freeware/bin/libpng15-config
drwxr-xr-x root system 512 Feb 4 12:32 /opt/freeware/include/libpng15
-rw-r--r-- root system 115011 Feb 4 12:32 /opt/freeware/include/libpng15/png.h
-rw-r--r-- root system 21353 Feb 4 12:32 /opt/freeware/include/libpng15/pngconf.h
-rw-r--r-- root system 6037 Feb 4 12:32 /opt/freeware/include/libpng15/pnglibconf.h
lrwxrwxrwx root system 14 Feb 4 12:32 /opt/freeware/include/png.h -> libpng15/png.h
lrwxrwxrwx root system 18 Feb 4 12:32 /opt/freeware/include/pngconf.h -> libpng15/pngconf.h
lrwxrwxrwx root system 21 Feb 4 12:32 /opt/freeware/include/pnglibconf.h -> libpng15/pnglibconf.h
lrwxrwxrwx root system 11 Feb 4 12:32 /opt/freeware/lib/libpng.la -> libpng15.la
-rwxr-xr-x root system 925 Feb 4 12:32 /opt/freeware/lib/libpng15.la
lrwxrwxrwx root system 11 Feb 4 12:32 /opt/freeware/lib/pkgconfig/libpng.pc -> libpng15.pc
-rw-r--r-- root system 248 Feb 4 12:32 /opt/freeware/lib/pkgconfig/libpng15.pc
-rw-r--r-- root system 240509 Feb 4 12:32 /opt/freeware/man/man3/libpng.3
-rw-r--r-- root system 801 Feb 4 12:32 /opt/freeware/man/man3/libpngpf.3
lrwxrwxrwx root system 36 Feb 4 12:32 /usr/bin/libpng-config -> ../../opt/freeware/bin/libpng-config
lrwxrwxrwx root system 38 Feb 4 12:32 /usr/bin/libpng15-config -> ../../opt/freeware/bin/libpng15-config
lrwxrwxrwx root system 35 Feb 4 12:32 /usr/include/libpng15 -> ../../opt/freeware/include/libpng15
lrwxrwxrwx root system 32 Feb 4 12:32 /usr/include/png.h -> ../../opt/freeware/include/png.h
lrwxrwxrwx root system 36 Feb 4 12:32 /usr/include/pngconf.h -> ../../opt/freeware/include/pngconf.h
lrwxrwxrwx root system 39 Feb 4 12:32 /usr/include/pnglibconf.h -> ../../opt/freeware/include/pnglibconf.h
lrwxrwxrwx root system 32 Feb 4 12:32 /usr/lib/libpng.la -> ../../opt/freeware/lib/libpng.la
lrwxrwxrwx root system 34 Feb 4 12:32 /usr/lib/libpng15.la -> ../../opt/freeware/lib/libpng15.la
XTO1:
Regards,
Phoebus
More information about the collectd
mailing list