I am using ubuntu 16 and installed poco library via apt-get install libpoco-dev (version 1.3).
I also have mysql client installed.
However, when I compile a cpp to test mysql connection, the compiler threw error: cannot find lPocoDataMySQL cannot find lPocoJSON
it seems it cannot find the lib for the above two
I have already included the following in Makefile
LD_INCLUDE=-I/usr/include/Poco CPPFLAGS=-Wno-multichar -Wall -lPocoUtil -lPocoFoundation -lPocoJSON -lPocoNetSSL -lPocoData -lPocoDataMySQL -lPocoJSON
g++ -o dbconnector dbconnector.cpp $(LD_INCLUDE) $(CPPFLAGS)
thanks.