STR #1610

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 2.0 | Post Text | Post File | SVN ⇄ GIT ]

STR #1610

Application:FLTK Library
Status:5 - New
Priority:3 - Moderate, e.g. unable to compile the software
Scope:2 - Specific to an operating system
Summary:../fluid/fluid2: error while loading shared libraries: cannot open shared object file: No such file or directory
Created By:Mark__T
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size top right image
#1 bgbnbigben
07:28 Sep 30, 2010
bottom left image   bottom right image

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
#1 Mark__T
06:51 Feb 21, 2007
On my Linuxbox I get "Compiling progress.cxx...
Linking progress...
../fluid/fluid2: error while loading shared libraries: cannot open shared object file: No such file or directory
make[1]: *** [radio.h] Error 127
make: *** [all] Error 2"
during making of fltk.
As mentioned by Antony ( ) it might only happen if fltk is not installed yet, otherwise it would probably link to the libs in /usr/lib/.
#2 homerjay
07:01 Feb 23, 2007
I also had this problem when I compiled fltk2 for the first time. I hadn't made the logical leap that it was because I didn't already have the libraries on my system. The following patch fixed it for me...

--- fltk-2.0.x-r5581/test/Makefile      2006-07-27 21:29:42.000000000 +0100
+++ fltk-2.0.x-r5581-mod/test/Makefile  2007-01-05 14:29:34.000000000 +0000
@@ -35,7 +35,7 @@

 .fl.cxx .fl.h:
-       ../fluid/fluid2$(EXEEXT) -c $<
+       LD_LIBRARY_PATH=../lib:$(LD_LIBRARY_PATH) ../fluid/fluid2$(EXEEXT) -c $<

#3 mike
04:46 Feb 24, 2007
FWIW, we need to create both statically and dynamically linked versions of FLUID in 2.0, just as we do in 1.1.x.  The dynamic version gets installed, the static version gets used at build-time.  
#4 bgbnbigben
07:30 Sep 30, 2010
The attached patch should create both the dynamic and static versions of fluid correctly, as well as fix up a few linking issues (well, I wouldn't really call them issues - they just weren't in line with the 1.x branches) - and should also fix up the installation as mike suggested.
Could someone please test this on their machine - it has been a while since I've last done anything with autoconf and makefiles!
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]


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