FLTK logo

Re: bug how to fix it?

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.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: bug how to fix it? Albrecht Schlosser Oct 28, 2011  
 
On 28.10.2011 12:37, Mariwan wrote:
> Do you know how to fix this? Thanks in advance.
>
> Linux Fedora 15 32bit
>
>
> /usr/bin/ld: /usr/local/lib/libfltk.a(Fl_Preferences.o): undefined reference to symbol 'dlopen@@GLIBC_2.1'
> /usr/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /lib/libdl.so.2 so try adding it to the linker command line
> /lib/libdl.so.2: could not read symbols: Invalid operation

You should add -ldl to the linker commandline. However,
if you used fltk-config, this should show up there:

fltk-config [--use-images] --ldflags

(use --cflags and --cxxflags to see the compiler flags needed).

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