nsapi_perl
view release on metacpan or search on metacpan
nsapi_perl.pod view on Meta::CPAN
=head1 DYNAMIC LOADING OF EXTENSIONS
When you put a statement in a module that causes automatic loading of
a Perl extension, such as
use Socket;
you may get error messages from the run-time loader that look like:
Can't load '/path/lib/perl5/arch/auto/Foo/Foo.so' for module Foo:
ld.so.1: ./ns-httpd: fatal: relocation error: symbol not found:
Perl_sv_undef: referenced in '/path/lib/perl5/arch/auto/Foo/Foo.so'
at /path/lib/perl5/arch/5.00404/DynaLoader.pm line 166.
This is because the Perl library is loaded into the Netscape server by
dlopen(3) (or its equivalent). On many platforms symbols contained in
objects loaded in by dlopen are not visibile to other objects loaded
in by dlopen (such as Foo.so in the above example).
On some operating systems, this restriction may be worked around by
adding the B<shlib> argument to the nsapi_perl_init() function call in
( run in 1.008 second using v1.01-cache-2.11-cpan-5511b514fd6 )