
13 Jan
2017
13 Jan
'17
4:06 p.m.
On Fri, Jan 13, 2017 at 8:53 AM,
export DYLD_LIBRARY_PATH=/Users/dom/Library/Haskell/ghc-8.0.1/lib/ test-via-c-0.1.0.0/bin:/Library/Frameworks/GHC. framework/Versions/8.0.1-x86_64/usr/lib/ghc-8.0.1/rts
That's a good way to break things. Consider DYLD_FALLBACK_LIBRARY_PATH instead. Also, use otool -l a.out to inspect the RPATH commands embedded in a.out; that will tell you where dyld searches when it sees @rpath/Foo.dylib. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net