error in Rserve 1.8-6 installation - macOS 10.15

I got the following error:

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [server] Error 1
ERROR: compilation failed for package ‘Rserve’

  • removing ‘/Library/Frameworks/R.framework/Versions/R-3.5.1/library/Rserve’

This entry by @longoka and the accompanying thread might be of relevance to you regarding the problem.

@Mark_Ortmann another KNIME user very likely in need of your script :slight_smile:

2 Likes

Hi @corocla,

I just sent you a PM.

@mlauber71 thx for bringing this to my attention :hugs:.

Happy Easter!
Mark

2 Likes

@Mark_Ortmann I am a Mac 10.15 user using R 3.6.3 trying to get Rserve 1.8-6 to install to use Knime. Can you help me please?

Hi there @deutsctd,

welcome to KNIME Community!

Here you can find installation guide for R together with above mentioned script:
https://docs.knime.com/latest/r_installation_guide/index.html

Hope this helps! In case of additional issues, questions or comments don’t hesitate to act :wink:

Br,
Ivan

3 Likes

Thanks @ipazin I installed Xcode from Apple, installed GNU Fortran from here and installed XQuartz.

When I run:
install.packages(‘Rserve’,“http://rforge.net/",type="source”)

I get this error:

ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [forward] Error 1
make: *** [all] Error 2
ERROR: compilation failed for package ‘Rserve’

  • removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rserve’

I think what worked for me was downloading the .gz package and install it via RStudio from the local drive (doe not make any sense I know). Since you are at it you could try and install R 4.0.0 - you would have to change the version number in the script.

The missing ssl lib is automatically install when you run the script linked in the doc

2 Likes

I ran the mac_10.14_or_higher.sh shell command and got this output:

INFO >>> Installing R package “Rserve”
INFO >>> |- Installating required system package openssl …

ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [forward] Error 1
make: *** [all] Error 2
ERROR: compilation failed for package ‘Rserve’

  • removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rserve’

Hey @deutsctd,

sorry for my late response. Could you please provide me the output of those two commands

brew list openssl
brew list openssl | grep -m 1 -o ‘.*[1].[0-1].[0-9][a-z]/lib/’

Make sure to anonymize the output if required.

Best
Mark

2 Likes

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