Re: [LAU] fltk linking problem

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Will Godfrey <willgodfrey@...>
Cc: linux-audio-user <linux-audio-user@...>
Date: Saturday, October 5, 2013 - 2:34 am

--089e01493c5aec4aff04e7f5402b
Content-Type: text/plain; charset=ISO-8859-1

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.

this changed a while back and has slowly been spreading through the linux
ecosystem.

(*) not 100% certain on this one, but it doesn't hurt :)

On Fri, Oct 4, 2013 at 5:47 PM, Will Godfrey wrote:

> Over the last few weeks I've been going through Yoshimi with a fine-tooth

--089e01493c5aec4aff04e7f5402b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

on modern linkers you must now (a) explicitly link al=
l required libraries (*) (b) use the correct order for dependencies (c) lis=
t libraries multiple times where necessary to fully resolve (semi-circular)=
dependencies.
this changed a while back and has slowly been spreading through the lin=
ux ecosystem.(*) not 100% certain on this one, but it doe=
sn't hurt :)
On Fri, Oct 4, 2013 at 5:47 PM, Will Godfrey <willgodfrey@music=
ally.me.uk
> wrote:
Over the last few weeks I've been going through Yoshimi with a fine-too=
th comb
bug hunting, with some success (and much frustration). I'm doing this o=
n
my 'office' computer which is running debian testing on a 64bit AMD=
- fairly
similar to my music machine.

During the week, I did an update via synaptic and now suddenly when I try t=
o
compile Yoshimi it fails to link, giving the message:

Linking CXX executable yoshimi
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libfltk.a(Fl_x.o): undefined referen=
ce
to symbol 'dlsym@@GLIBC_2.2.5' /lib/x86_64-linux-gnu/libdl.so.2: er=
ror adding
symbols: DSO missing from command line collect2: error: ld returned 1 exit<=
br>
status make[2]: *** [yoshimi] Error 1
make[1]: *** [CMakeFiles/yoshimi.dir/all] Error 2
make: *** [all] Error 2
will@debian:~/yoshimi_20130926/src$

The investigating I've done suggests that something has changed in cmak=
e so
that yoshimi now needs a more 'correct' identification of fltk. I s=
ort of
gathered that cmake.txt was the place to look, but doing so tells me nothin=
g.
fltk is there but none of the information really makes sense to me.

Although I don't like doing anything experimental on my music machine, =
I can do
that for the time being as it is running an earlier version of the distro b=
ut
presumably the new requirement will eventually hit the stable releases.

Can someone help me sort this out please.

P.S.
A current version of ZynAddSubFX doesn't have this problem, but the bui=
ld
structure is now very different so I couldn't find any points of compar=
ison.

--
Will J Godfrey
http://www.musical=
ly.me.uk

Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@l=
ists.linuxaudio.org

http://lists.linuxaudio.org/listinfo/linux-audio-user

--089e01493c5aec4aff04e7f5402b--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] fltk linking problem, Will Godfrey, (Fri Oct 4, 9:47 pm)
Re: [LAU] fltk linking problem, Paul Davis, (Sat Oct 5, 2:34 am)
Re: [LAU] fltk linking problem, rob, (Sat Oct 5, 12:27 am)
Re: [LAU] fltk linking problem, Brendan Jones, (Sat Oct 5, 8:49 am)
Re: [LAU] fltk linking problem -resolved ...I think!, Will Godfrey, (Sat Oct 5, 6:43 pm)