Article 59H2F Is there a difference between mysql.h and mysql++.h and how can I get the mysql++ stuff installed properly?

Is there a difference between mysql.h and mysql++.h and how can I get the mysql++ stuff installed properly?

by
plisken
from LinuxQuestions.org on (#59H2F)
I've come across some older applications that I need to work on and maintain and noticed there are both mysql and a mysql++ folders in /user/include and I cant seem to replicate that on my Debian 10 system for example.

I can of course copy across the mysql++ folder from the older system and that seems to satisfy some of the complaints during build but it ultimately fails with;

/usr/bin/ld: cannot find -lmysqlpp
I have a slightly more complete post on stack overflow here:
https://stackoverflow.com/questions/...-it-appears-to

(so save copying again as I cant seem to post images here)

If it matters, running mysql_config --cflags

gives;

-I /usr/include/mariadb -I /usr/include/mariadb/mysql

and running mysql_config --libs

gives;

-L /usr/lib/x86_64-linux-gnu/ -mariadb

The latter is where I think the problem may be?

I am using Netbeans for remote development and this particular issue is on a Debain 10.5 system.

I have no issues with any other applications I create that have the mysql.h include but these others that I've inherited have the mysql++.h and that is where the problems begin.
As I say, I can copy across the /usr/include/mysql++ folder from an older system but I believe it is not finding the compiled library, like mysqlclient or in this case mysqlpp

Any assistance would be greatly appreciated.latest?d=yIl2AUoC8zA latest?i=iOp1C91mOGE:meLkpEkbwxw:F7zBnMy latest?i=iOp1C91mOGE:meLkpEkbwxw:V_sGLiP latest?d=qj6IDK7rITs latest?i=iOp1C91mOGE:meLkpEkbwxw:gIN9vFwiOp1C91mOGE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments