[Haskell-cafe] Cabal bug? (was Re: Cabal: --enable-shared and executables)
christiaan.baaij at gmail.com
Tue Nov 5 08:42:28 UTC 2013
Indeed I want to point out that dynamic library locations are already handled differently between OS X and Linux in GHC(-head), not just Cabal: http://ghc.haskell.org/trac/ghc/ticket/8266#comment:14
So perhaps there should be a 'proper' fix/design on how to deal with dynamic library location in both GHC and Cabal.
On Nov 4, 2013, at 12:13 AM, Brandon Allbery <allbery.b at gmail.com> wrote:
> On Sun, Nov 3, 2013 at 5:05 PM, Albert Y. C. Lai <trebla at vex.net> wrote:
> It is usually desirable to set RPATH to libs' installation locations rather than libs' build trees
> May I note that this is system dependent? OS X compiles in full paths (and DYLD_LIBRARY_PATH overrides these, which is part of why it's much more dangerous than Linux's LD_LIBRARY_PATH). On the other end, I don't think Windows has much of an RPATH mechanism at all.
> brandon s allbery kf8nh sine nomine associates
> allbery.b at gmail.com ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe