George Woltman wrote:
> I went to build the 25.11 executables with libcurl staticly linked in using
> -Wl,-Bstatic -lcurl.
> Debian linux 64-bit - no problems.  FreeBSD - no problems.  Debian linux
> 32-bit - no luck.
>
> I can dynamic link just fine.  64-bit Linux uses libcurl 7.15 package.
> 32-bit linux uses libcurl 7.18.
> I tried downloading the latest libcurl sources (7.19) and things got even
> worse.  I tried configuring
> without ssl, ssh2, etc.  No luck - I'm not much of a linux expert.
>
> Ideas anyone?
>
> I'm willing to wipe Debian off the disk if some other distro can do a static
> link.  Anyone want
> to try a build on their distro?  To try it, do this:
>
> 1) Download ftp://mersenne.org/source2511.zip
> 2) cd gwnum
> 3) make
> 4) cd ../linux
> 5) make
>   
It builds under Slackware-current 32-bit, which is effectively the
pre-release of Slackware 13. It would probably work under Slackware 12.2
as well.

I just had to add  "-ldl -lrt -lidn -lldap -lz" to the library list.
This could probably be reduced by building libcurl from source and
deselecting some options.

Slackware may not be the friendliest of distros, but, where possible,
the component packages are unchanged from the original source, so you
get minimal conflicts when you build something yourself.
_______________________________________________
Prime mailing list
[email protected]
http://hogranch.com/mailman/listinfo/prime

Reply via email to