#19275 closed defect (worksforme)
kdelibs4 finds incorrect libpng
Reported by: | dmcgrath@… | Owned by: | illogic-al@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: | kdelibs4 |
Description
kdelibs4 attempts to link against the system framework, rather than the port installed libpng. This occurs specifically in a clean macports installation on 10.5.5, when trying to build the target khtml.
A temporary workaround exists, which is specifically to copy the ports provided libpng into the framework directory. However, while this results in a successful build of kdelibs4, it causes some problems in other aspects of the host system.
Change History (4)
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to illogic-al@… |
---|
comment:2 Changed 16 years ago by illogic-al@…
comment:3 Changed 16 years ago by illogic-al@…
Resolution: | → worksforme |
---|---|
Status: | new → closed |
E-mail from reporter "the error was missing symbols. Specifically, in the system libpng, the symbols are not prefaced with "_", while in the macports version they are. I've closed the window though, and am not willing to reinstall all of the deps just to get it. However, there is ABSOLUTELY no reason it should have "-framework libpng" as part of the LDFLAGS. The other workaround I found was to just let it fail, then edit the makefile to remove "-framework libpng", and adding "-lpng" in its place."
Replying to dmcgrath@…:
really? because i built it just fine. will need more info (like pasted error). and confirmation from more people.