Nicod Thomas
2007-09-05 08:55:35 UTC
Hi everybody,
I'm currently trying to bind my CXX application to a simple Perl script using XS.
I have carefully followed all the instructions given on the perl "XStut" page ()http://search.cpan.org/~nwclark/perl-5.8.8/pod/perlxstut.pod to create a simple architecture including the "mylib" sub-directory.
Now I would like to switch to C++.
I managed to include simple personal headers from my project. It only works if I switch file extensions to CXX and HXX (compilation errors otherwise).
Creation of the Makefile and Compilation phases work fine.
But when I try to execute the "test.pl" script, I'm facing the following error:
Can't load 'Montest2AIX.so' for module Montest2AIX: rtld: 0712-001 Symbol invoke was referenced from module Montest2AIX.so(), but a runtime definition of the symbol was not found.
rtld: 0712-002 fatal error: exiting. at DynaLoader.pm line 230. at test.pl line 13
My config: xlC_r on AIX 5.3
Thanks for your advices.
I'm currently trying to bind my CXX application to a simple Perl script using XS.
I have carefully followed all the instructions given on the perl "XStut" page ()http://search.cpan.org/~nwclark/perl-5.8.8/pod/perlxstut.pod to create a simple architecture including the "mylib" sub-directory.
Now I would like to switch to C++.
I managed to include simple personal headers from my project. It only works if I switch file extensions to CXX and HXX (compilation errors otherwise).
Creation of the Makefile and Compilation phases work fine.
But when I try to execute the "test.pl" script, I'm facing the following error:
Can't load 'Montest2AIX.so' for module Montest2AIX: rtld: 0712-001 Symbol invoke was referenced from module Montest2AIX.so(), but a runtime definition of the symbol was not found.
rtld: 0712-002 fatal error: exiting. at DynaLoader.pm line 230. at test.pl line 13
My config: xlC_r on AIX 5.3
Thanks for your advices.