Unable to find installed libraries in CDT [message #1834325] |
Sat, 07 November 2020 06:09  |
Eclipse User |
|
|
|
Hi Team,
I want to use library called mysql in my project. I want connect mysql from my ARM linux board.
mysql_config_cflags
-I/usr/include/mysql
mysql_config --libs
-L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt -latomic -lssl -lcrypto -ldl
Added these flags in properties ->settings->linker
but when compiled i am getting below error
/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/7.5.0/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lmysqlclient
can you please help me with this.
Thanks in Advance.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03627 seconds