RE: Mysql Perl DBI DBD Version Compatability for MAC OS 10.6

2009-10-05 Thread Gavin Towey
I'm using:
DBD::mysql 3.007
DBI 1.52
Perl 5.8.8


That output looks like missing shared library dependencies to me, but maybe 
someone else has a better idea.

Try:
Ldconfig -p | grep mysql

And see if you see something like:
libmysqlclient.so (libc6,x86-64) => /usr/lib64/libmysqlclient.so

in the output.  If not you may have to find it and make sure ldconfig knows 
about it.

You should also be able to use ldd to check shared lib dependencies.

Regards,
Gavin Towey

-Original Message-
From: Hagen Finley [mailto:finha...@comcast.net]
Sent: Monday, October 05, 2009 1:30 PM
To: Gavin Towey
Cc: mysql@lists.mysql.com
Subject: Re: Mysql Perl DBI DBD Version Compatability for MAC OS 10.6

Here is the error I am receiving ( I posted this issue in the recent past):

dyld: lazy symbol binding failed: Symbol not found: _mysql_init
  Referenced from:
/Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle
  Expected in: flat namespace

dyld: Symbol not found: _mysql_init
  Referenced from:
/Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle
  Expected in: flat namespace

Trace/BPT trap


Could you send me the versions of Perl, DBD & DBI you are using?

Hagen


On 10/5/09 1:16 PM, "Gavin Towey"  wrote:

