[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 13:17:55 UTC 2014
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?
root at bastian:/# apt-get install ghc && apt-get install -t experimental ghc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libbsd-dev libbsd0 libffi-dev libffi6 libgmp-dev libgmpxx4ldbl
Suggested packages:
ghc-prof ghc-doc haskell-doc llvm libgmp10-doc libmpfr-dev
The following NEW packages will be installed:
ghc libbsd-dev libbsd0 libffi-dev libffi6 libgmp-dev libgmpxx4ldbl
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/26.4 MB of archives.
After this operation, 295 MB of additional disk space will be used.
Do you want to continue? [Y/n]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "da_DK.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
debconf: delaying package configuration, since apt-utils is not installed
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
Selecting previously unselected package libbsd0:amd64.
(Reading database ... 11085 files and directories currently installed.)
Preparing to unpack .../libbsd0_0.7.0-2_amd64.deb ...
Unpacking libbsd0:amd64 (0.7.0-2) ...
Selecting previously unselected package libffi6:amd64.
Preparing to unpack .../libffi6_3.1-2+b2_amd64.deb ...
Unpacking libffi6:amd64 (3.1-2+b2) ...
Selecting previously unselected package libgmpxx4ldbl:amd64.
Preparing to unpack .../libgmpxx4ldbl_2%3a6.0.0+dfsg-6_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.0.0+dfsg-6) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../libgmp-dev_2%3a6.0.0+dfsg-6_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.0.0+dfsg-6) ...
Selecting previously unselected package libffi-dev:amd64.
Preparing to unpack .../libffi-dev_3.1-2+b2_amd64.deb ...
Unpacking libffi-dev:amd64 (3.1-2+b2) ...
Selecting previously unselected package libbsd-dev:amd64.
Preparing to unpack .../libbsd-dev_0.7.0-2_amd64.deb ...
Unpacking libbsd-dev:amd64 (0.7.0-2) ...
Selecting previously unselected package ghc.
Preparing to unpack .../ghc_7.6.3-20_amd64.deb ...
Unpacking ghc (7.6.3-20) ...
Setting up libbsd0:amd64 (0.7.0-2) ...
Setting up libffi6:amd64 (3.1-2+b2) ...
Setting up libgmpxx4ldbl:amd64 (2:6.0.0+dfsg-6) ...
Setting up libgmp-dev:amd64 (2:6.0.0+dfsg-6) ...
Setting up libffi-dev:amd64 (3.1-2+b2) ...
Setting up libbsd-dev:amd64 (0.7.0-2) ...
Setting up ghc (7.6.3-20) ...
update-alternatives: using /usr/bin/runghc to provide /usr/bin/runhaskell (runhaskell) in auto mode
update-alternatives: using /usr/bin/ghc to provide /usr/bin/haskell-compiler (haskell-compiler) in auto mode
Processing triggers for libc-bin (2.19-13) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libncurses5-dev libtinfo-dev
Suggested packages:
ghc-prof ghc-doc haskell-doc llvm-3.4 ncurses-doc
The following NEW packages will be installed:
libncurses5-dev libtinfo-dev
The following packages will be upgraded:
ghc
1 upgraded, 2 newly installed, 0 to remove and 11 not upgraded.
Need to get 0 B/36.0 MB of archives.
After this operation, 110 MB of additional disk space will be used.
Do you want to continue? [Y/n]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "da_DK.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
debconf: delaying package configuration, since apt-utils is not installed
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
Selecting previously unselected package libtinfo-dev:amd64.
(Reading database ... 12528 files and directories currently installed.)
Preparing to unpack .../libtinfo-dev_5.9+20140913-1+b1_amd64.deb ...
Unpacking libtinfo-dev:amd64 (5.9+20140913-1+b1) ...
Selecting previously unselected package libncurses5-dev:amd64.
Preparing to unpack .../libncurses5-dev_5.9+20140913-1+b1_amd64.deb ...
Unpacking libncurses5-dev:amd64 (5.9+20140913-1+b1) ...
Preparing to unpack .../ghc_7.8.20141119-8_amd64.deb ...
Unpacking ghc (7.8.20141119-8) over (7.6.3-20) ...
Setting up libtinfo-dev:amd64 (5.9+20140913-1+b1) ...
Setting up libncurses5-dev:amd64 (5.9+20140913-1+b1) ...
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)
- 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/bc905b6d/attachment.sig>
More information about the Pkg-haskell-maintainers
mailing list