[darcs-users] building a static darcs binary from HEAD
Jason Dagit
dagit at codersbase.com
Sun Mar 28 20:01:43 UTC 2010
On Sun, Mar 28, 2010 at 5:02 AM, Trent W. Buck <trentbuck at gmail.com> wrote:
> Guillaume Hoffmann <guillaumh at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100328/e576303e/attachment.htm>
More information about the darcs-users
mailing list