Looks like you have compiled Sqlite to use readline but don't have the 
link library.

David Michal wrote:
> Hello,
> 
> I have problem to compile it on Slackware 11 x86_64 
> 
>  
> 
> gcc -g -O2 -I. -I../sqlite-3.5.6/src -DNDEBUG -DSQLITE_THREADSAFE=1
> -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1
> -DHAVE_READLINE=1 -I/usr/include/readline -o .libs/sqlite3
> ../sqlite-3.5.6/src/shell.c  ./.libs/libsqlite3.so -lpthread
> 
> /tmp/cc9O4O7b.o: In function `process_input':
> 
> ../sqlite-3.5.6/src/shell.c:288: undefined reference to `readline'
> 
> ../sqlite-3.5.6/src/shell.c:290: undefined reference to `add_history'
> 
> /tmp/cc9O4O7b.o: In function `main':
> 
> ../sqlite-3.5.6/src/shell.c:2067: undefined reference to `read_history'
> 
> ../sqlite-3.5.6/src/shell.c:2071: undefined reference to
> `stifle_history'
> 
> ../sqlite-3.5.6/src/shell.c:2072: undefined reference to `write_history'
> 
> collect2: ld returned 1 exit status
> 
> make: *** [sqlite3] Error 1
> 
>  
> 
> any idea of what I am missing on my system?
> 
>  
> 
> Thanks,
> 
> David
> 
>  
> 
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to