From: Reuti <[email protected]>
Subject: Re: [gridengine users] Build from source, how to pass lib location to 
aimk?
Date: Sun, 30 Apr 2017 22:29:22 +0200

> Am 30.04.2017 um 16:32 schrieb Petter Gustad:
> 
>> 
>> I'm trying to build GE2011.11p1 from source on an old CentOS system.
>> 
>> When I run "./aimk" I get:
>> 
>>  CCLD   lstopo
>> libtool: link: cannot find the library `/usr/lib64/libexpat.la' or unhandled 
>> argument `/usr/lib64/libexpat.la'
>> 
>> I have libexpat.la in a different location, but how can I tell "aimk" its 
>> location?
>> 
>> I've tried LDFLAGS, which did not seem to work
>> 
>> 
>> LDFLAGS=-L$HOME/root/lib ./aimk
>> 
>> ./aimk -DLDFLAGS=-L$HOME/root/lib
>> 
>> SGE_INPUT_LDFLAGS=-L$HOME/root/lib ./aimk
>> 
>> Any ideas on how to resolve this issue?
> 
> My first attempt would be to use a more recent source from 
> https://arc.liv.ac.uk/trac/SGE

Thank you Reuti,

I tried

$ git rev-parse HEAD
9b99ef86b09516976fdad5cbd39af70667662902
$ ./aimk
In file included from ../libs/sgeobj/sge_binding.h:43,
                 from ../libs/sgeobj/sge_binding.c:39:
../libs/uti/sge_binding_hlp.h:45:21: error: hwloc.h: No such file or directory
                 In file included from ../libs/sgeobj/sge_binding.h:43,
                                  from ../libs/sgeobj/sge_binding.c:39:

So I tried to download and build hwloc which appears to be the source
of the problem. The error message I get when builing hwloc is

$ cd utils/lstopo
$ make
   CCLD     lstopo
   libtool: link: cannot find the library `/usr/lib64/libexpat.la' or unhandled 
argument `/usr/lib64/libexpat.la'
   make: *** [lstopo] Error 1

And I'm basically at the same problem. But at least now I the problem
is to get the hwloc libtool find the locally installed libexpat. Also,
here setting LDFLAGS does not seem to resolve this issue.


//Petter
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to