PDA

View Full Version : compile sqlite in eclipse ubuntu



rockbuntu
February 27th, 2011, 07:28 AM
hi,

i am a newbie to ubuntu and need help with below error

1) installed vmware on my windows vista pc and ubuntu 10.4 in it
2) installed eclipse galileo in ubuntu
3) copied the sqlite3 source code to documents folder
4) created a makefile C++ project in eclipse
5) copied sqlicite.c / h and makefile.am and makefile.in the project
6) compiled the project and got the below errors

undefined reference to dlclose / dlopen / dlsync and so on

did some google and the probable solution is to add -lpthread in the build process but not sure where to add this in the eclipse configuration.

howefield
February 27th, 2011, 04:41 PM
Thread closed.

Duplicate here : http://ubuntuforums.org/showthread.php?t=1696161