[yoshimi] Re: 1.5.5 rc1

  • From: Jesper Lloyd <jpl.lloyd@xxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Tue, 5 Dec 2017 14:56:08 +0100


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.

Other related posts: