At 00:28 27/01/2008 +0100, Fred wrote: >/tmp/ccqbH65Q.o: In function `main': >dummy.c:(.text+0xdd): undefined reference to `sqlite3_open'
Found what it was: I need to tell the linker where to find the SQLite library: gcc -Wall dummy.c -o dummy -lsqlite3: Copied dummy to the AstLinux host, chmod 755, then ran ./dummy: pbx tmp # ./dummy -sh: ./dummy: No such file or directory Maybe it needs additional libraries, the libraries are of a different version, or it compiled for i686 instead of i586? Thanks. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
