failure upgrading netpbm

Artemio Gonzalez Lopez artemiog at
Sun Nov 22 12:29:02 PST 2009

"port upgrade netpbm" fails with several ld errors, like the following:

libopt results: ' -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61/lib -lnetpbm -lpng -lz'
Undefined symbols:
  "_pnm_xeltopixel", referenced from:
      _convertpnm in pnmtopng.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gnumake[2]: *** [pnmtopng] Error 1
gnumake[1]: *** [other/all] Error 2
gnumake: *** [converter/all] Error 2
Error: Target returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.61" && /usr/bin/gnumake  messages=yes " returned error 2

I am using the latest Xcode (3.2.1) with Snow Leopard 10.6.2. Is there a known fix/workaround for this?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1893 bytes
Desc: not available
URL: <>

More information about the macports-users mailing list