cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: compile question Solaris 5.8, curl 7.15.4

From: Kevin Martin <kevintm_at_ameritech.net>
Date: Fri, 28 Jul 2006 08:55:05 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan,

Ok, started everything from scratch, only exporting LD_LIBRARY_PATH and PATH. reran the config (yay, it worked!!) and ran a make
(yay, that worked too!) but, there's always a but, when I tried to link curl statically, it failed because of Sun not having a
libdl.a file. So I had to compile up the dlstub.c stuff and link statically to that and it looks like it's all working now.

Thanks for all of your help.

Kevin

Daniel Stenberg wrote:
> On Thu, 27 Jul 2006, Kevin Martin wrote:
>
>> And I did the configure this way:
>>
>> export
>> LD_LIBRARY_PATH=/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.2:/usr/local/ssl/lib:/usr/local/lib:/usr/lib:/usr/ccs/lib:$LD_LIBRARY_PATH
>>
>> export PATH=/usr/local/bin:$PATH
>> export CPPFLAGS="-I/usr/include/sys -I/usr/local/ssl/include"
>
> Why do you set these to CPPFLAGS? I suspect at least the first is
> plainly confusing to the build process and the second just redundant.
>
>> export LIBS="-lnsl -lssl -lcrypto -ldl -lsocket"
>
> Why do you set these? configure should figure out by itself if it needs
> these and set LIBS accordingly.
>
>> ./configure --prefix=/opt/curl --disable-ldap --enable-http
>> --enable-manual --enable-thread --enable-verbose --enable-debug -
>> --enable-cookies --enable-static --disable-shared
>> --with-ssl=/usr/local/ssl
>
> Note that you probably won't want --enable-debug on a production system.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEyhc5aXZlxDxYaM4RAquzAKC99rF3UGTK8o++o7ZB9rogg6JmrQCgnz1c
1DtiylxODPVT/md0eoCeZE8=
=fGft
-----END PGP SIGNATURE-----
Received on 2006-07-28

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET