#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 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
}}}
after
{{{
./configure --with-gmp-includes=/opt/csw/include --with-gmp-
libraries=/opt/csw/lib
gmake
}}}
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.
Configuring without the with-gmp-flags everything works fine (because ghc
re-builds gmp)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2933#comment:5>
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