-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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: unable to install R package on CentOS 7 #13358
Comments
Hi! |
Setting The shared system libraries did not play nicely with the arrow package (lz4 and snappy in particular), so uninstalling them let the package installation go through properly. A feature request would be to add a configuration parameter to turn off searching for system libraries. Anyway, feel free to close. Thanks! |
@traversc just came across this issue again, due to the switch to C++17 the next release (10.0.0 in ~ 2-3 weeks) we (will) now build the centos 7 binaries with devtoolset 8 (PR here: #14243 input/testing appreciated!)
If you build from source (via |
@assignUser I worry about things like ABI compatibility. From what I understand, there was an ABI break during GCC 5, so a binary compiled with devtoolset 8 would not be by default compatible with Centos 7 GCC 4.8.5 (please correct me if I'm wrong). One solution could be to build two versions for Centos 7, one for the default GCC 4.8.5 and another for more modern compilers. There are some GCC compatibility flags that might be useful. Edit: but it looks like you got it working on Centos 7 GCC 4.8.5, so I could be wrong! |
This is not possible due to the switch to C++17 which is first supported in gcc >= 5 but with devtoolset the missing libc++ features are statically linked into the binary and will work on machines without dts (:magic_wand: ). You can test this yourself by downloading the |
Awesome, sounds like I'm wrong! What is "dts"? Would be happy to test it out for you, but need more instructions. How do I get the R package to point to the binaries in the zip file? |
Ah, sorry thought I had written it out before: dts = devtoolset Let me know if you need any other info :) |
Looks like it works on Centos 7 with GCC 10! There was a warning that the R package was built with R 4.2, but I assume that's a minor thing. |
Installing from CRAN fails with and without NOT_CRAN=true. One error message below. I'm unable to install on a fresh CentOS 7 installation, so very reproducible. Any way I can fix it?
(I posted this on JIRA 1 week ago, but it's currently filled with spam bots)
The text was updated successfully, but these errors were encountered: