[PATCH] fix runtests to set LD_LIBRARY_PATH environment variable
Ian Lynagh
ian at well-typed.com
Sat Jan 26 01:35:44 CET 2013
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
More information about the ghc-devs
mailing list