-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading error in macOS on GitHub Actions #11
Comments
yes this sounds like an RPATH issue ... https://cmake.org/cmake/help/v3.0/prop_tgt/MACOSX_RPATH.html |
right, sorry, this didn't use cmake 🤦 |
Maybe try a different platform file which uses rpath |
Looks we detect the macosx version, which version does your CI use, maybe the rpath support in ACE could move to an older version |
One thing that I am probably missing: in conda/conda-forge all the shared libraries get installed in a single directory |
conda-build and conda relocate binaries: that's why the install prefix is so super-long because it gets replaced by the install prefix when running conda install. So if you have an absolute rpath to the install prefix, conda-build will detect that and conda will replace it with the final prefix when installing. That way libraries and all are relocatable. Does this explanation make sense? :) I can retry tomorrow morning. |
Yes, totally, so if rpath is enable or not if should not make a difference. However, from the error it is not clear how the |
Yeah it probably uses the rpath where it builds, but not where it installs :/ |
I reproduced the same error with a small test as part of the build of the recipe itself in #12 :
|
The problem was discussed in #12 (comment) and will be fixed by #12 . |
Fixed? |
Yes, the build at robotology/robotology-superbuild#513 are also now working correctly, thanks! |
awesome! |
I am using this recipe in a CI system, and the running of a simple program is failing in macOS with the following error:
Environment (
conda list
):Details about
conda
and system (conda info
):I wondering if there is some rpath error. The same program runs fine on Linux. A possible strategy is to add a simple step in the recipe that compiles and run a program that uses ACE, as done for example in https://github.com/conda-forge/ipopt-feedstock/blob/master/recipe/run_test.sh .
The text was updated successfully, but these errors were encountered: