compile my software, appeare "undefined reference to `jpeg"
Posted: 2011-01-18T20:17:10-07:00
/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..?
/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..?