Skip to content
Discussion options

You must be logged in to vote

It is probably because the pkg-config flags don't include -Wl,-rpath,/home/linuxbrew/.linuxbrew/lib to the LDFLAGS. You should be able to use something like export LDFLAGS='-Wl,-rpath,/home/linuxbrew/.linuxbrew/lib' to add the missing flag that when you compile SentryPeer with brewed libmicrohttpd.

@Homebrew/linux what's our policy on adding RPATH flags to the Libs stanza of .pc files for libraries we ship? We don't need to this when we use those libraries as dependencies within Homebrew itself because we add the RPATH flags in the compiler shims (and the GCC spec file also adds it as well on Linux). However when using those libraries outside of Homebrew, they need the extra RPATH flag fo…

Replies: 4 comments 15 replies

Comment options

You must be logged in to vote
7 replies
@danielnachun
Comment options

@carlocab
Comment options

carlocab Dec 5, 2021
Collaborator

@ghenry
Comment options

@ghenry
Comment options

@ghenry
Comment options

Answer selected by ghenry
Comment options

You must be logged in to vote
8 replies
@carlocab
Comment options

@ghenry
Comment options

@danielnachun
Comment options

@ghenry
Comment options

@danielnachun
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Linux
Labels
None yet
4 participants