building darcs failed (Unable to link against the iconv library)

Trying to install darcs with cabal-install: Linking /tmp/darcs-2.8.4-12051/darcs-2.8.4/dist/setup/setup ... Configuring darcs-2.8.4... checking whether to use -liconv... setup: Unable to link against the iconv library. Failed to install darcs-2.8.4 cabal: Error: some packages failed to install: What is actually going on here? Iconv libraries already installed with libc6 package. Running ubuntu, cabal-install-1.16.0.2. -- Best regards, dmitry malikov !

On Sun, Mar 3, 2013 at 10:21 AM, Dmitry Malikov
checking whether to use -liconv... setup: Unable to link against the iconv library. Failed to install darcs-2.8.4 cabal: Error: some packages failed to install:
What is actually going on here? Iconv libraries already installed with libc6 package. Running ubuntu, cabal-install-1.16.0.2.
Linux distinguishes between runtime and linkable libraries; you probably need to install the libc6-dev package to get the latter. (This is not a Haskell-specific issue; configure is using a C program to test the link.) -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

On 03/03/2013 10:56 PM, Brandon Allbery wrote:
On Sun, Mar 3, 2013 at 10:21 AM, Dmitry Malikov
mailto:malikov.d.y@gmail.com> wrote: checking whether to use -liconv... setup: Unable to link against the iconv library. Failed to install darcs-2.8.4 cabal: Error: some packages failed to install:
What is actually going on here? Iconv libraries already installed with libc6 package. Running ubuntu, cabal-install-1.16.0.2.
Linux distinguishes between runtime and linkable libraries; you probably need to install the libc6-dev package to get the latter. (This is not a Haskell-specific issue; configure is using a C program to test the link.)
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com mailto:allbery.b@gmail.com ballbery@sinenomine.net mailto:ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net But libc6-dev is already the newest version.
-- Best regards, dmitry malikov !

On Sun, Mar 3, 2013 at 1:59 PM, Dmitry Malikov
On 03/03/2013 10:56 PM, Brandon Allbery wrote:
On Sun, Mar 3, 2013 at 10:21 AM, Dmitry Malikov
wrote: checking whether to use -liconv... setup: Unable to link against the iconv library.
What is actually going on here? Iconv libraries already installed with libc6 package.
Linux distinguishes between runtime and linkable libraries; you probably need to install the libc6-dev package to get the latter. (This is not a Haskell-specific issue; configure is using a C
But libc6-dev is already the newest version.
Then you'll have to check config.log (this probably means doing the build manually with "cabal unpack darcs" and then running "cabal install" without a package name from the directory with the darcs.cabal file) to see what's going wrong. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

On 03/03/2013 11:09 PM, Brandon Allbery wrote:
On Sun, Mar 3, 2013 at 1:59 PM, Dmitry Malikov
mailto:malikov.d.y@gmail.com> wrote: On 03/03/2013 10:56 PM, Brandon Allbery wrote:
On Sun, Mar 3, 2013 at 10:21 AM, Dmitry Malikov
mailto:malikov.d.y@gmail.com> wrote: checking whether to use -liconv... setup: Unable to link against the iconv library.
What is actually going on here? Iconv libraries already installed with libc6 package.
Linux distinguishes between runtime and linkable libraries; you probably need to install the libc6-dev package to get the latter. (This is not a Haskell-specific issue; configure is using a C
But libc6-dev is already the newest version.
Then you'll have to check config.log (this probably means doing the build manually with "cabal unpack darcs" and then running "cabal install" without a package name from the directory with the darcs.cabal file) to see what's going wrong.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com mailto:allbery.b@gmail.com ballbery@sinenomine.net mailto:ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net The whole reason of that strange behavior was old libcurl lib or the missed curl-dev lib.
I update licurl4-gnutls-dev from libcurl3-gnutls and it pass. -- Best regards, dmitry malikov !
participants (2)
-
Brandon Allbery
-
Dmitry Malikov