> MySQL Server can be 32 or 64 bit and it shouldn't make a difference to PERL.
> However, if you can run 64 bit, you should.
>
> PERL and it's modules all need to be the same architecture.  It doesn't matter
> if they're 32 bit or 64 bit, as long as it's consistent with itself.
>
> I see no reason why those versions should have a problem interacting; what are
> you trying, and what is the error you get?
>
> Regards
> Gavin Towey
>
> -Original Message-
> From: Hagen [mailto:finha...@comcast.net]
> Sent: Monday, October 05, 2009 11:58 AM
> To: mysql@lists.mysql.com
> Cc: finha...@comcast.net
> Subject: Mysql Perl DBI DBD Version Compatability for MAC OS 10.6
>
> After installing Apple's MAC Snow Leopard OS 10.6 I haven't been able to get
> my DBD:mysql module to work. I am kind of beyond trying to fix that issue
> directly so I am requesting assistance defining a compatible version set which
> is known to work. Between various releases and 32/64 bit options I have to
> confess there are too many choices and not enough information on how to choose
> for me to trust my own judgment anymore.
>
> Currently, I am running:
>
> 1.  mysql Server Version 5.4.1-beta MySQL Community Server
>
> 2.  perl version 5.8.9 built for Darwin 2level
>
> 3.  perl DBI version 1.609
>
> 4.  perl DBD:mysql 4.012
>
> I am not positive which of the above are 32 or 64 bit but help discerning
> which 32/64 versions are required would also be appreciated. I am happy ;-( to
> uninstall and reinstall any of the above to get to a working configuration.
> Thanks in advance.
>
> Hagen Finley
> Boulder, CO
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:http://lists.mysql.com/mysql?unsub=gto...@ffn.com
>
>
> The information contained in this transmission may contain privileged and
> confidential information. It is intended only for the use of the person(s)
> named above. If you are not the intended recipient, you are hereby notified
> that any review, dissemination, distribution or duplication of this
> communication is strictly prohibited. If you are not the intended recipient,
> please contact the sender by reply email and destroy all copies of the
> original message.



The information contained in this transmission may contain privileged and 
confidential information. It is intended only for the use of the person(s) 
named above. If you are not the intended recipient, you are hereby notified 
that any review, dissemination, distribution or duplication of this 
communication is strictly prohibited. If you are not the intended recipient, 
please contact the sender by reply email and destroy all copies of the original 
message.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org



Re: Mysql Perl DBI DBD Version Compatability for MAC OS 10.6

2009-10-05 Thread Hagen Finley
Here is the error I am receiving ( I posted this issue in the recent past):

dyld: lazy symbol binding failed: Symbol not found: _mysql_init
  Referenced from: 
/Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle
  Expected in: flat namespace

dyld: Symbol not found: _mysql_init
  Referenced from: 
/Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle
  Expected in: flat namespace

Trace/BPT trap


Could you send me the versions of Perl, DBD & DBI you are using?

Hagen 


On 10/5/09 1:16 PM, "Gavin Towey"  wrote:

> MySQL Server can be 32 or 64 bit and it shouldn't make a difference to PERL.
> However, if you can run 64 bit, you should.
> 
> PERL and it's modules all need to be the same architecture.  It doesn't matter
> if they're 32 bit or 64 bit, as long as it's consistent with itself.
> 
> I see no reason why those versions should have a problem interacting; what are
> you trying, and what is the error you get?
> 
> Regards
> Gavin Towey
> 
> -Original Message-
> From: Hagen [mailto:finha...@comcast.net]
> Sent: Monday, October 05, 2009 11:58 AM
> To: mysql@lists.mysql.com
> Cc: finha...@comcast.net
> Subject: Mysql Perl DBI DBD Version Compatability for MAC OS 10.6
> 
> After installing Apple's MAC Snow Leopard OS 10.6 I haven't been able to get
> my DBD:mysql module to work. I am kind of beyond trying to fix that issue
> directly so I am requesting assistance defining a compatible version set which
> is known to work. Between various releases and 32/64 bit options I have to
> confess there are too many choices and not enough information on how to choose
> for me to trust my own judgment anymore.
> 
> Currently, I am running:
> 
> 1.  mysql Server Version 5.4.1-beta MySQL Community Server
> 
> 2.  perl version 5.8.9 built for Darwin 2level
> 
> 3.  perl DBI version 1.609
> 
> 4.  perl DBD:mysql 4.012
> 
> I am not positive which of the above are 32 or 64 bit but help discerning
> which 32/64 versions are required would also be appreciated. I am happy ;-( to
> uninstall and reinstall any of the above to get to a working configuration.
> Thanks in advance.
> 
> Hagen Finley
> Boulder, CO
> 
> 
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:http://lists.mysql.com/mysql?unsub=gto...@ffn.com
> 
> 
> The information contained in this transmission may contain privileged and
> confidential information. It is intended only for the use of the person(s)
> named above. If you are not the intended recipient, you are hereby notified
> that any review, dissemination, distribution or duplication of this
> communication is strictly prohibited. If you are not the intended recipient,
> please contact the sender by reply email and destroy all copies of the
> original message.



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org



RE: Mysql Perl DBI DBD Version Compatability for MAC OS 10.6

2009-10-05 Thread Gavin Towey
MySQL Server can be 32 or 64 bit and it shouldn't make a difference to PERL.  
However, if you can run 64 bit, you should.

PERL and it's modules all need to be the same architecture.  It doesn't matter 
if they're 32 bit or 64 bit, as long as it's consistent with itself.

I see no reason why those versions should have a problem interacting; what are 
you trying, and what is the error you get?

Regards
Gavin Towey

-Original Message-
From: Hagen [mailto:finha...@comcast.net]
Sent: Monday, October 05, 2009 11:58 AM
To: mysql@lists.mysql.com
Cc: finha...@comcast.net
Subject: Mysql Perl DBI DBD Version Compatability for MAC OS 10.6

After installing Apple's MAC Snow Leopard OS 10.6 I haven't been able to get my 
DBD:mysql module to work. I am kind of beyond trying to fix that issue directly 
so I am requesting assistance defining a compatible version set which is known 
to work. Between various releases and 32/64 bit options I have to confess there 
are too many choices and not enough information on how to choose for me to 
trust my own judgment anymore.

Currently, I am running:

1.  mysql Server Version 5.4.1-beta MySQL Community Server

2.  perl version 5.8.9 built for Darwin 2level

3.  perl DBI version 1.609

4.  perl DBD:mysql 4.012

I am not positive which of the above are 32 or 64 bit but help discerning which 
32/64 versions are required would also be appreciated. I am happy ;-( to 
uninstall and reinstall any of the above to get to a working configuration. 
Thanks in advance.

Hagen Finley
Boulder, CO


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=gto...@ffn.com


The information contained in this transmission may contain privileged and 
confidential information. It is intended only for the use of the person(s) 
named above. If you are not the intended recipient, you are hereby notified 
that any review, dissemination, distribution or duplication of this 
communication is strictly prohibited. If you are not the intended recipient, 
please contact the sender by reply email and destroy all copies of the original 
message.


Mysql Perl DBI DBD Version Compatability for MAC OS 10.6

2009-10-05 Thread Hagen
After installing Apple's MAC Snow Leopard OS 10.6 I haven't been able to get my 
DBD:mysql module to work. I am kind of beyond trying to fix that issue directly 
so I am requesting assistance defining a compatible version set which is known 
to work. Between various releases and 32/64 bit options I have to confess there 
are too many choices and not enough information on how to choose for me to 
trust my own judgment anymore. 

Currently, I am running:

1.  mysql Server Version 5.4.1-beta MySQL Community Server

2.  perl version 5.8.9 built for Darwin 2level

3.  perl DBI version 1.609

4.  perl DBD:mysql 4.012

I am not positive which of the above are 32 or 64 bit but help discerning which 
32/64 versions are required would also be appreciated. I am happy ;-( to 
uninstall and reinstall any of the above to get to a working configuration. 
Thanks in advance.

Hagen Finley
Boulder, CO


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org



MySQL Perl DBI/DBD

2001-01-29 Thread Sam Wong

If you've upgraded the perl to 5.6.0, you've to reinstall the modules

- Original Message - 
From: "Don Hargroves" <[EMAIL PROTECTED]>
To: "MySQL List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 30, 2001 11:15 AM
Subject: MySQL Perl DBI/DBD


> I have followed the instructions at
> http://www.symbolstone.org/cgi/dbi/moduledump?module=Msql-Mysql-modules
> to install MySQL Perl DBI/DBD which are:
> First of all you need to fetch the
>  archives from any CPAN mirror, for
> example
> 
> 
> ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module
> 
>  The following archives are required
> (version numbers may have changed, I
>  choose those which are current as of
> this writing):
> 
>DBI/DBI-1.13.tar.gz
>Data/Data-ShowTable-3.3.tar.gz
>DBD/Msql-Mysql-modules-1.2217.tar.gz
> 
>  Then enter the following commands:
> 
>gzip -cd DBI-1.13.tar.gz | tar xf -
>cd DBI-1.13
>perl Makefile.PL
>make
>make test
>make install
> 
>cd ..
>gzip -cd Data-ShowTable-3.3.tar.gz |
> tar xf -
>cd Data-ShowTable-3.3
>perl Makefile.PL
>make
>make install  # Don't try make test,
> the test suite is broken
> 
>cd ..
>gzip -cd
> Msql-Mysql-modules-1.2217.tar.gz | tar xf -
>cd Msql-Mysql-modules-1.2217
>perl Makefile.PL
>make
>make test
>make install
> 
>  During "perl Makefile.PL" you will be
> prompted some questions. In
>  particular you have to choose the
> installed drivers (MySQL, mSQL2 and/or
>  mSQL1). The MySQL driver will be called
> DBD::mysql, a single mSQL driver
>  will be called DBD::mSQL. If you want
> to support both mSQL1 and mSQL2,
>  they former will be DBD::mSQL1.
> 
> I can't find 2217 anywhere so I used 2215. Everything seemed fine, but
> when I run a simple Perl test script as follows:
> #!/usr/local/bin/perl -w
> 
> use DBI;
> 
> I get:
> 
> Can't locate DBI.pm in @INC (@INC contains:
> /usr/local/lib/perl5/5.6.0/i586-linux ... at ./test line 3
> 
> Can someone take a moment to get me on the right track here?
> 
> Thanks
> Don Hargroves
> 
> 
> -
> Before posting, please check:
>http://www.mysql.com/manual.php   (the manual)
>http://lists.mysql.com/   (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 
> 
> 




MySQL Perl DBI/DBD

2001-01-29 Thread Don Hargroves

I have followed the instructions at
http://www.symbolstone.org/cgi/dbi/moduledump?module=Msql-Mysql-modules
to install MySQL Perl DBI/DBD which are:
First of all you need to fetch the
 archives from any CPAN mirror, for
example


ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module

 The following archives are required
(version numbers may have changed, I
 choose those which are current as of
this writing):

   DBI/DBI-1.13.tar.gz
   Data/Data-ShowTable-3.3.tar.gz
   DBD/Msql-Mysql-modules-1.2217.tar.gz

 Then enter the following commands:

   gzip -cd DBI-1.13.tar.gz | tar xf -
   cd DBI-1.13
   perl Makefile.PL
   make
   make test
   make install

   cd ..
   gzip -cd Data-ShowTable-3.3.tar.gz |
tar xf -
   cd Data-ShowTable-3.3
   perl Makefile.PL
   make
   make install  # Don't try make test,
the test suite is broken

   cd ..
   gzip -cd
Msql-Mysql-modules-1.2217.tar.gz | tar xf -
   cd Msql-Mysql-modules-1.2217
   perl Makefile.PL
   make
   make test
   make install

 During "perl Makefile.PL" you will be
prompted some questions. In
 particular you have to choose the
installed drivers (MySQL, mSQL2 and/or
 mSQL1). The MySQL driver will be called
DBD::mysql, a single mSQL driver
 will be called DBD::mSQL. If you want
to support both mSQL1 and mSQL2,
 they former will be DBD::mSQL1.

I can't find 2217 anywhere so I used 2215. Everything seemed fine, but
when I run a simple Perl test script as follows:
#!/usr/local/bin/perl -w

use DBI;

I get:

Can't locate DBI.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.6.0/i586-linux ... at ./test line 3

Can someone take a moment to get me on the right track here?

Thanks
Don Hargroves


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php