curl-users
Re: build problems on solaris...
Date: Thu, 22 Aug 2002 11:56:41 -0600
Well, I edited libtool to use gld not ld, and it worked out great...
-- james
Daniel Stenberg <daniel_at_haxx.se> wrote:
> 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.
>
___________________________________________________________
This mail sent using V-webmail - http://www.v-webmail.co.uk
-------------------------------------------------------
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=vs3390
Received on 2002-08-22