Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » libpng on linux
Re: libpng on linux [message #48292 is a reply to message #48231] Thu, 15 June 2017 21:41 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Luigi,

Sorry for late reply, I didn't have time to test it until today.

forlano wrote on Wed, 07 June 2017 18:10
The esperiment failed. STATIC_PNG missed to link statically libpng12.

How did you test this? I just tried to compile simple app with STATIC_PNG and it seems to work. There is no -lpng in the linker command and readelf -d my_test_app | grep NEEDED doesn't show libpng at all. Also, objdump -x my_test_app shows the png symbols in the executable. The only confusing thing is the output of ldd my_test_app, which still lists libpng, but I assume it is actually pulled in indirectly by another dependency. Have you actually tried to run the executable on some newer system?

forlano wrote on Wed, 07 June 2017 18:10
I tried to install libpng16 and compile theide via makefile. Unfortunately the makefile complained for the missing libpng12.
Not sure about that... If I remember correctly, the makefile should not mention specific version of the library, just "png". I use archlinux where libpng16 is the only version available and I actually never had a problem with it.

I'm afraid I don't have any more ideas how to solve your problem for now (if the problem still holds).

Best regards,
Honza

[Updated on: Thu, 15 June 2017 21:41]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: reference/OpenGL crashes
Next Topic: Filtering streams for bz2
Goto Forum:
  


Current Time: Mon Jul 07 21:17:04 CEST 2025

Total time taken to generate the page: 0.03334 seconds