<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>re: Grace, Beta4 on f19<br><br>s7.c<br>cc -ldl -lpthread -MMD -MP -DHAVE_SCHEME=1 -Isrc -Isndlib&nbsp;&nbsp; -MMD -MP -DWITH_AUDIO -DHAVE_SCHEME -DHAVE_PREMAKE -DHAVE_ALSA -DSIZEOF_VOID_P=4 -DHAVE_CONFIG_H=1 -DDEBUG -I.&nbsp; -g -o "obj/Debug/s7.o" -MF obj/Debug/s7.d -c "s7.c"<br>Linking sndlib<br>ar -rcs lib/libsndlib.a obj/Debug/headers.o obj/Debug/audio.o obj/Debug/io.o obj/Debug/sound.o obj/Debug/xen.o obj/Debug/vct.o obj/Debug/clm.o obj/Debug/sndlib2xen.o obj/Debug/clm2xen.o obj/Debug/s7.o <br>s7.cpp<br>Linking s7<br>/usr/bin/ld: sndlib/lib/libsndlib.a(s7.o): undefined reference to symbol 'dlopen@@GLIBC_2.1'<br>/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<br>/lib/libdl.so.2: could not read symbols: Invalid operation<br>collect2: error: ld returned 1 exit status<br>make[1]: *** [bin/s7] Error 1<br>make: *** [s7] Error 2<br><br><br>Still scratching my head about this error...<br>undefined reference to symbol 'dlopen@@GLIBC_2.1'<br><br>I did: $ CFLAGS='-ldl -lpthread' ./premake4 --with-oscpack<br><br>also<br><br>$ CFLAGS='-ldl -lpthread' make<br><br>and cc above shows ldl and pthread added to the linker command line, but still get the error.<br><br>Must be something else.&nbsp; Odd thing is I can build the standalone src sndlib tarball just fine using ./configure --with-audio, --with-alsa, --with-s7.<br><br>Regards,<br>Jim<br>                                               </div></body>
</html>