Page 1 of 1

compile my software, appeare "undefined reference to `jpeg"

Posted: 2011-01-18T20:17:10-07:00
by kingliang123
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_simple_progression@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_finish_compress@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_write_scanlines@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_std_error@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_set_quality@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_finish_decompress@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_stdio_src@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_set_defaults@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_read_scanlines@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_CreateCompress@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_start_compress@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_CreateDecompress@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_start_decompress@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_destroy_decompress@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_write_marker@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_default_colorspace@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_resync_to_restart@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_destroy_compress@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_calc_output_dimensions@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_read_header@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_set_marker_processor@LIBJPEG_6.2'
/usr/local/lib/libMagickCore.so.4: undefined reference to `jpeg_stdio_dest@LIBJPEG_6.2'


already
" sudo apt-get install libpng12-0 libpng12-dev
sudo apt-get install libjpeg62 libjpeg62-dev ",
still has those problems...
what's wrong..?

Re: compile my software, appeare "undefined reference to `jp

Posted: 2011-01-24T01:40:17-07:00
by kingliang123
any body knows?
hlp...

Re: compile my software, appeare "undefined reference to `jp

Posted: 2011-02-12T00:08:42-07:00
by kingliang123
:lol:
finally,
i solve this problem,
the reason is , i install libjpeg62-dev wrong...
this my step, to solve problem:
1. apt-get remove libjpeg62-dev
2. apt-get remove libjpeg62
3. apt-get install libjpeg62-dev
4. then
reconfigure, make , make install IM...