Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with mysqlcppconn integration #447

Closed
hermans opened this issue Jul 1, 2020 · 0 comments
Closed

Problem with mysqlcppconn integration #447

hermans opened this issue Jul 1, 2020 · 0 comments

Comments

@hermans
Copy link

hermans commented Jul 1, 2020

Hello, i get problem when use mysqlcppconn library. I tried to modify Make file to make able load libary:

Makefile

from:
COMPILER_FLAGS = -Wall -c -O2 -std=c++11 -fpic -o

to be:
COMPILER_FLAGS = -Wall -c -O2 -std=c++11 -fpic -I/usr/include/cppconn -o -L/usr/lib -lmysqlcppconn -o

make && sudo make install // work

but when i test to call it in php script i get error:
php: symbol lookup error: /usr/lib/php/20190902/herweb.so: undefined symbol: get_driver_instance

@hermans hermans closed this as completed Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant