On Nov 22, 2009, at 14:29, Artemio Gonzalez Lopez wrote: > "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 org.macports.build 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?
netpbm 10.26.61 is installed on my Snow Leopard system; not sure what's different about yours. Maybe the newer version doesn't like installing while the older version is active. Try sudo port clean netpbm sudo port deactivate netpbm sudo port -d install netpbm 2>&1 | tee ~/Desktop/netpbm.txt If it succeeds, great; delete netpbm.txt from your desktop and you're done. But if it fails again, send us that text file (you may want to compress it first) so we can investigate further. _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
