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) Albrecht Schlosser May 28, 2021  
 

[Damn, it happened again. This message sat in the editor and I forgot to post it.
Sorry for duplicating some of your stuff. Here's for completeness what I wrote hours ago ...]

You can also check an application with ldd and you'll see which one is linked.

FTR: this is not true for FLTK applications because we link libgtk dynamically to test if it's available.

The libgtk versions we're looking for are libgtk-3 (GTK-3) and libgtk-x11-2.0 (GTK-2), in this order. For both shared libs we're appending '.so.n' with n = {2, 1, 0} - again in this order (per library), i.e. we prefer GTK-3 and fall back to GTK-2 if GTK-3 is not found. In your case this algorithm should find the symlink libgtk-3.so -> libgtk-3.so.0.2200.30.

[newly added text]

Looks like you are using libpng 1.5 then. I'll try one of my docker images with older systems if I can reproduce this ...


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