Skip to content

Find a library in /usr/local/lib? #1202

Answered by rui314
rjzak asked this question in Q&A
Feb 24, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

GNU ld hardcodes some library paths, while mold and lld do not, facilitating cross-compilation. In general, it is not a good idea to rely on implicit library paths. You may want to fix your CMake file.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rjzak
Comment options

rjzak Feb 24, 2024
Author Sponsor

@rui314
Comment options

Answer selected by rjzak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants