Philip Smeuninx wrote:
> I receive the following error :
> Can't load module DBI, dynamic loading not available in this perl.
> (You may need to build a new perl executable which either supports
> dynamic loading or has the DBI module statically linked into it.)
> at /usr/lib/perl5/site_perl/5.005/i686-linux/DBI.pm line 158
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.005/i686-linux/DBI.pm line 158.
> BEGIN failed--compilation aborted at test.pl line 3.
> I don't want rebuild perl, is ther another way?
If you really don't want to rebuild perl, the answer is "no".
However, I can hardly see an advantage of a Perl without support
for dynamic modules? I'd really recommend you use a Perl as
distributed with your Linux version.
Besides, you overestimate the amount of work being done for creating
a statically linked Perl. With a dynamically linked Perl you do a
To get a statically linked Perl you do instead
perl Makefile.PL LINKTYPE=static
for both DBI and the Msql-Mysql-modules.
Jochen Wiedmann joe@stripped
Life has brown and green eyes. :-) +49 7123 14887