Subject: Re: Shared libraries and libtool
To: Murray Armfield , Nick Hudson <skrll@netbsd.org>
From: Nick Hudson <skrll@netbsd.org>
List: netbsd-help
Date: 03/22/2002 09:14:01
On Friday 22 March 2002 9:06 am, Murray Armfield wrote:
> The specific problem I'm trying to get around is the final linking stage of 
> xerces-c. I have built all objects succesfully using libtool as documented
> in Packages.txt. Thought that if there was a quick answer to this, things 
> might fall into place.
> 
> The error I have is...
> 
> /usr/pkg/bin/libtool  --mode=link c++ -DNETBSD -rpath /usr/pkg/lib 
> -L/usr/home/admin/DEVELOPMENT/pkgsrc/textproc/xerces-c/work/.buildlink/lib  
> -Wl,-R/usr/pkg/lib -version-info 1:7 -o 
> 
/usr/home/admin/DEVELOPMENT/pkgsrc/textproc/xerces-c/work/xerces-c-src1_7_0/lib/libxerces-c1_7_0.so


This should end in .la not .so. libtool detects the -o foo.la to mean create 
a library.

Nick