HEAD doesn't build (was Re: patch applied (ghc): Add hardwire-lib-paths option and make it default for inplace invocations)

Simon Marlow simonmarhaskell at gmail.com
Wed Aug 1 06:36:40 EDT 2007


Roman Leshchinskiy wrote:
> Simon Marlow wrote:
>>
>> We had a discussion on glasgow-haskell-users recently about whether to 
>> use libtool, and the general concensus was not:
> 
> Hmm, I missed that one completely. It's probably too late for me to jump 
> in but I just don't see how the approach you outlined in
> 
> http://www.haskell.org/pipermail/glasgow-haskell-users/2007-June/012740.html 
> 
> 
> deals with systems which don't *have* an rpath and with users who 
> manually set LD_LIBRARY_PATH. To be entirely honest, I suspect that what 
> you are trying to achieve can't be done portably and reliably.

I don't expect it to be portable.  So on MacOS X, is it the case that the 
only way to build a binary that links to a particular shared library 
outside the system location is to use LD_LIBRARY_PATH?  How does libtool 
work on this OS?

Cheers,
	Simon



More information about the Cvs-ghc mailing list