-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
load libsuitesparse_wrapper.so (i686 CHOLMOD initialization error) #34936
Comments
How was this built? Can you point to the build script? |
https://julialang.org/downloads/ link deleted Nov 10, 2020 |
What version of gcc? Perhaps @staticfloat knows what might be going on. |
@apparluk translating that error message, it looks like it's saying If that is the case, this seems likely to be a |
output is from running gcc-5.5.0 / slackware-current would be gcc-9.2.0
output is from running glibc-2.23 / slackware-current would be glibc-2.30 I thought my improper alignment comment was sufficient, here's the English error message running in xterm, which also clarifies what I wrote about Julia messages assuming running in a UTF-8 LANG. |
Could you try slackware-current? |
I've sent a query on the matter to a Slackware user community member. |
i tested on slackware64-current and it has the same results |
How exactly are you building? What is the exact |
I'm using the binary version and packaged using this script: https://slackbuilds.org/slackbuilds/14.2/development/julia/julia.SlackBuild (with some changes to build the latest one) |
Can you try starting Julia from the downloaded tarball directly and see if it gives the same error? |
if i try to build it manually using make and run usr/bin/julia, it worked fine i think the static version is the one have problems under slackware-current. probably a mismatch in some part |
@willysr If on slackware64-current you move /usr/lib/julia/libsuitesparse_wrapper.so to libsuitesparse_wrapper.so.bak and copy from an extracted tarball the unstripped libsuitesparse_wrapper.so to /usr/lib/julia, do you get any load errors? |
Ah, yes, in the slack build instructions, it unconditionally strips all ELF objects: find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true This unfortunately sounds like a bad interaction between |
@staticfloat try |
We historically don't strip our binaries for precisely this reason; if you download the latest Julia release, those libraries are unstripped. The only stripping is occuring on the Slackware side. |
let me try without stripping then |
Which julia version began using patchelf? A comment not to strip for julia >= version could be added in the .SlackBuild above the commented out strip lines. |
Yeah, removing stripping makes it work on slackware64-current here. Thanks |
@staticfloat I'm inclined to close, with the possibility to reopen if the patchelf code changes. @willysr I suppose the following would suffice in an eventual SlackBuilds.org update.
|
Same.
At the very least, since we started using precompiled binaries for most of our dependencies, which would be Julia 1.2+. |
Improper alignment here.
The text was updated successfully, but these errors were encountered: