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. > 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. Garth > modified: > cmake/templates/dolfin.conf.in > > > -- > lp:dolfin > https://code.launchpad.net/~dolfin-core/dolfin/main > > Your team DOLFIN Core Team is subscribed to branch lp:dolfin. > To unsubscribe from this branch go to > https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription > differences between files attachment (revision-diff.txt) > === modified file 'cmake/templates/dolfin.conf.in' > --- cmake/templates/dolfin.conf.in 2010-08-15 10:54:05 +0000 > +++ cmake/templates/dolfin.conf.in 2010-08-22 22:46:39 +0000 > @@ -1,6 +1,7 @@ > # Helper file for setting non-default DOLFIN environment variables > > export > ld_library_pa...@cmake_install_prefix@/@DOLFIN_LIB_DIR@:$LD_LIBRARY_PATH > +export > dyld_library_pa...@cmake_install_prefix@/@DOLFIN_LIB_DIR@:$DYLD_LIBRARY_PATH > export pa...@cmake_install_prefix@/@DOLFIN_BIN_DIR@:$PATH > export > pkg_config_pa...@cmake_install_prefix@/@DOLFIN_PKGCONFIG_DIR@:$PKG_CONFIG_PATH > export > pythonpa...@dolfin_install_python_module_dir@:@DOLFIN_INSTALL_PYTHON_EXT_DIR@:$PYTHONPATH > _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

