[GHC] #648: Problem resolving library paths (missing path in
package.conf?)
GHC
trac at galois.com
Wed Jan 11 06:28:07 EST 2006
#648: Problem resolving library paths (missing path in package.conf?)
----------------------------------+-----------------------------------------
Reporter: gwright at antiope.com | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.4.1
Severity: normal | Resolution:
Keywords: | Os: MacOS X
Difficulty: Easy (1 hr) | Architecture: powerpc
----------------------------------+-----------------------------------------
Comment (by vs at foldr.org):
Just a clarification: GHCi doesn't use paths from ldOptions at all. The
flag is only for invoking the linker on compilation. My comment was rather
"It's easier to fix it in the Darwin-framework than in fptools. Take a
look at what's FreeBSD doing for a related (although different) issue".
But you're right, for some obscure instances FreeBSD might also need the
additional path as well for readline in GHCi. Maybe
ghc::compiler::ghci::Linker.lhs::linkPackage should grep ldOptions for
"-L", like it is currently doing for "-l". IIRC, libraryDirs is supposed
to point to Haskell-land only. Simon?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/648>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list