[yoshimi] Re: 1.5.5 rc1

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Tue, 5 Dec 2017 17:04:44 +0000

On Tue, 5 Dec 2017 14:56:08 +0100
Jesper Lloyd <jpl.lloyd@xxxxxxxxx> wrote:


Indeed-- the big knowledge base (StackOverflow) shows this is caused
by not already linking to libdl.so. Before Andrew fixed up some
FreeBSD stuff, "-ldl" was added unconditionally but FreeBSD doesn't
need it, so it gets used now only if we're on Linux and the library
exists. Does anything show up in ccmake under LIBDL_LINUX after
'configure'? Of course they can force it the way I do with pthread
etc: hit 'T' for advanced options in ccmake and add -ldl to
CMAKE_EXE_LINKER_FLAGS. Probably. But cmake already "should" just find
it and add it to the pile of -lstuff. And even if that's oddly
necessary, it only treats one thing, but there's another.
 

Looks like it's just a typo in the library inclusion list, where
${LIBDL_LINUX_LIBS} is written instead of ${LIBDL_LINUX}.
Right now (at least with cmake 3.5.1) the non-defined variable is simply
omitted without warning.

Hmmm.

We had a whole load of trouble with the linker some time back. I thought that
was sorted when we added 'ld' in set (external libraries but I see that has
been changed and I didn't notice. I will have to be more vigillant. No wonder
there's a problem that the poor guy didn't have with V 1.5.4 :(

Please everyone be *extremely* careful about changes in CMake, it can be quite
explosive. It's odd that I saw no problems here. I frequently download a
snapshot and build 'clean' just in case of odd ball problems.

Right now, linux is the priority so I'm changing it back. If someone can
demostrate positively a way to resolve this then something like it can be
added, but I'm not going to risk exisiting users - especially ones fairly
inexperienced with linux and quite new to Yoshimi.

-- 
Will J Godfrey
http://www.musically.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.
Yoshimi source code is available from either: 
https://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: