EOSERV Forum > EOSERV > Compile error: cannot find -lsqlite3
Topic is locked.
Page: << 1 >>
Compile error: cannot find -lsqlite3
Author Message
Post #18825 Compile error: cannot find -lsqlite3

what the title says, there's no code line referred to, here's the full error message:

C:\Program Files\CodeBlocks\MinGW\bin\ld.exe: cannot find -lsqlite3
collect2: ld returned 1 exit status

Appears to be a Code::Blocks error but anyway.. Does anyone know how I can fix this?

I'm trying to build a heavily modified Rev103 using Code::Blocks Version 8.02 if this information is needed..

Search for -lsqlite3 yielded.. a lot of random pages in which -lsqlite3 was not mentioned once...

15 years, 38 weeks ago
Post #18830 Re: Compile error: cannot find -lsqlite3

Download Sqlite and link it in the compiler options.

---
I forgot what I was going to write...
15 years, 38 weeks ago
Post #18834 Re: Compile error: cannot find -lsqlite3

Do you mean link to sqlite3.dll/lib/a? Because that isn't the problem.. They're already linked..

Also, I don't think it needs a file as it doesn't say could not find -lsqlite3.file-extension as it did with the last set of errors I encountered.. Just something in the settings..

Has anyone else had this problem back when they had Rev103? I would upgrade to the latest revision but I've done too much work on my server to start over.. It's more a Rev103.87 now.. (revision 87 of revision 103)

15 years, 38 weeks ago
Post #18838 Re: Compile error: cannot find -lsqlite3
longhairguy posted: (10th Sep 2009 06:18 pm)

Do you mean link to sqlite3.dll/lib/a? Because that isn't the problem.. They're already linked..

Also, I don't think it needs a file as it doesn't say could not find -lsqlite3.file-extension as it did with the last set of errors I encountered.. Just something in the settings..

Has anyone else had this problem back when they had Rev103? I would upgrade to the latest revision but I've done too much work on my server to start over.. It's more a Rev103.87 now.. (revision 87 of revision 103)


That IS the problem You don't have the sqlite3 SDK installed correctly. And what you are saying about them being already linked makes no sense whatsoever. The linker does need the file. It does so every time you build a new EOSERV. Your error has nothing to do with your source or the compiler would produce an error, not the linker. Jimbo has already tried to help you and you have just disregarded his advice because "you know better". *sigh*

---
http://sordie.co.uk
http://twitter.com/@SordieEO
15 years, 38 weeks ago
Post #18860 Re: Compile error: cannot find -lsqlite3

Well when you put it that way.. I'm an asshole.. lol

My apologies to Jimbo..

Thanks for the help, it was installed, it just wasn't installed correctly.. reinstalling fixed it.

15 years, 38 weeks ago
Page: << 1 >>
Topic is locked.
EOSERV Forum > EOSERV > Compile error: cannot find -lsqlite3