MySQL Forums
Forum List  »  Connector/C++

MySql C++ Connector Installation On Fedora 35
Posted by: Flash CFive
Date: February 08, 2022 11:31AM

Hello I am new to fedora 35 and I am trying to figure out how to install the c++ header files for the mysql-connector-c++. I am a c++ dev but new to fedora.

$ sudo yum install mysql-connector-c++
Last metadata expiration check: 2:44:40 ago on Tue 08 Feb 2022 07:09:07 AM CST.
Package mysql-connector-c++-8.0.28-1.fc35.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!



I also had to install this file for the C++ header files which put them in this location.
/usr/src/debug/mysql-connector-c++-8.0.28-1.fc35.x86_64/jdbc/

sudo yum localinstall mysql-connector-c++-debugsource-8.0.28-1.fc35.x86_64.rpm



Now I am getting "build_config.h No such file or directory" inside the "connection.h" file.
Connection.h is a part of the mysql-connector package and it not a file that I wrote.
When i search "build_config.h" doesnt exist anywhere on my disk.


How can I correctly install the mysql c++ dev connector? Thanks in advance for helping me.

Options: ReplyQuote


Subject
Views
Written By
Posted
MySql C++ Connector Installation On Fedora 35
738
February 08, 2022 11:31AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.