[Rivet] No analyses if libdir is lib64

Leif Lönnblad leif.lonnblad at thep.lu.se
Wed Apr 24 20:57:14 BST 2013


I had this problem on my laptop a while back. I noticed that the reason 
that configure decided to use lib64 instead of lib was that It checked a 
system-wide environment variable called CONFIG_SITE pointing to a config 
file where this was specified. Un-setting CONFIG_SITE causes the good 
old lib directory to be used by configure.

Using lib64 should in principle work, but for some reason rivet will 
internally find the path by a call to br_find_lib_dir function in 
Rivet::getLibPath() which for some reason returns lib rather than lib64.

Cheers,
Leif



On 2013-04-23 17:36, David Grellscheid wrote:
> Hi Christian,
>
> can you send config.log, please? Also, did you rerun autoconf or is that
> the configure script from the tarball you're using?
>
>    David
>
> On 23/04/13 16:26, David Grellscheid wrote:
>> Thanks, Christian for the detailed analysis, I'll take a look.
>>
>>    David
>>
>> On 23/04/13 16:19, Christian Roehr wrote:
>>> Hi Rivet,
>>>
>>> On our 64-bit openSUSE 12.2 machines Rivet 1.8.3 doesn't work properly.
>>>
>>> The reason is that the default library site in openSUSE is called lib64
>>> instead of lib. This is recognized by the configure script. (See e.g.
>>> http://alturl.com/4rbe2 )
>>>
>>> So, with "./configure --prefix=/opt/Rivet/1.8.3" the installation folder
>>> looks like this:
>>>
>>> $ ls /opt/Rivet/1.8.3
>>> bin include lib64 share
>>>
>>> With this installation, "/opt/Rivet/1.8.3/bin/rivet --list-analyses" yields
>>> nothing. Now, those two possibilities solve the problem:
>>>
>>> 1) rivet --list-analyses --analysis-path=/opt/Rivet/1.8.3/lib64
>>>
>>> 2) Create a symlink:
>>> cd /opt/Rivet/1.8.3
>>> ln -s lib64 lib
>>>
>>> Since "rivet-config --libdir" returns the correct path,
>>> /opt/Rivet/1.8.3/lib64, I just wondered whether the "lib" path is
>>> somewhere hardcoded, where it could (should?) be replaced by what
>>> configure finds (and stores in the variable libdir).
>>>
>>> Thanks
>>>
>>> Christian
>>> _______________________________________________
>>> Rivet mailing list
>>> Rivet at projects.hepforge.org
>>> http://www.hepforge.org/lists/listinfo/rivet
>>>
>> _______________________________________________
>> Rivet mailing list
>> Rivet at projects.hepforge.org
>> http://www.hepforge.org/lists/listinfo/rivet
>>
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> http://www.hepforge.org/lists/listinfo/rivet
>



More information about the Rivet mailing list