<div dir="ltr"><div>on modern linkers you must now (a) explicitly link all required libraries (*) (b) use the correct order for dependencies (c) list libraries multiple times where necessary to fully resolve (semi-circular) dependencies.<br>
<br>this changed a while back and has slowly been spreading through the linux ecosystem.<br><br><br></div>(*) not 100% certain on this one, but it doesn't hurt :)<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Oct 4, 2013 at 5:47 PM, Will Godfrey <span dir="ltr"><<a href="mailto:willgodfrey@musically.me.uk" target="_blank">willgodfrey@musically.me.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Over the last few weeks I've been going through Yoshimi with a fine-tooth comb<br>
bug hunting, with some success (and much frustration). I'm doing this on<br>
my 'office' computer which is running debian testing on a 64bit AMD - fairly<br>
similar to my music machine.<br>
<br>
During the week, I did an update via synaptic and now suddenly when I try to<br>
compile Yoshimi it fails to link, giving the message:<br>
<br>
Linking CXX executable yoshimi<br>
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libfltk.a(Fl_x.o): undefined reference<br>
to symbol 'dlsym@@GLIBC_2.2.5' /lib/x86_64-linux-gnu/libdl.so.2: error adding<br>
symbols: DSO missing from command line collect2: error: ld returned 1 exit<br>
status make[2]: *** [yoshimi] Error 1<br>
make[1]: *** [CMakeFiles/yoshimi.dir/all] Error 2<br>
make: *** [all] Error 2<br>
will@debian:~/yoshimi_20130926/src$<br>
<br>
The investigating I've done suggests that something has changed in cmake so<br>
that yoshimi now needs a more 'correct' identification of fltk. I sort of<br>
gathered that cmake.txt was the place to look, but doing so tells me nothing.<br>
fltk is there but none of the information really makes sense to me.<br>
<br>
<br>
Although I don't like doing anything experimental on my music machine, I can do<br>
that for the time being as it is running an earlier version of the distro but<br>
presumably the new requirement will eventually hit the stable releases.<br>
<br>
Can someone help me sort this out please.<br>
<br>
P.S.<br>
A current version of ZynAddSubFX doesn't have this problem, but the build<br>
structure is now very different so I couldn't find any points of comparison.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Will J Godfrey<br>
<a href="http://www.musically.me.uk" target="_blank">http://www.musically.me.uk</a><br>
Say you have a poem and I have a tune.<br>
Exchange them and we can both have a poem, a tune, and a song.<br>
_______________________________________________<br>
Linux-audio-user mailing list<br>
<a href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a><br>
<a href="http://lists.linuxaudio.org/listinfo/linux-audio-user" target="_blank">http://lists.linuxaudio.org/listinfo/linux-audio-user</a><br>
</font></span></blockquote></div><br></div>