Skip to content
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

[BUG] conda-forge Incorrect INTERFACE_LINK_LIBRARIES #69

Open
cheng-chi opened this issue Apr 12, 2020 · 3 comments
Open

[BUG] conda-forge Incorrect INTERFACE_LINK_LIBRARIES #69

cheng-chi opened this issue Apr 12, 2020 · 3 comments

Comments

@cheng-chi
Copy link

When using xtensor-io with conda, the INTERFACE_LINK_LIBRARIES in xtensor-ioTargets.cmake contains incorrect library paths such as "/home/conda/feedstock_root/build_artifacts/xtensor-io_1576590031955/_build_env/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib/librt.so" and is causing linker errors. I'm using the linux64 package.

@cheng-chi cheng-chi changed the title conda-forge Incorrect INTERFACE_LINK_LIBRARIES [BUG] conda-forge Incorrect INTERFACE_LINK_LIBRARIES Apr 12, 2020
@SylvainCorlay
Copy link
Member

Hello @cheng-chi thank you for reporting. Which version are you using?

@cheng-chi
Copy link
Author

cheng-chi commented Apr 12, 2020

Hello @cheng-chi thank you for reporting. Which version are you using?

Thanks for the fast reply! I'm using 0.9.0. The problem can also be demonstrated by decompressing the conda-forge tarball (lib/cmake/xtensor-io/xtensor-ioTargets.cmake)

@SylvainCorlay
Copy link
Member

Indeed, everything should have anaconda1anaconda2anaconda3 instead, which is replaced by the correct path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants