Perl dynaloader does not find MySQL

Perl dynaloader does not find MySQL

am 06.02.2003 08:15:00 von jorgen

--------------Boundary-00=_FD7UG6G0000000000000
Content-Type: Multipart/Alternative;
boundary="------------Boundary-00=_FD7UBHK0000000000000"


--------------Boundary-00=_FD7UBHK0000000000000
Content-Type: Text/Plain;
charset="x-user-defined"
Content-Transfer-Encoding: quoted-printable

Hi!=0D
=0D
I cannot get the Perl module DBD-MySQL to work under Win XP. Recieve the
following:=0D
=0D
[Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Premature end of
script headers: add_object.pl=0D
[Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Can't load=20
C:/Perl/site/lib/auto/DBD/mysql/mysql.dll' for module DBD::mysql:
load_file:Det g=E5r inte att hitta den angivna modulen at
C:/Perl/lib/DynaLoader.pm line 229.=0D
[Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] at
C:/wwwroot/cgi-bin/sell/sellit_professional/add_object.pl line 6=0D
[Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Compilation failed =
in
require at C:/wwwroot/cgi-bin/sell/sellit_professional/add_object.pl line=
6.=0D
[Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at
C:/wwwroot/cgi-bin/sell/sellit_professional/add_object.pl line 6.=0D
=0D
Yet the mysql.dll is right there...=0D
Should I move the DBD-MySQL files somewhere else?=0D
=0D
Best regards,=0D
Jörgen Myhrman=0D
jorgen@myhrmans.net
--------------Boundary-00=_FD7UBHK0000000000000
Content-Type: Text/HTML;
charset="x-user-defined"
Content-Transfer-Encoding: quoted-printable


fined">



10px 10px; FONT-FAMILY: Arial" bgColor=3D#ffffff background=3D"" scroll=3D=
yes ORGYPOS=3D"0" X-FVER=3D"3.0">

%" border=3D0>




AMILY: Arial" width=3D"100%">
Hi!

 

I cannot get the Perl module DBD-MySQL to work under Win XP. Re=
cieve the following:

 

[Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Premature end =
of script headers: add_object.pl
[Wed Feb 05 13:56:20 2003] [error] [c=
lient 127.0.0.1] Can't load 'C:/Perl/site/lib/auto/DBD/mysql/mysql.dll' f=
or module DBD::mysql: load_file:Det g=E5r inte att hitta den angivna modu=
len at C:/Perl/lib/DynaLoader.pm line 229.
[Wed Feb 05 13:56:20 2003] =
[error] [client 127.0.0.1]  at C:/wwwroot/cgi-bin/sell/sellit_profes=
sional/add_object.pl line 6
[Wed Feb 05 13:56:20 2003] [error] [client=
127.0.0.1] Compilation failed in require at C:/wwwroot/cgi-bin/sell/sell=
it_professional/add_object.pl line 6.
[Wed Feb 05 13:56:20 2003] [erro=
r] [client 127.0.0.1] BEGIN failed--compilation aborted at C:/wwwroot/cgi=
-bin/sell/sellit_professional/add_object.pl line 6.

Yet the mysql.dll is right there...

Should I move the DBD-MySQL files somewhere else?

 

Best regards,

Jörgen Myhrman

jorgen@myhrmans.net






ABLE>
ONT face=3D"Arial, Helvetica, sans-serif" size=3D2>______________________=
______________________________
<=
A href=3D"http://www.incredimail.com/redir.asp?ad_id=3D329& ;lang=3D29"=
>3D"" " align=3Dbaseline border=3D0>  IncrediMail - E-post h=
ar äntligen utvecklats
-
om/redir.asp?ad_id=3D329&lang=3D29"> ze=3D3>Klicka här
<=
/HTML>
--------------Boundary-00=_FD7UBHK0000000000000--

--------------Boundary-00=_FD7UG6G0000000000000--

Re: Perl dynaloader does not find MySQL

am 06.02.2003 08:29:19 von Jochen Wiedmann

Quoting Jörgen Myhrman :

> [Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Can't load
> C:/Perl/site/lib/auto/DBD/mysql/mysql.dll' for module DBD::mysql:
> load_file:Det går inte att hitta den angivna modulen at
> C:/Perl/lib/DynaLoader.pm line 229.

[...]

> Yet the mysql.dll is right there...


The error message doesn't necessarily imply that it is the file
"DBD/mysql/mysql.dll", which cannot be found. I would rather guess,
that this file requires another file, which cannot be found, most
probably the MySQL shared libraries. In my case these libraries
are in C:\Prg\MySQL\lib\opt and I need that directory in the
path.


Jochen

------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread2024@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.

Re: Perl dynaloader does not find MySQL

am 06.02.2003 08:29:19 von Jochen Wiedmann

Quoting Jörgen Myhrman :

> [Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Can't load
> C:/Perl/site/lib/auto/DBD/mysql/mysql.dll' for module DBD::mysql:
> load_file:Det går inte att hitta den angivna modulen at
> C:/Perl/lib/DynaLoader.pm line 229.

[...]

> Yet the mysql.dll is right there...


The error message doesn't necessarily imply that it is the file
"DBD/mysql/mysql.dll", which cannot be found. I would rather guess,
that this file requires another file, which cannot be found, most
probably the MySQL shared libraries. In my case these libraries
are in C:\Prg\MySQL\lib\opt and I need that directory in the
path.


Jochen

------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread2024@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.

Re: Perl dynaloader does not find MySQL

am 06.02.2003 15:09:38 von Randy Kobes

On Wed, 5 Feb 2003, Jörgen Myhrman wrote:

> Hi!
>
> I cannot get the Perl module DBD-MySQL to work under Win XP. Recieve the
> following:
>
> [Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Premature end of
> script headers: add_object.pl
> [Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Can't load
> C:/Perl/site/lib/auto/DBD/mysql/mysql.dll' for module DBD::mysql:
> load_file:Det går inte att hitta den angivna modulen at
> C:/Perl/lib/DynaLoader.pm line 229.
> [Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] at
> C:/wwwroot/cgi-bin/sell/sellit_professional/add_object.pl line 6
> [Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Compilation failed in
> require at C:/wwwroot/cgi-bin/sell/sellit_professional/add_object.pl line 6.
> [Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] BEGIN
> failed--compilation aborted at
> C:/wwwroot/cgi-bin/sell/sellit_professional/add_object.pl line 6.
>
> Yet the mysql.dll is right there...
> Should I move the DBD-MySQL files somewhere else?

Try copying libmySQL.dll under, eg, C:\mysql\lib\opt\, to
somewhere in your PATH environment variable, or perhaps
to C:/Perl/site/lib/auto/DBD/mysql/.

--
best regards,
randy kobes


------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread2025@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.

Re: Perl dynaloader does not find MySQL

am 06.02.2003 15:09:38 von Randy Kobes

On Wed, 5 Feb 2003, Jörgen Myhrman wrote:

> Hi!
>
> I cannot get the Perl module DBD-MySQL to work under Win XP. Recieve the
> following:
>
> [Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Premature end of
> script headers: add_object.pl
> [Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Can't load
> C:/Perl/site/lib/auto/DBD/mysql/mysql.dll' for module DBD::mysql:
> load_file:Det går inte att hitta den angivna modulen at
> C:/Perl/lib/DynaLoader.pm line 229.
> [Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] at
> C:/wwwroot/cgi-bin/sell/sellit_professional/add_object.pl line 6
> [Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Compilation failed in
> require at C:/wwwroot/cgi-bin/sell/sellit_professional/add_object.pl line 6.
> [Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] BEGIN
> failed--compilation aborted at
> C:/wwwroot/cgi-bin/sell/sellit_professional/add_object.pl line 6.
>
> Yet the mysql.dll is right there...
> Should I move the DBD-MySQL files somewhere else?

Try copying libmySQL.dll under, eg, C:\mysql\lib\opt\, to
somewhere in your PATH environment variable, or perhaps
to C:/Perl/site/lib/auto/DBD/mysql/.

--
best regards,
randy kobes


------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread2025@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.

RE: Perl dynaloader does not find MySQL

am 06.02.2003 16:43:53 von Howard Fuchs

------=_NextPart_000_0004_01C2CDB3.80256690
Content-Type: text/plain;
charset="x-user-defined"
Content-Transfer-Encoding: 8bit

Try copying libmySQL.dll to same location as mysql.dll.

-----Original Message-----
From: Jörgen Myhrman [mailto:jorgen@myhrmans.net]
Sent: February 5, 2003 5:13 AM
To: msql-mysql-modules@lists.mysql.com
Subject: Perl dynaloader does not find MySQL


Hi!
 
I cannot get the Perl module DBD-MySQL to work under Win XP. Recieve the
following:
 
[Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Premature end of
script headers: add_object.pl
[Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Can't load
'C:/Perl/site/lib/auto/DBD/mysql/mysql.dll' for module DBD::mysql:
load_file:Det går inte att hitta den angivna modulen at
C:/Perl/lib/DynaLoader.pm line 229.
[Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1]  at
C:/wwwroot/cgi-bin/sell/sellit_professional/add_object.pl line 6
[Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Compilation failed in
require at C:/wwwroot/cgi-bin/sell/sellit_professional/add_object.pl line 6.
[Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at
C:/wwwroot/cgi-bin/sell/sellit_professional/add_object.pl line 6.

Yet the mysql.dll is right there...
Should I move the DBD-MySQL files somewhere else?
 
Best regards,
Jörgen Myhrman
jorgen@myhrmans.net

____________________________________________________
HYPERLINK "http://www.incredimail.com/redir.asp?ad_id=329&lang=29" 
IncrediMail - E-post har äntligen utvecklats - HYPERLINK
"http://www.incredimail.com/redir.asp?ad_id=329&lang=29"Klic ka här


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003


------=_NextPart_000_0004_01C2CDB3.80256690--

RE: Perl dynaloader does not find MySQL

am 06.02.2003 16:43:53 von Howard Fuchs

------=_NextPart_000_0004_01C2CDB3.80256690
Content-Type: text/plain;
charset="x-user-defined"
Content-Transfer-Encoding: 8bit

Try copying libmySQL.dll to same location as mysql.dll.

-----Original Message-----
From: Jörgen Myhrman [mailto:jorgen@myhrmans.net]
Sent: February 5, 2003 5:13 AM
To: msql-mysql-modules@lists.mysql.com
Subject: Perl dynaloader does not find MySQL


Hi!
 
I cannot get the Perl module DBD-MySQL to work under Win XP. Recieve the
following:
 
[Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Premature end of
script headers: add_object.pl
[Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Can't load
'C:/Perl/site/lib/auto/DBD/mysql/mysql.dll' for module DBD::mysql:
load_file:Det går inte att hitta den angivna modulen at
C:/Perl/lib/DynaLoader.pm line 229.
[Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1]  at
C:/wwwroot/cgi-bin/sell/sellit_professional/add_object.pl line 6
[Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] Compilation failed in
require at C:/wwwroot/cgi-bin/sell/sellit_professional/add_object.pl line 6.
[Wed Feb 05 13:56:20 2003] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at
C:/wwwroot/cgi-bin/sell/sellit_professional/add_object.pl line 6.

Yet the mysql.dll is right there...
Should I move the DBD-MySQL files somewhere else?
 
Best regards,
Jörgen Myhrman
jorgen@myhrmans.net

____________________________________________________
HYPERLINK "http://www.incredimail.com/redir.asp?ad_id=329&lang=29" 
IncrediMail - E-post har äntligen utvecklats - HYPERLINK
"http://www.incredimail.com/redir.asp?ad_id=329&lang=29"Klic ka här


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003


------=_NextPart_000_0004_01C2CDB3.80256690--