You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some derivations (glib for instance) pkg-config can fail when --static is passed. This might be because the library only has dynamic libraries. The error looks like this:
Package libpcre was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpcre', required by 'glib-2.0', not found
This could be fixed if there was lazier failure in Cabal. It could store the message instead of the options and print it when anyone tried to use them.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Cabal 3.8 asks
pkg-config
for linker options for both dynamic and static linking.See haskell/cabal@bf32602
For some derivations (glib for instance) pkg-config can fail when
--static
is passed. This might be because the library only has dynamic libraries. The error looks like this:This could be fixed if there was lazier failure in Cabal. It could store the message instead of the options and print it when anyone tried to use them.
The text was updated successfully, but these errors were encountered: