Re: building cvs...

Udo van den Heuvel <[email protected]> Sat, 02 Apr 2011 16:50:07 +0200
Newsgroups gmane.comp.audio.jamin.devel
Message-ID <[email protected]>
On 2011-04-02 15:39, Udo van den Heuvel wrote:
> It ends with:
> 
> /usr/bin/ld: jamin-plugin.o: undefined reference to symbol
> 'dlsym@@GLIBC_2.2.5'
> /usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO
> /lib64/libdl.so.2 so try adding it to the linker command line
> /lib64/libdl.so.2: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[2]: *** [jamin] Error 1
> make[2]: Leaving directory `/usr/src/jamin/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/jamin'
> make: *** [all] Error 2

in src/Makefile, I changed LIBS:

LIBS = -lm -lm -lpthread -ldl

And now it builds.

How to fix that more properly?


Kind regards,
Udo

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf