Opened 10 years ago
Closed 9 years ago
#71 closed defect (fixed)
Fail to configure
Reported by: | markusD | Owned by: | warmerdam |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | libgeotiff | Version: | 1.3.0 |
Keywords: | Cc: |
Description
libgeotiff-1.4.1 fails to configure properly. When looking for TIFFOpen in -ltiff, it fails. Not because of TIFFOpen, but because the test did not supply the path to the jpeg library.
./configure --prefix=<INSTALL_DIR> --enable-static --with-zlib=${ZLIB_INSTALL_DIR} --with-libtiff=${LIBTIFF_INSTALL_DIR} --with-jpeg=${LIBJPEG_INSTALL_DIR} --with-proj=no
checking for TIFFOpen in -ltiff... no configure: error: failed to link with -ltiff to find TIFFOpen
configure:15812: gcc -o conftest -g -O2 -O3 -DNDEBUG conftest.c -ljpeg -L/path/to/libjpeg-9a/lib -lm -lz -lm >&5 configure:15812: $? = 0 configure:15829: result: -ljpeg configure:15846: result: using jpeg from /path/to/libjpeg-9a/include configure:15885: checking for TIFFOpen in -ltiff configure:15910: gcc -o conftest -g -O2 -O3 -DNDEBUG conftest.c -ltiff -lm -L/path/to/libtiff-4.0.3/lib -ltiff -ljpeg -lz -lm >&5 /usr/bin/ld: cannot find -ljpeg collect2: error: ld returned 1 exit status
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I've got the same problem on Fedora 20