[PR #353] [MERGED] Sqlite3: fix to compile on macOS. #337

Closed
opened 2026-05-05 03:46:07 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ultimatepp/ultimatepp/pull/353
Author: @klugier
Created: 1/19/2026
Status: Merged
Merged: 1/21/2026
Merged by: @mirek-fidler

Base: masterHead: klugier/fix-sqllite-compilation-on-macos


📝 Commits (1)

  • 1ef55e8 Sqlite3: fix to compile on macOS.

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 uppsrc/plugin/sqlite3/sqlite3.upp (+2 -0)

📄 Description

It looks like there is a compilation error when compiling anything that uses plugin/Sqlite3 on macOS. The error is:

Linking...
Undefined symbols for architecture arm64:
  "_SecRandomCopyBytes", referenced from:
      _entropy in lib.c.o
  "_kSecRandomDefault", referenced from:
      _entropy in lib.c.o
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

The fix is easy, you need to use -framework Security link option.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ultimatepp/ultimatepp/pull/353 **Author:** [@klugier](https://github.com/klugier) **Created:** 1/19/2026 **Status:** ✅ Merged **Merged:** 1/21/2026 **Merged by:** [@mirek-fidler](https://github.com/mirek-fidler) **Base:** `master` ← **Head:** `klugier/fix-sqllite-compilation-on-macos` --- ### 📝 Commits (1) - [`1ef55e8`](https://github.com/ultimatepp/ultimatepp/commit/1ef55e84c2ca38d15fbe382fbf06cf8304475fd4) Sqlite3: fix to compile on macOS. ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `uppsrc/plugin/sqlite3/sqlite3.upp` (+2 -0) </details> ### 📄 Description It looks like there is a compilation error when compiling anything that uses plugin/Sqlite3 on macOS. The error is: ``` Linking... Undefined symbols for architecture arm64: "_SecRandomCopyBytes", referenced from: _entropy in lib.c.o "_kSecRandomDefault", referenced from: _entropy in lib.c.o ld: symbol(s) not found for architecture arm64 clang++: error: linker command failed with exit code 1 (use -v to see invocation) ``` The fix is easy, you need to use `-framework Security` link option. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 03:46:07 -06:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/ultimatepp#337
No description provided.