Hi Thorsten,

* Thorsten Glaser wrote on Wed, Sep 21, 2005 at 10:05:53PM CEST:
> Olly Betts dixit:
> >On 2005-09-21, Peter O'Gorman <[EMAIL PROTECTED]> wrote:
> >> IIRC, archive_cmds on openbsd does not use -nostdlib, so having empty
> >> postdeps ought to be okay.
> >
> >It looks like the problem is that "g++ -shared" doesn't link to libstdc++.
> 
> gcc -shared creates a shared library.
> 
> On OpenBSD, shared libraries do not link against other shared libraries.
> The main programme must link against all these.

OK, but this is exactly one thing libtool was designed to do for you:
keep track of the libraries you also have to link against; it should
have added -lstdc++ to _xapian.la's dependency_libs.

Cheers,
Ralf


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to