-----BEGIN PGP SIGNED MESSAGE-----
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.
Daniel Stenberg wrote:
> On Thu, 27 Jul 2006, Kevin Martin wrote:
>> And I did the configure this way:
>> 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
> 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
-----END PGP SIGNATURE-----
Received on 2006-07-28