linux编译安装libks,linux下安装R

安装rstudio

[[email protected] ~]# wget http://download2.rstudio.org/rstudio-server-0.98.1091-x86_64.rpm

--2018-04-10 03:31:57-- http://download2.rstudio.org/rstudio-server-0.98.1091-x86_64.rpm

Resolving download2.rstudio.org... 54.192.212.48, 54.192.212.112, 54.192.212.214, ...

Connecting to download2.rstudio.org|54.192.212.48|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 55476487 (53M) [application/x-redhat-package-manager]

Saving to: “rstudio-server-0.98.1091-x86_64.rpm”

100%[=====================================================================================================================================================>] 55,476,487 28.8K

/s in 23m 20s

2018-04-10 03:55:18 (38.7 KB/s) - “rstudio-server-0.98.1091-x86_64.rpm” saved [55476487/55476487]

[[email protected] ~]# ll

total 68040

-rw-------. 1 root root 3310 Mar 10 2017 anaconda-ks.cfg

-rw-r--r-- 1 root root 696 Jul 21 2017 derby.log

drwxr-xr-x. 5 root root 4096 Apr 10 03:20 Desktop

drwxr-xr-x. 2 root root 4096 Mar 10 2017 Documents

drwxr-xr-x. 2 root root 4096 Mar 10 2017 Downloads

-rw-r--r-- 1 root root 14973 Jul 21 2017 hs_err_pid6312.log

-rw-r--r--. 1 root root 41955 Mar 10 2017 install.log

-rw-r--r--. 1 root root 9154 Mar 10 2017 install.log.syslog

drwxr-xr-x 5 root root 4096 Mar 21 2017 metastore_db

drwxr-xr-x. 2 root root 4096 Mar 10 2017 Music

drwxr-xr-x. 2 root root 4096 Mar 10 2017 Pictures

drwxr-xr-x. 2 root root 4096 Mar 10 2017 Public

drwxr-xr-x 22 root root 4096 Dec 14 01:00 python

-rw-r--r-- 1 root root 14026384 Dec 13 22:58 Python-2.7.tgz

-rw-r--r--. 1 root root 65 Mar 11 2017 redhat-6.5_me_missing-rpms.lst

-rw-r--r-- 1 root root 55476487 Nov 6 2014 rstudio-server-0.98.1091-x86_64.rpm

drwxr-xr-x 2 root root 4096 Jul 12 2017 spark-warehouse

drwxr-xr-x. 2 root root 4096 Mar 10 2017 Templates

-rw-r--r-- 1 root root 849 Feb 6 23:11 testHive.py

drwxr-xr-x. 2 root root 4096 Mar 10 2017 Videos

-rw-r--r-- 1 root root 18280 Aug 14 2017 zookeeper.out

[[email protected] ~]# rpm -ivh rstudio-server-0.98.1091-x86_64.rpm

Preparing... ########################################### [100%]

1:rstudio-server ########################################### [100%]

groupadd: group ‘rstudio-server‘ already exists

rsession: no process killed

rstudio-server start/running

ERROR:

[[email protected] ~]# rstudio-server start

/usr/lib/rstudio-server/bin/rserver: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory

/usr/sbin/rstudio-server: line 24: return: can only return from a function or sourced script

initctl: Job is already running: rstudio-server

[[email protected] ~]# rstudio-server verify-installation

rstudio-server stop/waiting

/usr/lib/rstudio-server/bin/rserver: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory

rstudio-server start/running

SOLUTION:

[[email protected] ~]# cd /usr/lib64

[[email protected] lib64]# ll *ssl*

lrwxrwxrwx. 1 root root 27 Mar 11 2017 libnss_compat_ossl.so.0 -> libnss_compat_ossl.so.0.0.0

-rwxr-xr-x. 1 root root 81832 Mar 16 2010 libnss_compat_ossl.so.0.0.0

-rwxr-xr-x. 1 root root 249368 Oct 15 2013 libssl3.so

lrwxrwxrwx. 1 root root 16 Mar 10 2017 libssl.so.10 -> libssl.so.1.0.1e

-rwxr-xr-x. 1 root root 439912 Sep 27 2013 libssl.so.1.0.1e

openssl:

total 4

drwxr-xr-x. 2 root root 4096 Mar 10 2017 engines

[[email protected] lib64]# ln -s libssl.so.1.0.1e libssl.so.6

[[email protected] lib64]# ll *ssl*

lrwxrwxrwx. 1 root root 27 Mar 11 2017 libnss_compat_ossl.so.0 -> libnss_compat_ossl.so.0.0.0

-rwxr-xr-x. 1 root root 81832 Mar 16 2010 libnss_compat_ossl.so.0.0.0

-rwxr-xr-x. 1 root root 249368 Oct 15 2013 libssl3.so

lrwxrwxrwx. 1 root root 16 Mar 10 2017 libssl.so.10 -> libssl.so.1.0.1e

-rwxr-xr-x. 1 root root 439912 Sep 27 2013 libssl.so.1.0.1e

lrwxrwxrwx 1 root root 16 Apr 10 18:26 libssl.so.6 -> libssl.so.1.0.1e

[[email protected] lib64]# ll *libcrypto*

lrwxrwxrwx 1 root root 19 Apr 10 18:30 libcrypto.so -> libcrypto.so.1.0.1e

lrwxrwxrwx. 1 root root 19 Mar 10 2017 libcrypto.so.10 -> libcrypto.so.1.0.1e

-rwxr-xr-x. 1 root root 1949440 Sep 27 2013 libcrypto.so.1.0.1e

[[email protected] lib64]# ln -s libcrypto.so.1.0.1e libcrypto.so.6

[[email protected] lib64]# ll *libcrypto*

lrwxrwxrwx 1 root root 19 Apr 10 18:30 libcrypto.so -> libcrypto.so.1.0.1e

lrwxrwxrwx. 1 root root 19 Mar 10 2017 libcrypto.so.10 -> libcrypto.so.1.0.1e

-rwxr-xr-x. 1 root root 1949440 Sep 27 2013 libcrypto.so.1.0.1e

lrwxrwxrwx 1 root root 19 Apr 10 18:34 libcrypto.so.6 -> libcrypto.so.1.0.1e

ERROR:

[[email protected] lib64]# rstudio-server start

initctl: Job is already running: rstudio-server

[[email protected] lib64]# rstudio-server verify-installation

rstudio-server stop/waiting

11 Apr 2018 01:35:45 [rserver] ERROR Unable to find libR.so in expected locations within R Home directory /usr/local/R3.2.2/lib64/R; LOGGED FROM: bool core::r_util::

>::detectRLocationsUsingR(const std::string&, core::FilePath*, core::FilePath*, core::config_utils::Variables*, std::string*) /root/rstudio/src/cpp/core/r_util/REnvironmentPosix

.cpp:544

11 Apr 2018 01:35:45 [rserver] ERROR R shared library (/usr/local/R3.2.2/lib64/R/lib/libR.so) not found. If this is a custom build of R, was it built with the --enable-R-shlib option

?; LOGGED FROM: bool core::r_util::::validateREnvironment(const core::r_util::EnvironmentVars&, const core::FilePath&, std::string*) /root/rstudio/src/cpp/core/r_util

/REnvironmentPosix.cpp:368

R shared library (/usr/local/R3.2.2/lib64/R/lib/libR.so) not found. If this is a custom build of R, was it built with the --enable-R-shlib option?

rstudio-server start/running, process 42212

SOLUTION:

[[email protected] Packages]# rpm -ivh openssl-1.0.1e-15.el6.x86_64.rpm

warning: openssl-1.0.1e-15.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

Preparing... ########################################### [100%]

package openssl-1.0.1e-15.el6.x86_64 is already installed

[[email protected] Packages]# rpm -ivh openssl-devel-1.0.1e-15.el6.x86_64.rpm krb5-devel-1.10.3-10.el6_4.6.x86_64.rpm keyutils-libs-devel-1.4-4.el6.x86_64.rpm libcom_err-devel-1.41.12-18

.el6.x86_64.rpm libselinux-devel-2.0.94-5.3.el6_4.1.x86_64.rpm libsepol-devel-2.0.41-4.el6.x86_64.rpm

warning: openssl-devel-1.0.1e-15.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

Preparing... ########################################### [100%]

1:libsepol-devel ########################################### [ 17%]

2:libselinux-devel ########################################### [ 33%]

3:libcom_err-devel ########################################### [ 50%]

4:keyutils-libs-devel ########################################### [ 67%]

5:krb5-devel ########################################### [ 83%]

6:openssl-devel ########################################### [100%]

ERROR:

ERROR Unable to find libR.so in expected locations within R Home directory

SOLUTION: 重新编译R

./configure --enable-R-shlib --prefix=/usr/local/R3.2.2

ERROR:

[[email protected] R-3.2.2]# rstudio-server verify-installation

11 Apr 2018 01:50:41 [rsession-rstudio-server] ERROR r error 4 (R code execution error) [errormsg=Error in tools:::httpdPort > 0L :

comparison (6) is possible only for atomic and list types

]; OCCURRED AT: core::Error r::exec::::evaluateExpressionsUnsafe(SEXPREC*, SEXPREC*, SEXPREC**, r::sexp::Protect*) /root/rstudio/src/cpp/r/RExec.cpp:148; LOGGED FROM: core

::Error session::modules::help::initialize() /root/rstudio/src/cpp/session/modules/SessionHelp.cpp:892

rstudio-server start/running, process 80692

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
要在freeswitch中安装libav,您可以按照以下步骤进行操作: 1. 首先,确保您已经下载了freeswitch的安装包,其中应该包含libav相关的文件,如引用所示。 2. 接下来,您需要安装cmake、libks、libuuid和signalwire-c,这些是freeswitch安装过程中所需的依赖项。 3. 下一步是安装libav,您可以使用wget命令下载libav的tar.bz2压缩包。具体命令如引用所示。确保您已经下载了适当版本的libav,并将其放置在合适的位置。 4. 解压缩libav压缩包,并按照其中的说明进行安装。通常,您需要运行configure、make和make install命令来完成安装过程。具体的安装步骤可能因libav的版本而有所不同,请参考libav的文档或官方网站获取更详细的安装指南。 5. 安装完成后,您可以使用freeswitch来调用和使用libav库来处理音视频相关的任务。具体的操作方式和代码实现取决于您的具体需求和使用场景。 希望以上信息对您有所帮助,如果您还有其他问题,请随时提问。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [freeswitch 安装全部资源包](https://download.csdn.net/download/abner_xf/85506592)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* *3* [freeswitch-1.10.7 on centos7编译安装](https://blog.csdn.net/qiuzhendezhen/article/details/127536808)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值