Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#28202 closed defect (worksforme)

graphviz 2.26.3_4 build fails due to missing library png12

Reported by: ludwig@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: libpng Cc: ryandesign (Ryan Carsten Schmidt), miken32 (Michael Newton)
Port: graphviz

Description

The upgrade of graphviz to 2.26.3_4 fails on my MacBook Pro (10.5.8) with the message "ld: library not found for -lpng12".

I have libpng@1.4.5_0 installed and active, but it provides libpng and libpng14 only.

I am going to attach the build logfile in case it helps tracking down the problem's cause.

Attachments (1)

main.log (10.0 KB) - added by nick.lott@… 14 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 14 years ago by ludwig@…

After another "sudo port clean graphviz" the build went fine - I don't know what was the problem before. Anyway, this ticket can be closed.

Sorry for the noise.

Changed 14 years ago by nick.lott@…

Attachment: main.log added

comment:2 in reply to:  1 ; Changed 14 years ago by nick.lott@…

Replying to ludwig@…:

After another "sudo port clean graphviz" the build went fine - I don't know what was the problem before. Anyway, this ticket can be closed.

Sorry for the noise.

I can confirm that after an initial error followed by "sudo port clean graphviz" the build went fine

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

comment:4 in reply to:  2 Changed 14 years ago by miken32 (Michael Newton)

Replying to nick.lott@…:

I can confirm that after an initial error followed by "sudo port clean graphviz" the build went fine

I am still experiencing this problem; multiple cleans and an uninstall have not helped, nor has re-installing libpng, nor has doing forced upgrades of dependentof:libpng.

The Portfile doesn't mention the library version which leads me to think the problem is elsewhere. Suggestions? I'd really like to be able to use the gimp2 and inkscape ports again, which can't upgrade due to dependencies on graphviz.

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: miken32@… added

Some port you've installed is still linked with libpng 1.2. You need to locate and rebuild that thing. You may need to do a brute-force search of /opt/local/lib and/or /opt/local/bin to identify what it is.

comment:6 in reply to:  5 Changed 14 years ago by miken32 (Michael Newton)

Replying to ryandesign@…:

Some port you've installed is still linked with libpng 1.2. You need to locate and rebuild that thing. You may need to do a brute-force search of /opt/local/lib and/or /opt/local/bin to identify what it is.

Thanks, that did the trick. Sorry for the spam, but for the sake of anyone who finds this via search:

I did grep -ls png12 /opt/local/lib/* and grep -ls png12 /opt/local/bin/*, performing a forced upgrade of anything that came up. All is well, and I will never run upgrade with the -n flag again.

Note: See TracTickets for help on using tickets.