> What is wrong with imlib these days?
Something went wrong with the update I did yesterday. The update was to
remove an obselete line in the spec file, which caused it not to rebuild
(normally quite harmless).
> error while loading shared libraries: /usr/lib/libgdk_imlib.so.1:
> undefined symbol: png_create_read_struct
>
> sebastid@s186b:~$ nm -D /usr/lib/libgdk_imlib.so.1|grep png_create_read_struct
> U png_create_read_struct
It seems that these files are missing in the package...
/usr/lib/libimlib-bmp.a
/usr/lib/libimlib-gif.a
/usr/lib/libimlib-jpeg.a
/usr/lib/libimlib-png.a
/usr/lib/libimlib-ppm.a
/usr/lib/libimlib-ps.a
/usr/lib/libimlib-tiff.a
/usr/lib/libimlib-xpm.a
From the buildoutput at
http://d10179.upc-d.chello.nl/build/cooker/i586/OK/imlib-1.9.10-6mdk.src.rpm.txt
I see the following libtool errors, in the area where those files are
supposed to be built:
/bin/sh ../libtool --mode=link gcc -DENABLE_NLS -pipe -O3
-fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math
-fno-strength-reduce -o libgdk_imlib.la -rpath /usr/lib -version-info
10:10:9 cache.lo colors.lo globals.lo load.lo misc.lo rend.lo utils.lo
save.lo modules.lo
rm -fr .libs/libgdk_imlib.la .libs/libgdk_imlib.* .libs/libgdk_imlib.*
../libtool: test: =: unary operator expected
../libtool: test: =: unary operator expected
gcc -shared cache.lo colors.lo globals.lo load.lo misc.lo rend.lo
utils.lo save.lo modules.lo -Wl,-soname -Wl,libgdk_imlib.so.1 -o
.libs/libgdk_imlib.so.1.9.10
(cd .libs && rm -f libgdk_imlib.so.1 && ln -s libgdk_imlib.so.1.9.10
libgdk_imlib.so.1)
(cd .libs && rm -f libgdk_imlib.so && ln -s libgdk_imlib.so.1.9.10
libgdk_imlib.so)
ar cru .libs/libgdk_imlib.a cache.o colors.o globals.o load.o misc.o
rend.o utils.o save.o modules.o
Hmmm... I tried to fix it, adding a
cd %{name}-%{version} && libtoolize --copy --force && cd ..
But it aint' working for me... Geoff?
Stefan