I have a project that I can compile just find on Ubuntu 11.04 64bit. After upgrading to 11.10 64bit, building Poco from scratch, I now get compile errors. It looks like it has to deal with the building of sqlite3 during the Poco build process (although I can build all of Poco without error).
Below is the errors that I get:
- Code: Select all
g++ -m64 -pthread -ldl -o dist/Debug/GNU-Linux-x86/pocosqlitetest build/Debug/GNU-Linux-x86/main.o -L../../poco-1.4.3p1-all/lib/Linux/x86_64 -lPocoDataSQLited -lPocoDatad -lPocoFoundationd
../../poco-1.4.3p1-all/lib/Linux/x86_64/libPocoDataSQLited.a(sqlite3.o): In function `unixDlOpen':
/home/spechacek/poco-1.4.3p1-all/Data/SQLite/src/sqlite3.c:29885: undefined reference to `dlopen'
../../poco-1.4.3p1-all/lib/Linux/x86_64/libPocoDataSQLited.a(sqlite3.o): In function `unixDlError':
/home/spechacek/poco-1.4.3p1-all/Data/SQLite/src/sqlite3.c:29899: undefined reference to `dlerror'
../../poco-1.4.3p1-all/lib/Linux/x86_64/libPocoDataSQLited.a(sqlite3.o): In function `unixDlSym':
/home/spechacek/poco-1.4.3p1-all/Data/SQLite/src/sqlite3.c:29925: undefined reference to `dlsym'
../../poco-1.4.3p1-all/lib/Linux/x86_64/libPocoDataSQLited.a(sqlite3.o): In function `unixDlClose':
/home/spechacek/poco-1.4.3p1-all/Data/SQLite/src/sqlite3.c:29930: undefined reference to `dlclose'
collect2: ld returned 1 exit status
Is there something in the Poco build that needs to be tweaked to allow it to compile properly?
Attached is the Netbeans project that I used to produce this error. This is the example code from the Poco data examples.
Thanks in advance!
Regards,
Shane





