On Fri, May 04, 2001 at 01:24:54AM -0700, Christopher Mihaly wrote:
> I am porting an application from IRIX to Linux. The application
> uses perl5.005_003 and has embedded perl via XS into a dynamic
> library that is loaded at run-time through a dlopen()/dlsym() call.
> The application work fine on IRIX.
>
> We built perl5.005_003 on Linux with basically all the standard
> switches for a Linux build . The only thing we changed was the
> install location. The perl interpreter itself works fine, it
> reads and executes scripts and can load various Perl modules
> including dynamic libraries.
>
> However, our application embeds per in a dynamic library that is
> loaded at runtime via dlopen. This causes problems when perl
> tries to load a module that has a dynamic library (such as IO).
> For some reason, you get a unresolved symbol PL_sv_undef.
Try to dlopen() your library with RTLD_GLOBAL flag set.
HTH, Cheers,
-Anton.
--
May the tuna salad be with you.