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.
I just want to give an update on my problem, for which I found a solution thanks to the efforts of @mlauber71 and @Mark_Ortmann . Thank you both.
I’m on MacOS Catalina, R3.6.3 and KNIME 4.1.2.
The compilation problem I was encountering installing Rserve 1.8.6 seems to have been related to trying this install from within RStudio. In the end, I needed to do everything from the command line using the steps:
clarify openssl path: export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/
boot …
@Mark_Ortmann another KNIME user very likely in need of your script
2 Likes
Hi @corocla ,
I just sent you a PM.
@mlauber71 thx for bringing this to my attention .
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?
ipazin
May 16, 2020, 1:03pm
#5
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
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
system
closed
November 18, 2020, 6:36pm
#11
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.