[Xastir-Dev] configure confuses missing -lbz2 w/-lMagick
Gerry Creager N5JXS
gerry.creager at tamu.edu
Thu May 15 22:46:08 EDT 2003
Good catch. I remember, now, thinking I needed to report that. I never
did.
Darn.
Gerry
Alan Crosswell wrote:
> I set up a totally clean RH 9 machine and have been building xastir and
> all the prereq packages
> as RPMs (for those not already supplied with RH 9). I found that the
> configure test confuses
> a missing -lbz2 for a missing -lMagick. You need to add a test for
> -lbz2 before trying to use it:
>
> configure:12401: checking for WriteImage in -lMagick
> configure:12432: gcc -o conftest -g -O2 -pipe -pthread
> -I/usr/local/include -I/usr/X11R6/include -I/usr/include -D_REENTRANT
> -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -I/usr/X11R6/include/X11
> -I/usr/include/freetype2 -I/usr/include/libxml2 -L/usr/local/lib
> -L/usr/X11R6/lib -L/usr/lib -L/usr/X11R6/lib -L/usr/lib -L/usr/lib
> conftest.c -lMagick -lMagick -ltiff -lfreetype -ljpeg -lpng -ldpstk
> -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lXpm
> -lrt -lcurl -lXm -lXt -lXp -lXext -lm -lSM -lICE -lX11 -lshp >&5
> /usr/bin/ld: cannot find -lbz2
> collect2: ld returned 1 exit status
>
> _______________________________________________
> Xastir-dev mailing list
> Xastir-dev at xastir.org
> https://krypton.hscs.virginia.edu/mailman/listinfo/xastir-dev
--
Gerry Creager -- gerry.creager at tamu.edu
Network Engineering -- AATLT, Texas A&M University
Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578
Page: 979.228.0173
Office: 903A Eller Bldg, TAMU, College Station, TX 77843
More information about the Xastir-dev
mailing list