#3072: considerations for management of shared libs
 Reporter:  duncan        |           Type:  feature request 
   Status:  new           |       Priority:  low             
Milestone:  7.6.2         |      Component:  Package system  
  Version:  6.10.1        |       Keywords:                  
       Os:  Linux         |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown  |     Difficulty:  Unknown         
 Testcase:                |      Blockedby:                  
 Blocking:                |        Related:                  

Comment(by markwright):

 Replying to [comment:14 simonmar]:
 > @markwright: will this work when the libraries are in the build tree, or
 only when installed?

 Only when they are installed (where it works great, I built 170 pkgs from
 hackage using in the Gentoo Haskell overlay with 7.7.20121102 using this
 patch with no LD_LIBRARY_PATH).

 In the build tree it can not find the libraries (of course a workaround
 would be to set LD_LIBRARY_PATH):

 argus (ghclive) ghc-9999 $ env | grep LD_LIBRARY_PATH
 argus (ghclive) ghc-9999 $ find . -type f -name libHScontainers*.so -print
 argus (ghclive) ghc-9999 $ ldd libraries/containers/dist-
         linux-vdso.so.1 (0x00007fffae782000)
         libHSdeepseq- => not found
         libHSarray- => not found
         libHSbase- => not found
         libHSinteger-gmp- => not found
         libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x00007f36da50e000)
         libHSghc-prim- => not found
         libc.so.6 => /lib64/libc.so.6 (0x00007f36da168000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f36dab6e000)
 argus (ghclive) ghc-9999 $

Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3072#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

Glasgow-haskell-bugs mailing list

Reply via email to