New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21245 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

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

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

Description (last modified by ryandesign@…) (diff)

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

comment:1 Changed 4 years ago by toby@…

  • Priority changed from High to Normal
  • Version 1.8.0 deleted
  • Port changed from graphics/ImageMagick to ImageMagick
  • Description modified (diff)

comment:2 Changed 4 years ago by toby@…

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

comment:3 Changed 4 years ago by jmr@…

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

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

comment:4 Changed 4 years ago by ryandesign@…

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

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 4 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 4 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.