Recent

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

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1683
  • 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, FPC 3.3.1 macOS 12.0.1 x86_64 Xcode 13.1
Lazarus 2.3, FPC 3.3.1 macOS 12.0.1 aarch64 Xcode 13.1
Lazarus 2.3, FPC 3.2.2 FreeBSD 13.0 amd64 VM
Lazarus 2.3, FPC 3.2.2 FreeBSD 12.2 amd64 VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 VM
Lazarus 2.0.10 FPC 3.2.0 Win10 VM

Gizmo

  • Hero Member
  • *****
  • Posts: 803
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