Hi, /usr/local is the default installation location and those paths are indeed hard coded (as usual). If you did a make install that's where the files would end up.
Cheers, Guido On 27/04/2013, at 20:18, Marco Correia <marco.v.corr...@gmail.com> wrote: > 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 <t...@gecode.org> wrote: > >> Hi, >> >> try DYLD_LIBRARY_PATH instead. >> >> Cheers, >> Guido >> >> On 27/04/2013, at 19:06, Marco Correia <marco.v.corr...@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@gecode.org >>> https://www.gecode.org/mailman/listinfo/gecode-users > _______________________________________________ Gecode users mailing list users@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users