Skip to content

Fix spurious -lSHARED linker error in guile-uuid target#14

Merged
drzo merged 2 commits into
mainfrom
copilot/fix-github-actions-job-build-debug-again
Jun 2, 2026
Merged

Fix spurious -lSHARED linker error in guile-uuid target#14
drzo merged 2 commits into
mainfrom
copilot/fix-github-actions-job-build-debug-again

Conversation

Copilot AI commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

TARGET_LINK_LIBRARIES does not accept SHARED as a visibility keyword (valid: PUBLIC/PRIVATE/INTERFACE). CMake treated it as a library name, causing the linker to fail with cannot find -lSHARED.

Change

opencog/persist/tlb/CMakeLists.txt — remove the spurious SHARED keyword:

# Before
TARGET_LINK_LIBRARIES(guile-uuid SHARED
    tlb ...)

# After
TARGET_LINK_LIBRARIES(guile-uuid
    tlb ...)

Copilot AI changed the title [WIP] Fix failing GitHub Actions job Build (Debug) Fix spurious -lSHARED linker error in guile-uuid target Jun 2, 2026
Copilot finished work on behalf of drzo June 2, 2026 21:47
Copilot AI requested a review from drzo June 2, 2026 21:47

@drzo drzo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cooool

@drzo drzo marked this pull request as ready for review June 2, 2026 21:53
@drzo drzo merged commit f8e48ea into main Jun 2, 2026
4 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants