|
From: EXT-Smith, E. M <eri...@bo...> - 2003-10-14 14:53:40
|
Andreas, Leif, et. al.
Thanks for the info and responses.
Last night, after tracking down the UnsatisfiedLinkError from the =
System.loadLibrary("wrapper") call, I sat down with our local HP-UX guy =
and we spent some time on the problem.
After about 45 minutes we successfully launched the wrapper in its test =
configuration (as supplied in the wrapper_3.0.5_src distro).
We had to make some modifications to the makefile, startup script files, =
and .conf files to use the gcc compiler (I will be packaging them up and =
sending them in to Leif later today or tomorrow after a complete round =
of testing).
As for building and linking with the gcc or cc/ld compilers exclusively, =
our working solution uses the following:
gcc to compile and link wrapper executable
gcc to compile libwrapper.sl
ld -b to link libwrapper.sl
*** NOTE *** the .sl extension instead of the .so extension on the =
shared library.
Eric M. Smith
InfoStructure Systems
Boeing Chairman's Innovation Initiative
-----Original Message-----
Subject: RE: [Wrapper-user] Re: HP-UX libwrapper.so fails to load
Date: Mon, 13 Oct 2003 10:40:52 +0200
From: "Andreas Wendt" <And...@ei...>
To: <wra...@li...>
Reply-To: wra...@li...
Eric,
since you didn't provide the error messages you get when running the =3D
wrapper, it's hard to tell what your problem is.
I'm also not quite sure if you mentioned it, but what are the versions =
=3D
of your OS and GCC?
BTW, you should link the executable and the library with the same linker =
=3D
and not one with gcc and one with ld.
Cheers,
Andreas
|