RE: trouble with perl

2012-08-08 Thread DaWiz
I can't find his phone number to call him.

-Original Message-
From: Martin Gainty [mailto:mgai...@hotmail.com] 
Sent: Wednesday, August 08, 2012 12:22 PM
To: elim@gmail.com
Cc: mysql@lists.mysql.com
Subject: RE: trouble with perl


I know I had the same problem with PHP when mysql.dll was off my PATH..put
the 2 mysql libraries on the first directory from your PATH

05/30/2008  08:17 PM 2,125,824 libmysql.dll
06/13/2012  06:31 PM34,304 php_mysql.dll

be aware when things go wrong with DLL's you have no way to fix it except
1)grab the source
2)build it ..usually thru .\configure then .\make install
3)make sure the new binary gets installed to the first directory on your
PATH

Viel Gluck,
Martin 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
dient lediglich dem Austausch von Informationen und entfaltet keine
rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire
informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
de ceci est interdite. Ce message sert à l'information seulement et n'aura
pas n'importe quel effet légalement obligatoire. Étant donné que les email
peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
aucune responsabilité pour le contenu fourni.


> Date: Wed, 8 Aug 2012 13:28:42 -0400
> Subject: Re: trouble with perl
> From: per...@elem.com
> To: elim@gmail.com
> CC: mysql@lists.mysql.com
> 
> On Wed, Aug 8, 2012 at 1:12 PM, Elim Qiu  wrote:
> > But when I use browser for the system testing (perl_test.cgi and
forum.pl),
> > both report me that DBD:mysql is not installed (or not available)
> 
> It's possible that DBD::mysql is installed in a place where it's not
> in the library path for your CGI script, or that you have more than
> one Perl installed on your system.
> 
> I'd suggest you get some help either from the group that makes mwforum
> or on the Perl Beginner's list, since this is not a MySQL issue.  The
> Perl Beginners list is here: http://lists.perl.org/list/beginners.html
> 
> - Perrin
> 
> -- 
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:http://lists.mysql.com/mysql
> 
  


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql



RE: trouble with perl

2012-08-08 Thread Martin Gainty

I know I had the same problem with PHP when mysql.dll was off my PATH..put the 
2 mysql libraries on the first directory from your PATH

05/30/2008  08:17 PM 2,125,824 libmysql.dll
06/13/2012  06:31 PM34,304 php_mysql.dll

be aware when things go wrong with DLL's you have no way to fix it except
1)grab the source
2)build it ..usually thru .\configure then .\make install
3)make sure the new binary gets installed to the first directory on your PATH

Viel Gluck,
Martin 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.


> Date: Wed, 8 Aug 2012 13:28:42 -0400
> Subject: Re: trouble with perl
> From: per...@elem.com
> To: elim@gmail.com
> CC: mysql@lists.mysql.com
> 
> On Wed, Aug 8, 2012 at 1:12 PM, Elim Qiu  wrote:
> > But when I use browser for the system testing (perl_test.cgi and forum.pl),
> > both report me that DBD:mysql is not installed (or not available)
> 
> It's possible that DBD::mysql is installed in a place where it's not
> in the library path for your CGI script, or that you have more than
> one Perl installed on your system.
> 
> I'd suggest you get some help either from the group that makes mwforum
> or on the Perl Beginner's list, since this is not a MySQL issue.  The
> Perl Beginners list is here: http://lists.perl.org/list/beginners.html
> 
> - Perrin
> 
> -- 
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:http://lists.mysql.com/mysql
> 
  

Re: trouble with perl

2012-08-08 Thread Perrin Harkins
On Wed, Aug 8, 2012 at 1:12 PM, Elim Qiu  wrote:
> But when I use browser for the system testing (perl_test.cgi and forum.pl),
> both report me that DBD:mysql is not installed (or not available)

It's possible that DBD::mysql is installed in a place where it's not
in the library path for your CGI script, or that you have more than
one Perl installed on your system.

I'd suggest you get some help either from the group that makes mwforum
or on the Perl Beginner's list, since this is not a MySQL issue.  The
Perl Beginners list is here: http://lists.perl.org/list/beginners.html

- Perrin

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql



Re: trouble with perl

2012-08-08 Thread Elim Qiu
I really confussed about this. I don't know whether my mysql is 32bit or
64bit, so I just fresh installed mysql 5.5.27 for osx 10.6 64bit. And I did
reinstalled DBI and DBD::mysql

make give me a lot of warnings like "warning: format not a string literal
and no format arguments"
but make test did went through.

I can then populate database tables using a perl script ($ perl
install.plfrom mwforum package)
But when I use browser for the system testing (perl_test.cgi and forum.pl),
both report me that DBD:mysql is not installed (or not available)

Again, this is on snow leopard 10.6.8. I didn't do anything related perl
before. And mysql+php worked quite well here.



On Tue, Aug 7, 2012 at 2:24 PM, Perrin Harkins  wrote:

> Hi,
>
> This probably means you changed your MySQL libraries but didn't
> recompile or reinstall DBD::mysql,  Usually this kind of issue is
> solved by reinstalling DBD::mysql in the same way that you previously
> installed it, so it can build against your current libraries.
>
> - Perrin
>
> On Mon, Aug 6, 2012 at 5:42 PM, Elim Qiu  wrote:
> > To populate table for a perl forum, I got the following error:
> >
> > aMac:mwf elim$ perl install.pl
> > 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
> >
> > My OS is Mac OS X 10.6.8 64 bit, Apple built-in perl is 5.10.0 (64bit)
> and
> > MySQL is newly upgraded to 5.5.27 MySQL Community Server (GPL) (64bit)
> >
> > I don't know how to make DBD:mysql work. Any idea is appreciated
> Maybe
> > I have to get mysql source and compile/install it with custom options?
>


Re: trouble with perl

2012-08-07 Thread Perrin Harkins
Hi,

This probably means you changed your MySQL libraries but didn't
recompile or reinstall DBD::mysql,  Usually this kind of issue is
solved by reinstalling DBD::mysql in the same way that you previously
installed it, so it can build against your current libraries.

- Perrin

On Mon, Aug 6, 2012 at 5:42 PM, Elim Qiu  wrote:
> To populate table for a perl forum, I got the following error:
>
> aMac:mwf elim$ perl install.pl
> 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
>
> My OS is Mac OS X 10.6.8 64 bit, Apple built-in perl is 5.10.0 (64bit) and
> MySQL is newly upgraded to 5.5.27 MySQL Community Server (GPL) (64bit)
>
> I don't know how to make DBD:mysql work. Any idea is appreciated Maybe
> I have to get mysql source and compile/install it with custom options?

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql



Re: trouble with perl

2012-08-07 Thread Elim Qiu
Thanks Stillman Benjamin. The link is about the mismatch of 32/64 bit among
mysql, perl and os processor but I don't have that issues. My system is
missing DBD::mysql module, and I still have trouble with that.



On Tue, Aug 7, 2012 at 6:49 AM, Stillman, Benjamin <
bstill...@limitedbrands.com> wrote:

> http://bixsolutions.net/forum/thread-18.html
>
>
> -Original Message-
> From: Elim Qiu [mailto:elim@gmail.com]
> Sent: Monday, August 06, 2012 5:42 PM
> To: mysql@lists.mysql.com
> Subject: trouble with perl
>
> To populate table for a perl forum, I got the following error:
>
> aMac:mwf elim$ perl install.pl
> 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
>
> My OS is Mac OS X 10.6.8 64 bit, Apple built-in perl is 5.10.0 (64bit) and
> MySQL is newly upgraded to 5.5.27 MySQL Community Server (GPL) (64bit)
>
> I don't know how to make DBD:mysql work. Any idea is appreciated Maybe
> I have to get mysql source and compile/install it with custom options?
>
> 
>
> Notice: This communication may contain privileged and/or confidential
> information. If you are not the intended recipient, please notify the
> sender by email, and immediately delete the message and any attachments
> without copying or disclosing them. LBI may, for any reason, intercept,
> access, use, and disclose any information that is communicated by or
> through, or which is stored on, its networks, applications, services, and
> devices.
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:http://lists.mysql.com/mysql
>
>


RE: trouble with perl

2012-08-07 Thread Stillman, Benjamin
http://bixsolutions.net/forum/thread-18.html


-Original Message-
From: Elim Qiu [mailto:elim@gmail.com]
Sent: Monday, August 06, 2012 5:42 PM
To: mysql@lists.mysql.com
Subject: trouble with perl

To populate table for a perl forum, I got the following error:

aMac:mwf elim$ perl install.pl
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

My OS is Mac OS X 10.6.8 64 bit, Apple built-in perl is 5.10.0 (64bit) and 
MySQL is newly upgraded to 5.5.27 MySQL Community Server (GPL) (64bit)

I don't know how to make DBD:mysql work. Any idea is appreciated Maybe I 
have to get mysql source and compile/install it with custom options?



Notice: This communication may contain privileged and/or confidential 
information. If you are not the intended recipient, please notify the sender by 
email, and immediately delete the message and any attachments without copying 
or disclosing them. LBI may, for any reason, intercept, access, use, and 
disclose any information that is communicated by or through, or which is stored 
on, its networks, applications, services, and devices.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql



trouble with perl

2012-08-06 Thread Elim Qiu
To populate table for a perl forum, I got the following error:

aMac:mwf elim$ perl install.pl
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

My OS is Mac OS X 10.6.8 64 bit, Apple built-in perl is 5.10.0 (64bit) and
MySQL is newly upgraded to 5.5.27 MySQL Community Server (GPL) (64bit)

I don't know how to make DBD:mysql work. Any idea is appreciated Maybe
I have to get mysql source and compile/install it with custom options?