On 30/10/02 02:28 +0000, Christian Goetze wrote:
> Apologies if this is not the best address - please feel free to forward
> this to the appropriate forum.
> 
> I am trying to use Inline from within an embedded perl interpreter. The
> problem I'm running into is that any method defined as a C function will
> not cause the .so to be loaded, giving me this type of error:
> 
> Can't locate object method "new" via package "Yax" (perhaps you forgot to
> load "Yax"?)
> 
> The exact same code will run fine when run from a standalone perl script.
> 
> Do you know of any fundamental limitations when running from an embedded
> perl interpreter linked in via libperl.a?
> 
> Thanks in advance - and great work on a potentially extremely useful
> module!!!

Hrm. What happens when you build a new XS module from CPAN? Does it get
linked into libperl.a? This might be problematic for Inline. If you could
tell me how to build a static Perl I could look into it myself. I haven't
played much in this realm. I don't recall whether inline forces a dynamic
build.

I'm cc'ing [EMAIL PROTECTED] mailing list. Let's keep the thread going there.
Neil Watkiss will probably know the answer :)

Cheers, Brian

Reply via email to