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

Import from cvxopt fails on path related to libgomp #55

Open
h-vetinari opened this issue Aug 6, 2021 · 4 comments
Open

Import from cvxopt fails on path related to libgomp #55

h-vetinari opened this issue Aug 6, 2021 · 4 comments

Comments

@h-vetinari
Copy link
Member

cvxopt got added to cvxpy as a test dependency, and fails upon import in conda-forge/cvxpy-feedstock#60, though only on aarch (interestingly, even though those imports are part of the test suite here):

>   from cvxopt import base, blas, lapack, cholmod, misc_solvers
650s
3360E   ImportError: $PREFIX/lib/python3.7/site-packages/cvxopt/../../.././libgomp.so.1: cannot allocate memory in static TLS block
@h-vetinari
Copy link
Member Author

@isuruf,
Any idea what this might be caused by?

@isuruf
Copy link
Member

isuruf commented Aug 10, 2021

@isuruf
Copy link
Member

isuruf commented Aug 10, 2021

Maybe you can hunt down which library is consuming the TLS block the most.

@h-vetinari
Copy link
Member Author

Haha, fixed in glibc 2.32, that'll take a while 🤣

Thanks a lot for digging this up! Is the LD_PRELOAD approach out of the question?

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