curl-users
Re: build problems on solaris...
Date: Thu, 22 Aug 2002 16:23:26 +0200 (MET DST)
On Tue, 20 Aug 2002 imajes_at_php.net wrote:
> Trying to build curl on solaris...
>
> make[2]: Entering directory `/home/pkg/curl-7.9.8/lib'
> /bin/sh ../libtool --mode=link gcc -g -O2 -o libcurl.la -rpath
> /usr/local/lib -no-undefined -version-info 2:2:
[cut]
> Undefined first referenced
> symbol in file
> main /usr/local/ssl/lib/libssl.so
> ld: fatal: Symbol referencing errors. No output written to
> .libs/libcurl.so.2.0.2
I think the fix for this problem is shown below. You need to run automake
after having applied this, rerun ./config.status and then do 'make clean' and
'make'.
If you don't have automake around, you can edit the lib/Makefile.in file
accordingly too and then proceed as suggested above.
I'd appreciate if you let me know how it works!
diff -u -r1.39 Makefile.am
--- lib/Makefile.am 13 Aug 2002 14:20:47 -0000 1.39
+++ lib/Makefile.am 22 Aug 2002 14:20:45 -0000
@@ -16,7 +16,7 @@
# we use srcdir/lib for the lib-private header files
INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/lib -I$(top_srcdir)/lib
-libcurl_la_LDFLAGS = -no-undefined -version-info 2:2:0
+libcurl_la_LDFLAGS = -version-info 2:2:0
# This flag accepts an argument of the form current[:revision[:age]]. So,
# passing -version-info 3:12:1 sets current to 3, revision to 12, and age to
# 1.
-- Daniel Stenberg -- curl related mails on curl related mailing lists please ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390Received on 2002-08-22