#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 ./libraries/containers/dist- install/build/libHScontainers-0.5.0.0-ghc7.7.20121102.so argus (ghclive) ghc-9999 $ ldd libraries/containers/dist- install/build/libHScontainers-0.5.0.0-ghc7.7.20121102.so linux-vdso.so.1 (0x00007fffae782000) libHSdeepseq-1.3.0.1-ghc7.7.20121102.so => not found libHSarray-0.4.0.1-ghc7.7.20121102.so => not found libHSbase-4.6.0.0-ghc7.7.20121102.so => not found libHSinteger-gmp-0.5.0.0-ghc7.7.20121102.so => not found libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x00007f36da50e000) libHSghc-prim-0.3.0.0-ghc7.7.20121102.so => 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 Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs