On Mon, Sep 17, 2001 at 05:21:42PM -0300, Luiz Fernando B. Ribeiro wrote:
> I compiled Embperl on my machine but when I upload and run a test it
> complains:
>
> error while loading shared libraries ...
> undefined symbol: Perl_get_hv
you've linked against libperl.so on your box. the server doesn't have
libperl.so (or has a different version to you).
best would be to link against libperl.a instead. how/where you find
that depends on your distribution and how perl was compiled.
on a linux box, "ldd /usr/bin/perl" will tell you what shared
libraries an executable will use when run.
an ugly, inefficient hack would be to compile everything statically
linked into your own embperl executable, try (untested):
perl Makefile.PL LINKTYPE=static MAP_TARGET=embperl
make embperl
make inst_perl # maybe
then change your scripts to "#!/path/embperl". see the relevant
section in the MakeMaker::ExtUtils documentation for other options.
--
- Gus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]