[Pkg-haskell-maintainers] Bug#773768: ghc: fails to install: cannot open shared object file: No such file or directory
Jonas Smedegaard
dr at jones.dk
Tue Dec 23 19:35:17 UTC 2014
Quoting Joachim Breitner (2014-12-23 14:33:36)
> Am Dienstag, den 23.12.2014, 14:17 +0100 schrieb Jonas Smedegaard:
>> Quoting Joachim Breitner (2014-12-23 12:54:05)
>>> Am Dienstag, den 23.12.2014, 12:04 +0100 schrieb Jonas Smedegaard:
>>>> I tried just now an upgrade from 7.6.3-20 (version in unstable) but
>>>> that fails too. Seems you tried from a previous experimental
>>>> version.
>>>>
>>>> Yes, I experience the problem on amd64. Could you try test a fresh
>>>> install?
>>>
>>> still not able to reproduce it. Maybe it requires certain haskell
>>> libraries to be installed as well? Can you provide a full log?
>>
>> [..]
>> Setting up ghc (7.8.20141119-8) ...
>> /usr/lib/ghc/bin/ghc: error while loading shared libraries: libHShaskeline-0.7.1.2-ghc7.8.3.20141119.so: cannot open shared object
>> file: No such file or directory
>> update-alternatives: using /usr/bin/ghc to provide /usr/bin/haskell-compiler (haskell-compiler) in auto mode
>> /usr/lib/ghc/bin/ghc-pkg: error while loading shared libraries: libHSterminfo-0.4.0.0-ghc7.8.3.20141119.so: cannot open shared object
>> file: No such file or directory
>> dpkg: error processing package ghc (--configure):
>> subprocess installed post-installation script returned error exit status 127
>> Errors were encountered while processing:
>> ghc
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> thanks; no idea though. I guess you’ll have to do some debugging.
>
> What does
> ldd /usr/lib/ghc/bin/ghc
> say,
root at bastian:/# ldd /usr/lib/ghc/bin/ghc
linux-vdso.so.1 (0x00007fff01dfe000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007ffba07f6000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007ffba05ed000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007ffba03ea000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ffba01e6000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ffb9ffc8000)
libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007ffb9fd45000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ffb9fa44000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007ffb9f83b000)
libHShaskeline-0.7.1.2-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../haskeline-0.7.1.2/libHShaskeline-0.7.1.2-ghc7.8.3.20141119.so (0x00007ffb9f4c2000)
libHSterminfo-0.4.0.0-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../terminfo-0.4.0.0/libHSterminfo-0.4.0.0-ghc7.8.3.20141119.so (0x00007ffb9f28c000)
libHSghc-7.8.3.20141119-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../ghc-7.8.3.20141119/libHSghc-7.8.3.20141119-ghc7.8.3.20141119.so (0x00007ffb9b85e000)
libHStransformers-0.3.0.0-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../transformers-0.3.0.0/libHStransformers-0.3.0.0-ghc7.8.3.20141119.so (0x00007ffb9b5b6000)
libHStemplate-haskell-2.9.0.0-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../template-haskell-2.9.0.0/libHStemplate-haskell-2.9.0.0-ghc7.8.3.20141119.so (0x00007ffb9b17a000)
libHShpc-0.6.0.1-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../hpc-0.6.0.1/libHShpc-0.6.0.1-ghc7.8.3.20141119.so (0x00007ffb9af4e000)
libHShoopl-3.10.0.1-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../hoopl-3.10.0.1/libHShoopl-3.10.0.1-ghc7.8.3.20141119.so (0x00007ffb9acc6000)
libHSbin-package-db-0.0.0.0-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../bin-package-db-0.0.0.0/libHSbin-package-db-0.0.0.0-ghc7.8.3.20141119.so (0x00007ffb9aaae000)
libHSbinary-0.7.1.0-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../binary-0.7.1.0/libHSbinary-0.7.1.0-ghc7.8.3.20141119.so (0x00007ffb9a835000)
libHSCabal-1.18.1.3-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../Cabal-1.18.1.3/libHSCabal-1.18.1.3-ghc7.8.3.20141119.so (0x00007ffb99cee000)
libHSprocess-1.2.0.0-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../process-1.2.0.0/libHSprocess-1.2.0.0-ghc7.8.3.20141119.so (0x00007ffb99acf000)
libHSpretty-1.1.1.1-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../pretty-1.1.1.1/libHSpretty-1.1.1.1-ghc7.8.3.20141119.so (0x00007ffb998b5000)
libHScontainers-0.5.5.1-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../containers-0.5.5.1/libHScontainers-0.5.5.1-ghc7.8.3.20141119.so (0x00007ffb994d6000)
libHSdirectory-1.2.1.0-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../directory-1.2.1.0/libHSdirectory-1.2.1.0-ghc7.8.3.20141119.so (0x00007ffb992b9000)
libHSunix-2.7.0.1-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../unix-2.7.0.1/libHSunix-2.7.0.1-ghc7.8.3.20141119.so (0x00007ffb98ff9000)
libHStime-1.4.2-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../time-1.4.2/libHStime-1.4.2-ghc7.8.3.20141119.so (0x00007ffb98d05000)
libHSold-locale-1.0.0.6-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../old-locale-1.0.0.6/libHSold-locale-1.0.0.6-ghc7.8.3.20141119.so (0x00007ffb98af4000)
libHSfilepath-1.3.0.2-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../filepath-1.3.0.2/libHSfilepath-1.3.0.2-ghc7.8.3.20141119.so (0x00007ffb988d5000)
libHSbytestring-0.10.4.0-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../bytestring-0.10.4.0/libHSbytestring-0.10.4.0-ghc7.8.3.20141119.so (0x00007ffb985f5000)
libHSdeepseq-1.3.0.2-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../deepseq-1.3.0.2/libHSdeepseq-1.3.0.2-ghc7.8.3.20141119.so (0x00007ffb983ed000)
libHSarray-0.5.0.0-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../array-0.5.0.0/libHSarray-0.5.0.0-ghc7.8.3.20141119.so (0x00007ffb98153000)
libHSbase-4.7.0.2-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../base-4.7.0.2/libHSbase-4.7.0.2-ghc7.8.3.20141119.so (0x00007ffb977d9000)
libHSinteger-gmp-0.5.1.0-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../integer-gmp-0.5.1.0/libHSinteger-gmp-0.5.1.0-ghc7.8.3.20141119.so (0x00007ffb975be000)
libHSghc-prim-0.3.1.0-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../ghc-prim-0.3.1.0/libHSghc-prim-0.3.1.0-ghc7.8.3.20141119.so (0x00007ffb97341000)
libHSrts_thr-ghc7.8.3.20141119.so => /usr/lib/ghc/bin/../rts-1.0/libHSrts_thr-ghc7.8.3.20141119.so (0x00007ffb970d1000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffb96d28000)
/lib64/ld-linux-x86-64.so.2 (0x00007ffba0a26000)
> and what does
> ls /usr/lib/ghc/haskeline-0.7.1.2
> say, after the failed installation of ghc?
root at bastian:/# ls /usr/lib/ghc/haskeline-0.7.1.2
System libHShaskeline-0.7.1.2-ghc7.8.3.20141119.so libHShaskeline-0.7.1.2.a
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20141223/ef554e11/attachment-0001.sig>
More information about the Pkg-haskell-maintainers
mailing list