#2933: LDFLAGS ignored by build system
---------------------------------+------------------------------------------
    Reporter:  duncan            |        Owner:             
        Type:  bug               |       Status:  new        
    Priority:  normal            |    Milestone:  6.12 branch
   Component:  Build System      |      Version:  6.10.1     
    Severity:  normal            |   Resolution:             
    Keywords:                    |   Difficulty:  Unknown    
    Testcase:                    |           Os:  Solaris    
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by duncan):

 Replying to [comment:5 maeder]:
 > related to this ticket seems to be my problem when building ghc-6.10.3.
 I get the failure:
 >
 > {{{
 > Preprocessing library base-4.1.0.0...
 > ld.so.1: CPUTime_hsc_make: fatal: libgmp.so.3: open failed: No such file
 or directory
 > running dist/build/System/CPUTime_hsc_make failed
 > command was: dist/build/System/CPUTime_hsc_make
 >dist/build/System/CPUTime.hs
 > }}}

 > without LD_LIBRARY_PATH being set.
 >
 > It seems CPUTime_hsc_make is linked using -L/opt/csw/lib, but this path
 is not found when CPUTime_hsc_make is executed.

 We (or maybe hsc2hs) should use -rpath in this case.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2933#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to