Opened 15 years ago

Closed 15 years ago

#21245 closed defect (invalid)

tiff: Zlib library not found at /opt/local/lib

Reported by: james.applemac@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: waqar@…
Port: tiff

Description (last modified by ryandesign (Ryan Carsten Schmidt))

OS: Mac OS X 10.6
xcode:3.2
MacPorts:1.8.0_1

Following are the error messages:
=====================

port -uR upgrade ImageMagick +rsvg +gs +wmf +q32 +lqr +mpeg +lcms +jpeg2 +jbig +hdri +graphviz +perl
Port command started with PID 25754
Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
--->  Computing dependencies for tiff
--->  Fetching tiff
--->  Verifying checksum(s) for tiff
--->  Extracting tiff
--->  Applying patches to tiff
--->  Configuring tiff
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_tiff/work/tiff-3.9.1" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-docdir=/opt/local/share/doc/tiff-3.9.1 --with-jpeg-include-dir=/opt/local/include --with-jpeg-lib-dir=/opt/local/lib --with-zlib-include-dir=/opt/local/include --with-zlib-lib-dir=/opt/local/lib --with-apple-opengl-framework " returned error 1
Command output: checking for int8... no
checking for int16... no
checking for int32... no
checking size of signed long... 8
checking size of unsigned long... 8
checking size of signed long long... 8
checking size of unsigned long long... 8
checking for signed 64-bit type... signed long
checking for unsigned 64-bit type... unsigned long
checking for floor... yes
checking for isascii... yes
checking for memmove... yes
checking for memset... yes
checking for mmap... yes
checking for pow... yes
checking for setmode... yes
checking for sqrt... yes
checking for strchr... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for getopt... yes
checking for strcasecmp... yes
checking for strtoul... yes
checking for lfind... yes
checking native cpu bit order... lsb2msb
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for inflateEnd in -lz... no
configure: error: Zlib library not found at /opt/local/lib
Error: Unable to upgrade port: 1
--->  Executing: /opt/local/bin/port -uR upgrade ImageMagick +rsvg +gs +wmf +q32 +lqr +mpeg +lcms +jpeg2 +jbig +hdri +graphviz +perl

Change History (6)

comment:1 Changed 15 years ago by tobypeterson

Description: modified (diff)
Port: ImageMagick added; graphics/ImageMagick removed
Priority: HighNormal
Version: 1.8.0

comment:2 Changed 15 years ago by tobypeterson

What is the output of lipo -info /opt/local/lib/libz.dylib? Also, please remember to use WikiFormatting

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to ryandesign@…
Version: 1.8.0

Better leave the version field set for tickets where it could possibly be relevant.

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: waqar@… added
Description: modified (diff)
Port: tiff added; ImageMagick removed
Summary: ImageMagick 6.5.5-7_0 build failed under Mac OS X 10.6tiff: Zlib library not found at /opt/local/lib

It works fine for me on Snow Leopard. Did you upgrade from Leopard? If so, did you follow the Migration page and rebuild all your ports?

comment:5 Changed 15 years ago by ntraft@…

I had the same issue and it was due to the fact that I didn't reinstall all my ports after upgrading to Snow Leopard. After following the migration instructions, tiff compiled fine.

comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.