Well, I was looking in the web, and people who were trying to port DBD::ORACLE
to HP11 also had the same problem with the 'Can't shl_load() a library
containing
Thread Local Storage: /usr/lib/libpthread.1'.
Their errors are exactly the same ones I am getting here, but I have 'Xerces'
and they have 'Oracle'
This link is more informative (about the error, no one replied though with any
answers) http:[EMAIL PROTECTED]/msg00003.html
I am going to try your suggestions. Thanks again Jason.
Fernando Cavalcanti Jeronymo
SIAC : (212) 383-5067
email: [EMAIL PROTECTED]
[EMAIL PROTECTED]
Science without religion is lame; religion without science is blind.
Albert Einstein.
|--------+------------------------->
| | jason@openinfor|
| | matics.com |
| | (Jason E. |
| | Stewart) |
| | |
| | 02/27/2002 |
| | 02:04 PM |
| | Please respond |
| | to xerces-p-dev|
| | |
|--------+------------------------->
>----------------------------------------------------------------------------|
| |
| To: [EMAIL PROTECTED] |
| cc: (bcc: Fernando Jeronymo/SIAC) |
| Subject: Re: HP-UX 11 Port |
>----------------------------------------------------------------------------|
"Fernando Jeronymo" <[EMAIL PROTECTED]> writes:
> Ok. Now I changed that "unsigned int arg2" to "unsigned long arg2":
>
> XS(_wrap_new_MemBufInputSource) {
> unsigned long arg2 ;
> XMLByte *xmlbytes = (XMLByte *)SvPV(ST(0), arg2);
> arg1 = new XMLByte[arg2];
> memcpy(arg1, xmlbytes, arg2);
>
>
>
> Now, gmake worked like a charm, and he did all the .o files and the
> Xerces.sl library.
Sigh.... I wish I understood this.
I'm glad it worked, I just don't understand what the problem is. Why
is SWIG generating the wrong argument???
> Then I am trying to run gmake test... and this is what I get:
>
> /home/siac/fjeronym/xerces/XML-Xerces-1.5.2_0/DOMParse
> gmake[1]: Entering directory
> `/tmp_mnt/home/siac/fjeronym/xerces/XML-Xerces-1.5.2_0/DOMParse'
> gmake[1]: Leaving directory
> `/tmp_mnt/home/siac/fjeronym/xerces/XML-Xerces-1.5.2_0/DOMParse'
> PERL_DL_NONLAZY=1 /data/dbk/tools/bin/perl -Iblib/arch -Iblib/lib
> -I/data/dbk/tools/perl/5.6.1/lib/5.6.1/PA-RISC1.1
> -I/data/dbk/tools/perl/5.6.1/lib/5.6.1 -e 'use Test::Harness qw(&runtests
> $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/AttributeList...../usr/lib/dld.sl: Can't shl_load() a library containing
> Thread Local Storage: /usr/lib/libpthread.1
> /usr/lib/dld.sl: Exec format error
> Can't load 'blib/arch/auto/XML/Xerces/Xerces.sl' for module XML::Xerces: Exec
> format error at /data/dbk/tools/perl/5.6.1/lib/5.6.1/PA-RISC1.1/DynaLoader.pm
> line 206.
This is a dynamic loading error. Most dl errors are very uninformative
(as this one is).
It might be something simple:
* did you set your LD_LIBRARY_PATH variable to include the directory
where the libxerces dynamic library (from Xerces-C) is located?
* were you able to successfully use any of the example applications
from the Xerces-C distribution (DOMCount, SAXCount)?
That bit about: 'Can't shl_load() a library containing
Thread Local Storage: /usr/lib/libpthread.1'
looks worrisome, though.
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]