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

Issue linking to cppzmq when building xeus-python statically #635

Open
tbennett-adi opened this issue Jul 9, 2024 · 0 comments
Open

Issue linking to cppzmq when building xeus-python statically #635

tbennett-adi opened this issue Jul 9, 2024 · 0 comments

Comments

@tbennett-adi
Copy link

Hi, I am trying to build xeus-python on MacOSX as an executable, statically linking to its dependencies. I have obtained the dependencies via micromamba. Looking at the documentation, it looks like all I should have to do is turn off two flags when running cmake:

XPYT_USE_SHARED_XEUS
XPYT_USE_SHARED_XEUS_PYTHON

However, having run the following command:

cmake .. -D CMAKE_PREFIX_PATH=$CONDA_PREFIX -DXPYT_USE_SHARED_XEUS=OFF -DXPYT_USE_SHARED_XEUS_PYTHON=OFF

and then trying to build the output, I get the following error:

ld: library 'cppzmq' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I'm surprised to see what appears to be a dynamic cppzmq library being referenced in the build. Any ideas where I might be going wrong?

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

1 participant