On Sun, Mar 28, 2010 at 5:02 AM, Trent W. Buck <trentb...@gmail.com> wrote:

> Guillaume Hoffmann <guilla...@gmail.com> writes:
>
> > I also have it, yet linking fails.
>
> I can reproduce this on Debian Sid, with a local build of hashed-storage
> 0.4.10 (everything else is stock Sid packages):
>
>    # runghc Setup configure -fstatic
>    [...]
>    # runghc Setup build
>    [...]
>    [139 of 139] Compiling Main ( src/darcs.hs,
> dist/build/darcs/darcs-tmp/Main.o )
>     Linking dist/build/darcs/darcs ...
>    /usr/bin/ld: cannot find -licuuc
>     collect2: ld returned 1 exit status
>
>    # COLUMNS=60 dpkg -l libicu-dev | cat
>    [...]
>    ||/ Name           Version        Description
>
>  
> +++-==============-==============-============================================
>    ii  libicu-dev     4.2.1-3        Development files for International
> Componen
>
> If memory serves, static linking requires a .ar, and libicu-dev contains
> only .so files.  No package in Debian provides an icu.ar file:
>
>    $ apt-file search -x icu.*\\.ar$
>     $
>
>
I've always used .a not .ar, for static linking.

Jason
_______________________________________________
darcs-users mailing list
darcs-users@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to