[gecode-users] hardcoded install path?
Marco Correia
marco.v.correia at gmail.com
Sat Apr 27 12:18:05 CEST 2013
Hi Guido,
It worked.
Oddly, doing
$ otool -L examples/queens
still shows a number of dependencies (fallbacks?) on non existent files:
examples/queens:
/usr/local/lib/libgecodeflatzinc.33.dylib (compatibility version 33.0.0, current version 33.0.0)
etc..
Anyway, thanks for the quick reply.
Marco
On Apr 27, 2013, at 10:23 , Guido Tack <tack at gecode.org> wrote:
> Hi,
>
> try DYLD_LIBRARY_PATH instead.
>
> Cheers,
> Guido
>
> On 27/04/2013, at 19:06, Marco Correia <marco.v.correia at gmail.com> wrote:
>
>> Hi,
>>
>> Hope I'm not doing any trivial mistake :)
>>
>> I just built Gecode-4.0.0 from source on Mac OS (12.3.0).
>>
>> I did:
>>
>> $ ./configure --disable-gist
>> $ make
>>
>> and make told me:
>>
>> Compilation of Gecode finished successfully. To use Gecode, either add
>> /Users/marco/other/cp/gecode-4.0.0
>> to your search path for libraries, or install Gecode using
>> make install
>>
>> which I did:
>>
>> $ export LD_LIBRARY_PATH=/Users/marco/other/cp/gecode-4.0.0
>> $ echo $LD_LIBRARY_PATH
>> /Users/marco/other/cp/gecode-4.0.0
>>
>> but then:
>>
>> $ examples/queens
>> dyld: Library not loaded: /usr/local/lib/libgecodeflatzinc.33.dylib
>> Referenced from: /Users/marco/other/cp/gecode-4.0.0/examples/queens
>> Reason: image not found
>> Trace/BPT trap: 5
>>
>>
>> I have some previous geocode version lying around (is there a way to "make uninstall" ?), but I guess that is not the problem.
>>
>> Thanks
>> Marco
>>
>>
>>
>> _______________________________________________
>> Gecode users mailing list
>> users at gecode.org
>> https://www.gecode.org/mailman/listinfo/gecode-users
More information about the users
mailing list