Re: Building Xercesperl on Tru64 5.1a

[email protected] (Jason E. Stewart)
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <[email protected]>
Christian Orsatti <[email protected]> writes:

> ar cr tmp.a Xerces.o
> : tmp.a

Ah, so it makes a temp archive from Xerces.o, how strange.

> LD_RUN_PATH="/usr/shlib:/usr/packages/lib" g++ -o
> blib/arch/auto/XML/Xerces/Xerces.so  -shared  -expect_unresolved -msym
> -std -s  -L/usr/local/lib -all tmp.a  blib/arch/auto/Handler/Handler.a
> -lpthread -L/usr/packages/lib -lxerces-c
> 
> chmod 755 blib/arch/auto/XML/Xerces/Xerces.so
> cp Xerces.bs blib/arch/auto/XML/Xerces/Xerces.bs
> chmod 644 blib/arch/auto/XML/Xerces/Xerces.bs
> 
> Xerces.so still empty.

That is very odd.

> But I manage create a correct Xerces.so lib.  to make it so, I take
> all the tmp.a and Handler.a I de-assemble then (ar x) to get all .o
> file Then I run ld by hand will the following command: ld -o
> Xerces.so *.o -shared -lpthread
> /usr/packages/lib/libxerces-c.so.23.0 I had some stderr output but
> it created a Xerces.so that seems to work (at least with my code)

Good, thanks for posting your success. I wish I could find a way to
make it work out-of-the box, but I don't have access to any Tru64 machines.

> By the way, I need post some questions about using Xerces.pm. Is
> this list the right place or is there any other list ?

This is the correct list, ask away!

jas.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.