[GHC] #648: Problem resolving library paths (missing path in package.conf?)

GHC trac at galois.com
Tue Jan 10 12:32:01 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 guest):

 I tried the FreeBSD solution (adding "-L${prefix}/lib" to the end of the
 ld-options field in package.conf.in. It does not work.  (Same behavior
 as noted in my original bug report.) I suspect that the patch doesn't
 actually
 do anything on FreeBSD either these days; it may have been required by
 an earlier version of ghc.  On FreeBSD, ghci seems to find the readline
 library
 because it is on the standard library search path.

 Darwinports allows its directory tree to be anywhere (and particularly
 allows it to be in a place where one can install software without root
 privilege).  So it looks like I have to edit package.conf after it is
 installed
 to add the extra library directory.

 It would be helpful if there were an config.mk variable which could be set
 in build.mk, to add the extra directory to the generated package.conf.

 -Greg

-- 
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