Re: problem building xspec module

From: Maurice Leutenegger <maurice.a.leutenegger_at_email.domain.hidden>
Date: Tue, 5 Aug 2014 16:42:05 -0400
Hi John,

I was able to get isis to build by unsetting LMODDIR so that isis would 
not try to build the "test" local model library.

In retrospect, perhaps I should have chosen a more distinctive name for 
my test library.

Thanks,

Maurice

On 8/5/14, 4:23 PM, John Houck wrote:
> On Tue, Aug 05, 2014 at 14:26 -0400, Maurice Leutenegger wrote:
>> Hi all,
>>
>> I am building isis 1.6.2-30 on an OS X 10.9.4 machine. Everything
>> seems to be building OK except for xspec-module.so. I give more
>> details below. The log files are attached as a tarball. Any insight
>> is greatly appreciated. Thanks,
>>
>> Maurice
>>
>>  From make test:
>>
>> testing xspec module import....
>> Error linking to ../modules/xspec/src/elfobjs/xspec-module.so:
>> dlopen(../modules/xspec/src/elfobjs/xspec-module.so, 10): Symbol not
>> found: _test
>  From the configure output, it looks like a local model is being
> included with the xspec module:
>
>    Searching for XSPEC model.dat in: /Users/mleutene/opt/heasoft-6.16/x86_64-apple-darwin13.3.0/
>    Parsing /Users/mleutene/opt/heasoft-6.16/x86_64-apple-darwin13.3.0/../spectral/manager/model.dat
>    Got 178 models (113 additive, 50 multiplicative, 15 convolution)
>    Parsing /Users/mleutene/code/lmod/test/lmodel.dat
>    Got 1 models (1 additive, 0 multiplicative, 0 convolution)
>
> The problem may be that the path to the shared library
> containing your local model, 'test', has not been provided, so
> the symbol can't be resolved at run-time.
>
> If that's it, then providing the necessary path via
> LD_LIBRARY_PATH should solve the problem.
>
> Alternatively, to build the xspec module without the local model,
> make sure the LMODDIR environment variable isn't set when the
> isis configure script is run.
>
> Does that help?
>
> Thanks,
> -John
Received on Tue Aug 05 2014 - 16:42:12 EDT

This archive was generated by hypermail 2.3.0 : Wed Aug 06 2014 - 08:25:18 EDT