Recent

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

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1477
  • Former Delphi 1-7, 10.2 user
Great to hear you squashed your bug, and thanks for returning to let us know.
Lazarus 2.1 r65061 FPC 3.3.1 r49223 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.1 r65182 FPC 3.3.1 r49223 macOS 11.4 aarch64 Xcode 12.4
Lazarus 2.1 r61574 FPC 3.3.1 r42318 FreeBSD 12.1 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: 796
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