plala wrote:
>
> I found DBI works without "install"!!!
*yawn* That's old, you can install your modules into *any* directory,
you just need to modify the makefile by typing
perl Makefile.PL LIB=/path/to/directory
then make, make test and make install. To use the module just alter @INC
or specify the complete path with use().
> -----------------------------------------------
> It seemed to me that the @INC must have ./ at it's first value.
> And the actual error message seems like next.
> -----------------------------------------------
> error---> Can't load './DBI.so' for module DBI: ld.so.1:
> /usr/local/bin/perl: fatal: relocation error: file ./DBI.so: symbol
> Perl_safemalloc: referenced symbol not found at
> /usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.
>
> at DBI.pm line 183
> BEGIN failed--compilation aborted at DBI.pm line 183.
> BEGIN failed--compilation aborted at (eval 1) line 1.
> -----------------------------------------------
> It seems to me that this error was relating with the version or some
> setting of Solairs8 of my sparc and Solaris7 of my rental server,
> because the version of perl it self is completely same 5.00503 and
> original @INC has completely same folders.
You have built the modules on Solaris 8. Perl uses libraries found on
the system. So your module is linked against Solaris 8 libraries which
are not available on Solaris 7. You have to build the module on your
rental server. If you don't have telnet or (preferrably) ssh access
write a perl script doing `make` and so on and trigger it with a
browser. Worked like a charm on my webspace. ;-))
Best regards,
Martin Stricker
--
Homepage: http://www.martin-stricker.de/
Registered Linux user #210635: http://counter.li.org/