Recent

Author Topic: [SOLVED] How do I direct TSQLDBLibraryLoader to use SQLite on Big Sur OSX?  (Read 2443 times)

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1592
  • Former Delphi 1-7, 10.2 user
Great to hear you squashed your bug, and thanks for returning to let us know.
Lazarus 2.3 2021-08-10 FPC 3.3.1 r49223 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.3 r65500 FPC 3.3.1 r49634 macOS 11.6 aarch64 Xcode 13
Lazarus 2.3 2021-08-11 FPC 3.2.2 FreeBSD 13.0 amd64 VMware VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 FPC 3.2.0 Win10 Parallels VM

Gizmo

  • Hero Member
  • *****
  • Posts: 800
The least I can do for sure is to do that.

For info, for anyone else, the reason it was failing despite the changes was because later on I run a "if FileExists(path to library)" which of course returns false, now, because the file does not exist on the filesystem in the same way with BigSur. So I basically created 3 ifdef compiler directives - one for Windows, one for Linux and one for OSX, and the OSX one does not do the file lookup.
Lazarus 2.0.12 and fpc 3.2.0 - Linux Mint 19 LTS, Windows 10 64 and Mac OSX Big Sur
Useful Page to remember : http://wiki.freepascal.org/Cross_compiling#From_Linux_x64_to_Linux_i386

 

TinyPortal © 2005-2018