[poppler] Problem linking with libjpeg
Albert Astals Cid
tsdgeos at yahoo.es
Sat Apr 2 15:24:39 PST 2005
I get this
make[2]: Entering directory `/home/tsdgeos/cvs/poppler/glib'
/bin/sh ../libtool --mode=link gcc -g -O2 -o test-poppler-glib
test-poppler-glib.o ../poppler/libpoppler.la libpoppler-glib.la
-Wl,--export-dynamic -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0 -lfontconfig -lfreetype -lz
gcc -g -O2 -o .libs/test-poppler-glib test-poppler-glib.o
-Wl,--export-dynamic ../poppler/.libs/libpoppler.so /usr/lib/libjpeg.so ./.libs/libpoppler-glib.so /usr/lib/libgdk_pixbuf-2.0.so
-lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so
-ldl /usr/lib/libglib-2.0.so /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so
-lz -Wl,--rpath -Wl,/usr/local/lib
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_read_scanlines(jpeg_decompress_struct*, unsigned char**, unsigned int)'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_std_error(jpeg_error_mgr*)'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_read_header(jpeg_decompress_struct*, int)'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_start_decompress(jpeg_decompress_struct*)'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_CreateDecompress(jpeg_decompress_struct*, int, unsigned int)'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_resync_to_restart(jpeg_decompress_struct*, int)'
../poppler/.libs/libpoppler.so: undefined reference to
`jpeg_destroy_decompress(jpeg_decompress_struct*)'
collect2: ld returned 1 exit status
make[2]: *** [test-poppler-glib] Error 1
make[2]: Leaving directory `/home/tsdgeos/cvs/poppler/glib'
I get similar undefined symbols when building gtk-splash-test
Doing
$ nm -u poppler/.libs/libpoppler.so | grep dest
i get
U pthread_mutex_destroy@@GLIBC_2.0
U _Z23jpeg_destroy_decompressP22jpeg_decompress_struct
That seems like a strange symbol name
Any one can help?
Albert
More information about the poppler
mailing list