Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
MySQL Server 5.0.46 Package does not seem come with [ mysqlclient ]

MySQL Server 5.0.46 Package does not seem come with [ mysqlclient ]

2007-08-01       - By Zeddy Chirombe

 Back
Reply:     1     2     3     4  

Actually it does some with that libray, but not in the client rpm, but in
the compat one.

Well as it turns out - after you install both devel & client standard rpms,
you will need to configure mysql++ and prefix it use the libraries under
/usr/lib/mysql not /usr/lib  - not sure why the SOs didn't work for me.

This fixed it. But then, I ran into trouble trying to make it. apprently
even though configure found the libz library, it missed the path, I had to
modify all make files that needed it to look for it in the correct place
using -L. Thus MySql++ is rockin -

--Thanks,
--Zeddy

On 8/1/07, Warren Young <mysqlpp@(protected)> wrote:
>
> Zeddy Chirombe wrote:
> >
> > I have just installed  MySQL Server 5.0.46 successfully, when I tried to
> > config mysql++, it failed with this
> > -- ---- ----
> > checking for MySQL library directory... configure: error: Didn't find
> > mysqlclient library in '/usr/local/mysql/lib/mysql /usr/local/lib/mysql
> > /opt/mysql/lib/mysql /usr/lib/mysql /usr/local/mysql/lib /usr/local/lib
> > /opt/mysql/lib /usr/lib'
>
> This message can mean more than it says.  What it really means is that
> the attempt to link a trivial program to the library failed.  It can be
> that the library is indeed not there, but it can also mean it failed for
> some other reason.  On Solaris, for instance, we used to get this
> because of a need for -lm in addition to -lmysqlclient.  You'll need to
> study config.log to find out what's really going on.  (Or post it here
> for someone else to study.)
>
> On an RPM based system, this command may prove enlightening:
>
>         rpm -ql MySQL-devel-standard | grep libmysqlclient
>
> Other package-based installs should have a similar query command.
> (fink, apt...)
>
> > [  ldd mysql ]  does not list mysqlclient.
>
> Red herring...it's statically linked to the C API library.
>
> --
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe:
> http://lists.mysql.com/plusplus?unsub=zeddy.chirombe@(protected)
>
>