STR #3526

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 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

Return to Bugs & Features | Roadmap 1.3 ]

STR #3526

Application:FLTK Library
Status:2 - Closed w/o Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:2 - Specific to an operating system
Summary:undefined reference to `png_set_longjmp_fn'
Created By:mik3ca
Assigned To:AlbrechtS
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files

Trouble Report Comments:

Name/Time/Date Text top right image
#1 mik3ca
16:29 Aug 01, 2019
I tried the latest and also version 1.3.0.

In the ./configure stage, everything seemed ok. I then typed make and received this error:

Linking fluid...
../lib/libfltk_images.a(Fl_PNG_Image.o): In function `Fl_PNG_Image::load_png_(char const*, unsigned char const*, int)':
Fl_PNG_Image.cxx:(.text+0xba): undefined reference to `png_set_longjmp_fn'
collect2: ld returned 1 exit status
make[1]: *** [fluid] Error 1
make: *** [all] Error 1

the configure stage should have stopped the installation with a requirement of a certain libpng version to continue.
#2 AlbrechtS
04:45 Aug 05, 2019
Thanks for your report.

I'm pretty sure that configure uses the bundled PNG library if it doesn't find any usable PNG library, hence I assume that configure found one but couldn't successfully link (fluid).

Some questions:

1) On which exact platform (OS, compiler) did you find this?

2) Can you tell us which particular libpng (and version) you have on your system?

3) Did you install the libpng development (header) files? (pretty sure this must be YES)

4) Which 'latest' FLTK version did you try (1.3.5 or 1.4.0 (git master))?
#3 AlbrechtS
05:21 Jun 30, 2020
This STR has not been updated by the submitter for two or more weeks and has been closed as required by the FLTK Configuration Management Plan. If the issue still requires resolution, please re-submit a new STR.  
bottom left image   bottom right image

Return to Bugs & Features ]


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