Packages won't install on OpenSuse Leap 15

Hello,

I am doing the following and have the following errors while trying to install curl:

  • installing source package ‘curl’ …
    ** package ‘curl’ successfully unpacked and MD5 sums checked
    ** using staged installation

/usr/lib64/gcc/x86_64-suse-linux/7/…/…/…/…/x86_64-suse-linux/bin/ld: cannot find -lcurl: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [/usr/lib64/R/share/make/shlib.mk:10: curl.so] Error 1
ERROR: compilation failed for package ‘curl’
ERROR: dependency ‘curl’ is not available for package ‘rio’

What should I do in order -lcurl to be found and curl compiled?

Best regards,
Nikola

Install libcurl-devel.

It is already installed.

image

Then explain what you are trying to do so that others are also able to understand it. Showing some random errors is not enough.

As a part of “rio” installation in RStudio. That is all I am trying to do. Nothing else.

@nikolamilevski:

Are you quite sure that, you’ve satisfied all the dependencies required by the “rstudio” package?
Did you install RStudio from the main Leap 15.5 repository?
Does “zypper verify” indicate any missing packages?
Does “rpm --verify --all” indicate any files missing from the installed packages?


RStudio should have dropped some documentation files into /usr/share/doc/packages/

  • Have you followed all the instructions placed there?

Thank you very much for your suggestions.

I followed only the first one, “zypper verify” and the instructions after running it and it was enough to solve the problem.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.