[Pkg-haskell-maintainers] Bug#712542: Undefined reference to `__hscore_hs_fileno'

Evgeny Kapun abacabadabacaba at gmail.com
Sun Jun 16 23:13:10 UTC 2013

Package: libghc-readline-dev
Severity: serious

When I try to compile any program that uses System.Console.Readline, I get these errors:

/usr/lib/haskell-packages/ghc/lib/readline- In function `sdT7_info':
(.text+0xa42a): undefined reference to `__hscore_hs_fileno'
/usr/lib/haskell-packages/ghc/lib/readline- In function `sdT7_info':
(.text+0xa49a): undefined reference to `__hscore_hs_fileno'
collect2: error: ld returned 1 exit status

When trying to use it from GHCi:

<interactive>: /usr/lib/haskell-packages/ghc/lib/readline- unknown symbol `__hscore_hs_fileno'
ghc: unable to load package `readline-'

-- System Information:
Debian Release: jessie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'oldstable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libghc-readline-dev depends on:
ii  ghc [libghc-process-dev-]  7.6.3-3
ii  libc6                                   2.17-5
pn  libghc-base-dev-           <none>
ii  libncurses5                             5.9+20130608-1
ii  libreadline6                            6.2+dfsg-0.1
ii  libtinfo5                               5.9+20130608-1

libghc-readline-dev recommends no packages.

Versions of packages libghc-readline-dev suggests:
ii  libghc-readline-doc
pn  libghc-readline-prof  <none>

-- no debconf information

More information about the Pkg-haskell-maintainers mailing list