[Xapian-devel] xapian-config --libs output on Suse 10.1

James Aylett james-xapian at tartarus.org
Mon Oct 2 15:03:00 BST 2006

[Please keep correspondance on-list.]

On Mon, Oct 02, 2006 at 03:25:47PM +0200, Jean-Francois Dockes wrote:

> On Solaris, xapian-config --libs just prints "-L/usr/local/lib -lxapian". 
> Can you mix g++ and Sun CC c++ objects anyway ? If you are linking
> with g++, I think it can figure out about libgcc_s

You can't mix g++ and Sun Forte C++ afaik due to different name
mangling conventions. I've had -lgcc_s issues before on Solaris (with
Berkeley DB), which is why I mentioned it. (But there it did
automatically figure it out, yes.)

>  > Do you have the config.log file from xapian-core? Actually, your
>  > libxapian.la might be more helpful - it'll be in /usr/lib judging by
>  > the above output.
> I am attaching libxapian.la, and libstdc++.la because the flags seem to be
> coming from there.

As Olly says, libxapian.la shouldn't be referencing this at all. If
you edit it out, do things compile smoothly for you?


  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org

More information about the Xapian-devel mailing list