FLTK logo

Re: [fltk/fltk] [fltk 1.4.x/Linux] application invoking native filechooser crashes under linux if fltk built with --enable-localpng (#232)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] [fltk 1.4.x/Linux] application invoking native filechooser crashes under linux if fltk built with --enable-localpng (#232) erco77 May 27, 2021  
 

I'm guessing your GTK was build with a similar PNG library that FLTK has, and therefore isn't crashing.

On my system, the system PNG libs seem to be:

[erco@harris] 250 # ls -la /lib64/*png*
lrwxrwxrwx. 1 root root     11 Jun  5  2018 /lib64/libpng.so -> libpng15.so
lrwxrwxrwx. 1 root root     16 Jun  5  2018 /lib64/libpng.so.3 -> libpng.so.3.50.0
-rwxr-xr-x. 1 root root 175256 Nov  4  2016 /lib64/libpng.so.3.50.0
lrwxrwxrwx. 1 root root     18 Jun  5  2018 /lib64/libpng12.so.0 -> libpng12.so.0.50.0
-rwxr-xr-x. 1 root root 162400 Nov  4  2016 /lib64/libpng12.so.0.50.0
lrwxrwxrwx. 1 root root     19 Jun  5  2018 /lib64/libpng15.so -> libpng15.so.15.13.0
lrwxrwxrwx. 1 root root     19 Jun  5  2018 /lib64/libpng15.so.15 -> libpng15.so.15.13.0
-rwxr-xr-x. 1 root root 179296 Dec  9  2015 /lib64/libpng15.so.15.13.0

..and the one inside FLTK is: libpng version 1.6.37 - April 14, 2019

I'm not sure which one of the above GTK was built against, but I'm guessing it's the 15 (1.5?) version, based on this:

[erco@harris] 256 # ls -lad libgtk-*
lrwxrwxrwx. 1 root root      21 Nov 27  2018 libgtk-3.so -> libgtk-3.so.0.2200.30
lrwxrwxrwx. 1 root root      21 Nov 27  2018 libgtk-3.so.0 -> libgtk-3.so.0.2200.30
-rwxr-xr-x. 1 root root 7458680 Oct 31  2018 libgtk-3.so.0.2200.30
lrwxrwxrwx. 1 root root      23 Jun  5  2018 libgtk-vnc-2.0.so.0 -> libgtk-vnc-2.0.so.0.0.2
-rwxr-xr-x. 1 root root   70952 Apr 12  2018 libgtk-vnc-2.0.so.0.0.2
lrwxrwxrwx. 1 root root      27 Jun  5  2018 libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.2400.31
lrwxrwxrwx. 1 root root      27 Jun  5  2018 libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.2400.31
-rwxr-xr-x. 1 root root 4817936 Aug  2  2017 libgtk-x11-2.0.so.0.2400.31

Thu 05/27/21 08:55:57 /usr/lib64
[erco@harris] 257 # ldd libgtk-vnc-2.0.so.0.0.2 | grep png
	libpng15.so.15 => /lib64/libpng15.so.15 (0x00007fbe56732000)

I'm on Sci Linux 7, which is old because they stopped continuing releases, so until I upgrade to a newer workstation (dread), I'm stuck in 2018, lol. But a good test considering many customers are running older OS's.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.