|
|
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 ] | |
|
| |