Hi Karel, On Fri, Jan 25, 2013 at 08:12:53PM +0100, Karel Gardas wrote: > On 01/25/13 09:02 AM, Simon Marlow wrote: > >Hold on a minute. Why do you need to set LD_LIBRARY_PATH? It should be > >unnecessary because the binaries are linked with -rpath options so they > >can find their libraries. > > it's simple, every lib is rpath-ed except the libffi. See:
I think the right thing to do is to use rpath to find libffi too. I've reverted the testsuite patch. I'm not sure why it doesn't work already; possibly something isn't right around the getPackageLibraryPath call in DriverPipeline.linkBinary? Thanks Ian _______________________________________________ ghc-devs mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-devs
