Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-11

Win64 bit "Can not load SQLite client library "sqlite3.dll"

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Dennis

I was upgrading my FPC/Lazarus program from Win32 to Win64 bit. It complied ok but when run, the debugger raised an exceptoin: "Can not load SQLite client library "sqlite3.dll"

At first, I though it is because the existing sqlite3.dll is win32 format so I went to https://sqlite.org/download.html to download https://sqlite.org/2017/sqlite-dll-win64-x64-3210000.zip and replace the old sqlite3.dll with the win64 bite version.

However, now it does not an exception but just quietly quit without doing anything.

I think I might need another file called libmysql.dll but that is not available from https://sqlite.org/

I googled for it and found that an unknown site called www.dlldownloader.com has it but I am afraid to use it fearing it might be a virus infected file.

Does anyone know whether I need a 64bit version of libmysql.dll, if yes, where can I get it safely?

Thanks,

Dennis

Reply by email

Michael Thompson
to Dennis

On 12 November 2017 at 22:17, Dennis via Lazarus <

Show quoted text 6 lines
wrote: At first, I though it is because the existing sqlite3.dll is win32 format so I went to https://sqlite.org/download.html to download https://sqlite.org/2017/sqlite-dll-win64-x64-3210000.zip

I've just downloaded the 64bit SQLite.dll file to check. 64bit Dependancy Walker reports no dependencies outside of usual Windows DLLs, so it should be fine. And just looking at the name of the dll you've suggested, it's for MySQL anyway, not for SQLite.

I have a copy of libmysql.dll (32 bit). I got it when I installed MySQL a few versions ago. From memory I had to install a particular build to get that file as it's not in my current mysql folder... It was with some install that came with developer tools. My current mysql is only the engine...

Long winded way of saying: Sorry, I'm not sure what your issue is, but I'm sure it's not libmysql.dll you need.

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20171113/8e379851/attachment.html>

Reply by email