summaryrefslogtreecommitdiff
path: root/databases/mysql++1/files/README
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql++1/files/README')
-rw-r--r--databases/mysql++1/files/README9
1 files changed, 5 insertions, 4 deletions
diff --git a/databases/mysql++1/files/README b/databases/mysql++1/files/README
index e73f4e71c1fd..531f16962bc8 100644
--- a/databases/mysql++1/files/README
+++ b/databases/mysql++1/files/README
@@ -3,18 +3,19 @@
If you haven't met mysql++ before, please take a look at the documentation
in ../../doc/mysql++ before trying to play with these examples. Thank you.
-
To compile a mysql++ program,
- o you have to have libmysqlclient installed on your system
- (it's in FreeBSD port mysql-client)
+ o you have to have libmysqlclient installed on your system. It's
+ provided by the mysql-client port/package. MySQL++ now needs
+ MySQL 3.23 client libraries to run, so if you have old 3.22
+ libraries, please upgrade them.
o you have to link your programs with the sqlplus library
o you have to add "-D_FIX_FOR_BSD_" to your CXXFLAGS environment
-For example, you can try to compile simple1.cc with something like this
+For example, you can try to compile simple1.cc with something like this
c++ -D_FIX_FOR_BSD_ -I/usr/local/include/mysql -L/usr/local/lib -lsqlplus simple1.cc -o simple1