failure upgrading netpbm

Artemio Gonzalez Lopez artemiog at mac.com
Sun Nov 22 15:52:38 PST 2009


On Nov 23, 2009, at 12:08 AM, Ryan Schmidt wrote:

> 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.
> 



Thanks a lot, that did the trick!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1893 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20091123/22715291/attachment.bin>


More information about the macports-users mailing list