perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <>
Subject Re: [Fwd: Re: using one mod_perl's .so in another .so?]
Date Tue, 11 Dec 2001 18:57:40 GMT
you won't be able to call it directly without some work.  see the manpage 
on dlopen and see how XSLoader/DynaLoader opens the file.  you could
change dl_load_flags to be 0x01 and bing it'll work.  but that's on your  
linux box, problems will happen on other platforms such as win32, hpux,   

you could try using apr optional functions.  or have APR::PerlIO store a   
pointer to the function you need somewhere in the perl symbol table, which
would work the same way, different api.  apr's would be cleaner.

could also build a and link the extension .so's
against it, but that would end up being painful.

there are a some other tricks, but not all are portable.

as for the header file, you could just move that to the xs/ directory.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message