Peter Prymmer <[EMAIL PROTECTED]> writes:
>On Mon, 18 Dec 2000, Soumen Das wrote:
>
>> 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.
>
>XS is processed by xsubpp to produce a .c file that is then compiled and
>linked.  Have you had any luck getting a C program to call your C++ shared
>object?  The steps necessary to get that to work would be necessary
>pre-requisites for getting a Perl xs implementation to work.

xsubpp can do C++ files too - if you ask it to.

-- 
Nick Ing-Simmons

Reply via email to