Date: Mon, 27 Jul 2009 20:19:57 +0100 From: Anton Shterenlikht <mexas@bristol.ac.uk> To: dinoex@freebsd.org, freebsd-questions@freebsd.org Subject: port graphics/gd build fails with XPM or FONTCONFIG or ICONV=on Message-ID: <20090727191957.GA79635@mech-cluster241.men.bris.ac.uk>
next in thread | raw e-mail | index | archive | help
On i386 and i64 with FBSD 7.2 and 8.0-beta1 port graphics/gd fails to build if any of the following options are set: XPM=on FONTCONFIG=on ICONV=on with /usr/bin/ld: warning: libjpeg.so.9, needed by /usr/local/lib/libgd.so, not found (try using -rpath or -rpath-link) /usr/local/lib/libgd.so: undefined reference to `jpeg_read_scanlines' /usr/local/lib/libgd.so: undefined reference to `jpeg_simple_progression' /usr/local/lib/libgd.so: undefined reference to `jpeg_set_defaults' /usr/local/lib/libgd.so: undefined reference to `jpeg_start_decompress' /usr/local/lib/libgd.so: undefined reference to `jpeg_destroy' /usr/local/lib/libgd.so: undefined reference to `jpeg_write_marker' /usr/local/lib/libgd.so: undefined reference to `jpeg_destroy_decompress' /usr/local/lib/libgd.so: undefined reference to `jpeg_std_error' /usr/local/lib/libgd.so: undefined reference to `jpeg_CreateDecompress' /usr/local/lib/libgd.so: undefined reference to `jpeg_read_header' /usr/local/lib/libgd.so: undefined reference to `jpeg_start_compress' /usr/local/lib/libgd.so: undefined reference to `jpeg_destroy_compress' /usr/local/lib/libgd.so: undefined reference to `jpeg_finish_decompress' /usr/local/lib/libgd.so: undefined reference to `jpeg_resync_to_restart' /usr/local/lib/libgd.so: undefined reference to `jpeg_CreateCompress' /usr/local/lib/libgd.so: undefined reference to `jpeg_finish_compress' /usr/local/lib/libgd.so: undefined reference to `jpeg_set_quality' /usr/local/lib/libgd.so: undefined reference to `jpeg_save_markers' /usr/local/lib/libgd.so: undefined reference to `jpeg_write_scanlines' *** Error code 1 Stop in /usr/ports/graphics/gd/work/gd-2.0.35. *** Error code 1 I linking should be done against libjpeg.so.10 If all these three options are off (default) then build goes fine. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090727191957.GA79635>