Skip to content

Conversation

dmllr
Copy link

@dmllr dmllr commented Apr 8, 2024

find_library in CMake always tries to find the library installed, but in the case when the same library was build from source as a CMake dependency, find_library would fail.

To fix the issue, CMakeLists.txt is changed to call find_library for mbedtls only if needed.

@pabuhler
Copy link
Member

pabuhler commented Jun 9, 2024

"ld: symbol(s) not found for architecture x86_64", i guess it needs to check if the architecture matches as well, or is it a different reason it fails?

@pabuhler pabuhler closed this Jun 9, 2024
@pabuhler pabuhler reopened this Jun 9, 2024
@pabuhler
Copy link
Member

pabuhler commented Jun 9, 2024

Did not mean to close this :(

@pabuhler
Copy link
Member

@dmllr i have tried to find if this is the correct thing to be doing or not but I have not found any good documentation. Do you have any references? If it is correct than I guess it should be don't for all dependencies. I will continue to try and find some answers.

@dmllr dmllr closed this Aug 19, 2025
@dmllr
Copy link
Author

dmllr commented Aug 19, 2025

Closed as outdated

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