In the hopes that this is not rediculous, I offer the following question in answer to your questions: is perl compiled with dynamic loading support on your system? We had trouble (for some reason) compiling perl with dynamic loading on our Unix system, and therefore we only have static linking enabled on that box.
Maybe something to check. (How do you check? I'm not sure off the top of my head, by I am sure you or someone else here knows.)
Eric
-----Original Message-----
From: Soumen Das
To: [EMAIL PROTECTED]
Sent: 12/18/2000 8:19 PM
Subject: Dynamically loading the shared objects
Hi,
I am wrapping a few C++ API's with perl xs on Solaris. The C++ API's
dynamically load a few shared objects(these shared objects are not
linked).
With a small C++ test app and using the same C++ API's, this happens
successfully. But when I do the same with the Perl wrapped API's it
fails to
dynamically load the shared object. Any reasons why this would happen
only
thru the Perl program which wraps the C++ API's ?
I am sure about my LD_LIBRARY_PATH. Also tried using the PERL5LIB
environment variable.
Regards,
Soumen
