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
This might be a beginner's question, but I couldn't find any documentation on this problem, although I saw issues open about this (like #475).
When I build a C++ package, it links to whatever version of a library gets pulled by conda build, unless I pin to a version (of course). So let's say it links my products to libCLHEP.so.2.2.0.8.
If a user downloads the package and gets a newer version, then the link breaks.
Of course, I can fix this by pinning to a specific library version in my meta.yaml file, but this is overly restrictive. In fact, my software can work with say any CLHEP >= 2.2. But adding that to meta.yaml will not work because the links happens with the versioned library.
I looked for some kind of flags for the linker so that it links against libCLHEP.so instead of libCLHEP.so.2.2.0.8 but couldn't find one...
how can I solve this problem?
The text was updated successfully, but these errors were encountered:
We track pinnings at a global level. Here is a full list of everything pinned. If you think a package needs to be pinned and is not or would like to recommend a pinning, please raise over at that feedstock. Thanks.
Thanks for your answer, but I do not understand how that answers my question.
I know about those pinnings, but unless we want to put in the global pinnings every single package with dynamic libraries that is ever going to be part of conda-forge, I don't see how that solves the problem I mentioned... Can you be more specific, or point me to some documentation about this problem?
This might be a beginner's question, but I couldn't find any documentation on this problem, although I saw issues open about this (like #475).
When I build a C++ package, it links to whatever version of a library gets pulled by
conda build
, unless I pin to a version (of course). So let's say it links my products tolibCLHEP.so.2.2.0.8
.If a user downloads the package and gets a newer version, then the link breaks.
Of course, I can fix this by pinning to a specific library version in my
meta.yaml
file, but this is overly restrictive. In fact, my software can work with say any CLHEP >= 2.2. But adding that tometa.yaml
will not work because the links happens with the versioned library.I looked for some kind of flags for the linker so that it links against
libCLHEP.so
instead oflibCLHEP.so.2.2.0.8
but couldn't find one...how can I solve this problem?
The text was updated successfully, but these errors were encountered: