5 messages in com.mysql.lists.perlRe: Can't load module DBI, dynamic lo...| From | Sent On | Attachments |
|---|---|---|
| Philip Smeuninx | 25 Aug 1999 02:32 | |
| artlore | 25 Aug 1999 09:31 | |
| Jochen Wiedmann | 25 Aug 1999 11:23 | |
| Philip Smeuninx | 26 Aug 1999 01:59 | |
| Jochen Wiedmann | 27 Aug 1999 00:21 |
| Subject: | Re: Can't load module DBI, dynamic loading not available in this perl.![]() |
|---|---|
| From: | Philip Smeuninx (psme...@cisco.com) |
| Date: | 08/26/1999 01:59:17 AM |
| List: | com.mysql.lists.perl |
Thanks for the reply,
I did the rebuild of Perl and I specified to use dynamic loading. But he still gives the same error. Do I have to reboot the system (since it is a system that is in production, this is hard and prob has to be done during the night) I also tryed to static link the modules to perl like you suggested, but also here the same error stays.
Many thanks,
Philip
On Aug 25, 7:32pm, Jochen Wiedmann wrote:
Subject: Re: Can't load module DBI, dynamic loading not available in this Philip Smeuninx wrote:
Hi,
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
perl Makefile.PL make make test make install
To get a statically linked Perl you do instead
perl Makefile.PL LINKTYPE=static make make test make install make installperl
for both DBI and the Msql-Mysql-modules.
Bye,
Jochen
-- Jochen Wiedmann jo...@ispsoft.de Life has brown and green eyes. :-) +49 7123 14887
-- End of excerpt from Jochen Wiedmann
--
|| || | TAC BRUSSELS - CATS TEAM || || | Smeuninx Philip,<psme...@cisco.com> |||| |||| | TEL: +32 (2) 704 5231 .:||||||:..:||||||:. | FAX: cisco Systems, Inc. | Empowering The Internet Generation (tm). ****************************************************************




