On Sun, Aug 22, 2010 at 11:55:51PM +0100, Garth N. Wells wrote: > On Sun, 2010-08-22 at 22:49 +0000, [email protected] wrote: > > ------------------------------------------------------------ > > revno: 5052 > > committer: Anders Logg <[email protected]> > > branch nick: dolfin-dev > > timestamp: Mon 2010-08-23 00:46:39 +0200 > > message: > > Add DYLD_LIBRARY_PATH to dolfin.conf to get DOLFIN to run on OS X. > > Make the environment variable a 'variable' so we have LD_LIBRARY_PATH on > Unix/Linux and DYLD_LIBRARY_PATH on OSX in the dolfin.conf file, rather > than having both.
I don't know how to do that. Do you? Perhaps it's better setting RPATH. > > Don't know if this is the preferred way. I expect it's possible with > > some CMake option to hard-code the library path into the library > > (which seems to happen for other libraries but not for DOLFIN). > > It's the RPATH options that control it. Setting CMAKE_SKIP_RPATH=OFF? I can try it tomorrow. -- Anders _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

