Bug 32133 - configure tags missing from libtiff/Makefile.in
configure tags missing from libtiff/Makefile.in
Product: Red Hat Linux
Classification: Retired
Component: libtiff (Show other bugs)
i586 Linux
medium Severity medium
: ---
: ---
Assigned To: Phil Knirsch
Depends On:
  Show dependency treegraph
Reported: 2001-03-18 13:13 EST by Need Real Name
Modified: 2015-03-04 20:09 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-03-19 12:11:53 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2001-03-18 13:13:49 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.72 [en] (X11; U; Linux 2.2.14-5.0 i586; Nav)

Line 155 of libtiff/Makefile.in doesn't have configure tags, so gcc isn't
told of the library locations when building the shared object.  No
environment options either...

Reproducible: Always
Steps to Reproduce:
1. Install RPM, untar source, apply all v3.5* patches (shlib before
2. FWIW I edited config.site to specify the DIR_JPEGLIB and DIR_GZLIB
3. Enter make...

Actual Results:  make compiles most of the way, then aborts when trying to
build libtiff.so.3.5.

Expected Results:  make completes successfully.

The failing command:
gcc -o libtiff.so.3.5 -Wl,-soname,libtiff.so.3 -shared tif_aux.so
tif_close.so tif_codec.so tif_compress.so tif_dir.so tif_dirinfo.so
tif_dirread.so tif_dirwrite.so tif_dumpmode.so tif_error.so tif_fax3.so
tif_fax3sm.so tif_getimage.so tif_jpeg.so tif_flush.so tif_luv.so
tif_lzw.so tif_next.so tif_open.so tif_packbits.so tif_pixarlog.so
tif_predict.so tif_print.so tif_read.so tif_swab.so tif_strip.so
tif_thunder.so tif_tile.so tif_unix.so tif_version.so tif_warning.so
tif_write.so tif_zip.so  -ljpeg -lz
/usr/bin/ld: cannot find -ljpeg
collect2: ld returned 1 exit status
make[1]: *** [libtiff.so.3.5] Error 1
make[1]: Leaving directory `/usr/src/tiff-v3.5.4/libtiff'
make: *** [all] Error 2

The line is modified by libtiff-v3.5.4-codecs.patch.  Replacing '-ljpeg
-lz' with '@LIBJPEG@ @LIBGZ@'  cures it, but what about the choice of

Comment 1 Phil Knirsch 2001-08-23 06:30:22 EDT
In works fine with the 3.5.5 version available in newer RPMS.

Remember that you need to rebuild a rpm by doing a

rpm --rebuild libtiff-3.5.5-12.src.rpm

Doing things by hand might require additional steps which are usually described
in the INSTALL file of the appropriate package.

Read ya, Phil

Note You need to log in before you can comment on or make changes to this bug.