Re: Please help with lining issue "undefined reference to symbol 'dlsym@@GLIBC_2.2.5'"
On 8/12/2013 12:08 PM, Andreas Tille wrote:
> Hi,
>
> I tried to build a new version of seaview and the needed changes are
> commited to
>
> svn://svn.debian.org/svn/debian-med/trunk/packages/seaview/trunk/debian
>
> but endet up with
>
> g++ -o seaview -Wl,-z,relro -Wl,--as-needed seaview.o custom.o use_mase_files.o regions.o load_seq.o align.o xfmatpt.o comlines.o resource.o nexus.o viewasprots.o racnuc_fetch.o concatenate.o statistics.o trees.o treedraw.o addbootstrap.o least_squares_brl.o pseudoterminal.o unrooted.o pdf_or_ps.o svg.o threads.o Fl_Native_File_Chooser_FLTK.o raa_acnuc.o parser.o md5.o zsockr.o misc_acnuc.o dnapars.o protpars.o lwl.o bionj.o phyml_util.o \
> -lfltk_images -lfltk \
> -lXft -lXext -lfontconfig -ljpeg -lpng -lXinerama \
> -lX11 -lm -lz -lpthread
> /usr/bin/ld: Fl_Native_File_Chooser_FLTK.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
> /lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
>
>
> Any idea for a fix?
>
> Kind regards
>
> Andreas.
>
>
Add -ldl?
--
Barry deFreese
Sometimes helper, sometimes hinderer to:
Debian Games, QA, GNU/Hurd
Reply to: