Opened 14 years ago

Closed 14 years ago

#22606 closed defect (invalid)

Tiff fails to build - cant find jpeg library

Reported by: skl99999@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: tiff

Description

Hi,

hope I am doing this correctly. Did search for tiff related tickets, didnt find any. Google the err msg, and only sth very old came up

just ran

sudo port selfupdate
sudo port upgrade tiff

Here the key output:

--->  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.2" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-docdir=/opt/local/share/doc/tiff-3.9.2 --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
...
checking zlib.h presence... yes
checking for zlib.h... yes
checking for jpeg_read_scanlines in -ljpeg... no
configure: error: IJG JPEG library not found at /opt/local/lib

port contents jpeg gives

...
  /opt/local/lib/libjpeg.62.0.0.dylib
  /opt/local/lib/libjpeg.62.dylib
  /opt/local/lib/libjpeg.a
  /opt/local/lib/libjpeg.dylib
  /opt/local/lib/libjpeg.la
...

This is the contents of /opt/local/lib

-rwxr-xr-x   2 root  admin  -  136K Nov 30  2008 libjpeg.62.0.0.dylib*
lrwxr-xr-x   1 root  admin  -   20B Nov 30  2008 libjpeg.62.dylib@ -> libjpeg.62.0.0.dylib
-rw-r--r--   2 root  admin  -  157K Nov 30  2008 libjpeg.a
lrwxr-xr-x   1 root  admin  -   20B Nov 30  2008 libjpeg.dylib@ -> libjpeg.62.0.0.dylib
-rwxr-xr-x   2 root  admin  -  654B Nov 30  2008 libjpeg.la*

port installed gives

  jpeg @6b_3 (active)

Change History (4)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to waqar@…

comment:2 Changed 14 years ago by blb@…

Are you on 10.6? If so, what's the result from the following?

lipo -info /opt/local/lib/libjpeg.dylib

comment:3 Changed 14 years ago by skl99999@…

Yep, 10.6.2.

$lipo -info /opt/local/lib/libjpeg.dylib
Non-fat file: /opt/local/lib/libjpeg.dylib is architecture: i386

comment:4 Changed 14 years ago by blb@…

Resolution: invalid
Status: newclosed

See the Migration page.

Note: See TracTickets for help on using tickets.