3 messages in com.mysql.lists.plusplusRe: MySQL++ hates me
FromSent OnAttachments
Shravan Durvasula20 Sep 2002 00:53 
Ralf Narozny20 Sep 2002 03:14 
Thorsten Viel20 Sep 2002 06:42 
Subject:Re: MySQL++ hates me
From:Ralf Narozny (rnar@splendid.de)
Date:09/20/2002 03:14:57 AM
List:com.mysql.lists.plusplus

Hi!

Shravan Durvasula wrote:

Hi all,

How should i compile a simple MySQL++ file? I tried to compile "simple1.cc" file provided in the examples directory in "mysql++-1.7.9". But i failed.

All the "*.hh" files that will be created when you do "make install" are there in "mysql++-1.7.9/MYLIB/lib" and "mysql++-1.7.9/MYLIB/include" ("instead of /usr/local/lib" or "/usr/local/include").

Could anyone please help?

I even tried to run the compiled version of "simple1.cc" (present in mysql++-1.7.9/examples). But it said : ************************************************* ld.so.1: simple1: fatal: libmysqlclient.so.10: open failed: No such file or directory Killed **************************************************

You simply need the mysql-client. Because the API uses the libmysqlclient.so LIB dynamically.

Greetings Ralf