Re: CMake

Felix Salfelder <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
On Tue, Feb 17, 2015 at 09:37:08AM +0100, Felix Salfelder wrote:
> i'll have a look today.

a first test case, to get an idea.

$ mkdir b; cd b
$ cmake ..
$ make
$ main/gnucap
[..]
load libgnucap-default-plugins.so
     ^ ? libgnucap-default-plugins.so: cannot open shared object file: No such file or directory

sure, that's not your fault -- RUNPATH (or wrapper setting
LD_LIBRARY_PATH) is missing.

but i wonder what

+target_link_libraries(gnucap-default-plugins gnucap)

is supposed to do (commit 52baf456bd)... i get
$ make install DESTDIR=/tmp/guitorri
$ ldd /tmp/guitorri/usr/local/lib/x86_64-linux-gnu/gnucap/libgnucap-default-plugins.so 
[..]
libgnucap.so => /usr/local/lib/libgnucap.so (0x00007fc36f451000)
[..]
if there's a connection, it's a bug. plugins should\ not/must\ not link
to libgnucap.so. the symbols are available already.

thank you
felix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.