Severin Müller wrote:
> I tried to include sqlite3 in my current C Project. 
> 
> I downloaded the precompiled library sqlite-3.5.6.so and put it in my project.
> Then, i downloaded the sqlite source and added sqlite3.h to my project. 
> 
> Now, when i try to compiler, i get the following error message:
> 
> /home/fish-guts/workspace/Debug/lib/sqlite-3.5.6.so: undefined reference to 
> `dlsym'
> /home/fish-guts/workspace/Debug/lib/sqlite-3.5.6.so: undefined reference to 
> `dlerror'
> /home/fish-guts/workspace/Debug/lib/sqlite-3.5.6.so: undefined reference to 
> `dlopen'
> /home/fish-guts/workspace/Debug/lib/sqlite-3.5.6.so: undefined reference to 
> `dlclose'

Rather than use the precompiled library, I recommend one of two options:

1. Download the latest version that is in your package manager and use 
that, if it is sufficiently recent.

2. Download the source and build it.  It is a very easy to build 
package, and you would then have the option to build a static version if 
you wanted (the .a library)

Clay
-- 
CeaMuS, Simple Content Management
http://www.ceamus.com
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to