issues with installing whizard with openloops

Asked by Yehia Abdelaziz

I want to install whizard with openloops so I configure whizard first with

--enable-openloops --with-openloops=$OPENLOOPS_PATH

then I run "make" and "make install". Everything is fine but when I run "make check", I get 130 Fails which doesn't happen when I install whizard without openloops.

Question information

Language:
English Edit question
Status:
Solved
For:
WHIZARD Edit question
Assignee:
Juergen Reuter Edit question
Solved by:
Yehia Abdelaziz
Solved:
Last query:
Last reply:
Revision history for this message
Juergen Reuter (j.r.reuter) said :
#1

Hi Yehia,
the problem is the following: the Openloops build tool doesn't allow Openloops to be installed, but if you set the flags like you correctly did, WHIZARD will it link it into the main WHIZARD library and binary. However, because Openloops has a custom install directory, its libraries are not in the LD_LIBRARY_PATH (or DYLD_LIBRARY_PATH on Darwin/BSD). You need to add e.g. (if you git-cloned Openloops into <dir>/openloops) <dir>/openloops/lib to your LD_LIBRARY_PATH. e.g. by
export LD_LIBRARY_PATH=<dir>/openloops/lib:$LD_LIBRARY_PATH
Alternatively, who have to copy the seven libraries
libcollier.so libcuttools.so libolcommon.so liboneloop.so libopenloops.so librambo.so libtrred.so
into a directory which is in your LD_LIBRARY_PATH, /usr/local/lib (if you have root access), or
/home/<user_name>/local/lib or similar.
Cheers,
    JRR

Revision history for this message
Yehia Abdelaziz (yehia95) said :
#2

Thank you Juergen, this has worked.