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
Spindle create cache of multiarray.so as /tmp/spindle.PIDNUM/b0-_path_to_lib_python2.7_site-packages_numpy_core_multiarray.so
This multiarray.so requires $ORIGIN/../.libs/tls/x86_64/libopenblasp.so
In this case, $ORIGIN/../.libs/tls/x86_64/libopenblasp.so should be expands as /path/to/lib/python2.7/site-packages/numpy/core/../.libs/libopenblasp.so.
However, SPINDLE expands as /tmp/spindle.PIDNUM/../.libs/tls/x86_64/libopenblasp.so.
i.e. SPINDLE expands $ORIGIN as /tmp/spindle.PIDNUM/ instead of /path/to/lib/python2.7/site-packages/numpy/core/
As a result, the process cannot load multiarray.so.
This issue may be similar to #17, but current SPINDLE runs with --debug=yes in default.
The text was updated successfully, but these errors were encountered:
The devel branch has a fix for this issue. It's an unfortunately large fix that changes a lot, so I won't be making a point release for it. It'll be included in the next major Spindle release.
When I try SPINDLE, I found that $ORIGIN in $RPATH in nested dependency is not handled correctly and the process cannot load some libraries.
Example: When my python script on my environment imports
matplotlib
,/path/to/lib/python2.7/site-packages/numpy/core/multiarray.so
/tmp/spindle.PIDNUM/b0-_path_to_lib_python2.7_site-packages_numpy_core_multiarray.so
$ORIGIN/../.libs/tls/x86_64/libopenblasp.so
In this case,
$ORIGIN/../.libs/tls/x86_64/libopenblasp.so
should be expands as/path/to/lib/python2.7/site-packages/numpy/core/../.libs/libopenblasp.so
.However, SPINDLE expands as
/tmp/spindle.PIDNUM/../.libs/tls/x86_64/libopenblasp.so
.i.e. SPINDLE expands
$ORIGIN
as/tmp/spindle.PIDNUM/
instead of/path/to/lib/python2.7/site-packages/numpy/core/
As a result, the process cannot load multiarray.so.
This issue may be similar to #17, but current SPINDLE runs with
--debug=yes
in default.The text was updated successfully, but these errors were encountered: