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

Add dependency to SUSE RPM #193

Open
heath-posit opened this issue Oct 1, 2023 · 1 comment
Open

Add dependency to SUSE RPM #193

heath-posit opened this issue Oct 1, 2023 · 1 comment

Comments

@heath-posit
Copy link

When installing R to a SUSE cloud image, I received the following error:

localhost:~ # /opt/R/4.2.3/bin/R --version
/opt/R/4.2.3/lib/R/bin/exec/R: error while loading shared libraries: libRblas.so: cannot open shared object file: No such file or directory

The following fixes this issue:
zypper install -y openblas-devel

Please add the dependency above to RPM to avoid this error.

RPM used:

https://cdn.rstudio.com/r/opensuse-154/pkgs/R-4.2.3-1-1.x86_64.rpm

SUSE image used:

https://download.opensuse.org/repositories/Cloud:/Images:/Leap_15.3/images/openSUSE-Leap-15.3.x86_64-1.0.1-NoCloud-Build2.466.qcow2

OS Info:

opensuse-15-2:~ # more /etc/os-release
NAME="openSUSE Leap"
VERSION="15.3"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.3"
PRETTY_NAME="openSUSE Leap 15.3"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.3"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

@glin
Copy link
Contributor

glin commented Oct 2, 2023

Can you try the openSUSE 15.3 RPM? We used openblas-devel (serial OpenBLAS) as the dependency for the openSUSE 15.3 RPMs, then switched to libopenblas_pthreads-devel (threaded OpenBLAS) starting with SUSE 15.4. I don't remember why the 15.3 RPM was using the serial version, but I retested it on a fresh openSUSE 15.3 image and it worked fine.

$ curl -LO https://cdn.rstudio.com/r/opensuse-153/pkgs/R-4.2.3-1-1.x86_64.rpm
$ rpm -qpR R-4.2.3-1-1.x86_64.rpm 
...
openblas-devel

FYI we removed openSUSE 15.3 support a while back because it went EOL, but any existing RPMs should still be downloadable under /opensuse-153/.

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