LIBMYSQL.dll missing when running examples

View: New views
4 Messages — Rating Filter:   Alert me  

LIBMYSQL.dll missing when running examples

by Sharpminded Gmail :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have built MySQL++ v.3.0.3 on Windows XP with MinGW and I have
stricly followed the (great ;) user manual, README.txt,
README-MinGW.txt and README-examples.txt instructions. All works
really fine.

But trying to run  "exrun.bat resetdb -u mydbuser -p nunyabinness"
makes an errors occurs.
The error message box is telling :
(in French)
"resetdb.exe Composant introuvable"
"Cette application n'a pas pu démarrer car LIBMYSQL.dll est
introuvable. La réinstallation de cette application peut corriger ce
problème."
(in English, more or less)
"resetdb.exe Unavailable [or missing ?] component"
"This application can't be started because LIBMYSQL.dll is missing.
The reinstallation of this application can solve this problem."

I then try to run  "install.bat bin" to fix it but without any effect...
Do I miss something in the doc (I REALLY followed it step by step
but...) ? Some help would be really appreciated...
Regards,

sharpminded (not that much this days...)

ps : here is my cmd history
[create C:\mysql++\]
[copy the content of mysql++-3.0.3.tar.gz in it]
>cd C:\Program Files\MySQL\MySQL Server 5.0\lib\opt
>dlltool -k -d c:\mysql++\libmysqlclient.def -l libmysqlclient.a
>cd "c:\mysql++"
>mingw32-make -f Makefile.mingw
>exrun.bat resetdb.exe -u root -p "N0 P4s4r4n !"

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


Re: LIBMYSQL.dll missing when running examples

by Warren Young-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On May 14, 2008, at 2:28 AM, Sharpminded Gmail wrote:

> "This application can't be started because LIBMYSQL.dll is missing.
> The reinstallation of this application can solve this problem."

It's right: reinstallation of MySQL may solve this problem. :)

libmysql.dll is the MySQL C API DLL, which should be in the PATH after  
MySQL is installed.  There's no mention of this in the docs because it  
should Just Work (TM).

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


RE: LIBMYSQL.dll missing when running examples

by Ian Daysh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The alternative (especially if you're going to distribute the
application to people without mysql installed on their machine) is to
copy the libmysql.dll to the application directory.  
Make sure you use the right one for the particular build (debug for,
well debug, and opt for release builds)

Ian.

-----Original Message-----
From: Warren Young [mailto:mysqlpp@...]
Sent: 14 May 2008 17:27
To: plusplus@...
Subject: Re: LIBMYSQL.dll missing when running examples

On May 14, 2008, at 2:28 AM, Sharpminded Gmail wrote:

> "This application can't be started because LIBMYSQL.dll is missing.
> The reinstallation of this application can solve this problem."

It's right: reinstallation of MySQL may solve this problem. :)

libmysql.dll is the MySQL C API DLL, which should be in the PATH after
MySQL is installed.  There's no mention of this in the docs because it
should Just Work (TM).

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=i.daysh@...




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


Re: LIBMYSQL.dll missing when running examples

by Sharpminded Gmail :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Warren and Ian,
This issue was entirely my fault, I probably unchecked the inclusion
of the bin directory in windows path during the setup... Moreover my
version of "Just Work (TM)" is a cracked one... ;)
Regards,

sharpminded

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

LightInTheBox - Buy quality products at wholesale price!