Dmitry Malikov | 3 Mar 16:21 2013
Picon

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
!
Brandon Allbery | 3 Mar 19:56 2013
Picon

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

On Sun, Mar 3, 2013 at 10:21 AM, Dmitry Malikov <malikov.d.y <at> 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 <at> gmail.com                                  ballbery <at> sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Dmitry Malikov | 3 Mar 19:59 2013
Picon

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

On 03/03/2013 10:56 PM, Brandon Allbery wrote:
On Sun, Mar 3, 2013 at 10:21 AM, Dmitry Malikov <malikov.d.y <at> 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 <at> gmail.com                                  ballbery <at> sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
But libc6-dev is already the newest version.

-- Best regards, dmitry malikov !
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Brandon Allbery | 3 Mar 20:09 2013
Picon

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

On Sun, Mar 3, 2013 at 1:59 PM, Dmitry Malikov <malikov.d.y <at> gmail.com> wrote:
On 03/03/2013 10:56 PM, Brandon Allbery wrote:
On Sun, Mar 3, 2013 at 10:21 AM, Dmitry Malikov <malikov.d.y <at> 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 <at> gmail.com                                  ballbery <at> sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Dmitry Malikov | 4 Mar 06:37 2013
Picon

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

On 03/03/2013 11:09 PM, Brandon Allbery wrote:
On Sun, Mar 3, 2013 at 1:59 PM, Dmitry Malikov <malikov.d.y <at> gmail.com> wrote:
On 03/03/2013 10:56 PM, Brandon Allbery wrote:
On Sun, Mar 3, 2013 at 10:21 AM, Dmitry Malikov <malikov.d.y <at> 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 <at> gmail.com                                  ballbery <at> 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 !
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Gmane