首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装pgloader时出现"Unable to load any of the alternatives“

安装pgloader时出现"Unable to load any of the alternatives“
EN

Stack Overflow用户
提问于 2016-09-29 23:16:33
回答 1查看 460关注 0票数 0

我目前正在尝试在RedHat Enterprise Linux6机器上安装pgloader (v.3.3.1)。我已经下载了tar.gz并解压缩了文件。根据需要,我使用

代码语言:javascript
复制
make

而在目录中,以便构建程序。安装pgloader需要一个Lisp编译器,因此我使用当前版本的SBCL (1.2.7)来实现此目的。在操作过程中,尽管我在系统上安装了最新版本的openssl-devel,但我收到了一个关于libssl替代方案的错误。

代码语言:javascript
复制
[root@ebsvis122 pgloader-3.3.1]# make
sbcl --noinform --no-sysinit --no-userinit --load build/quicklisp/setup.lisp
         --eval '(push "/root/pgloader-3.3.1/" asdf:*central-registry*)'
         --eval '(ql:quickload "pgloader")'                     \
         --eval '(quit)'
To load "pgloader":
Load 1 ASDF system:
pgloader
; Loading "pgloader"
.....................
debugger invoked on a CFFI:LOAD-FOREIGN-LIBRARY-ERROR in thread
#<THREAD "main thread" RUNNING {AF43679}>:
Unable to load any of the alternatives:
  ("libssl.so.1.0.2" "libssl.so.1.0.1l" "libssl.so.1.0.1e"     "libssl.so.1.0.1j"
"libssl.so.1.0.1" "libssl.so.1.0.0q" "libssl.so.1.0.0" "libssl.so.0.9.8ze"
"libssl.so.0.9.8" "libssl.so" "libssl.so.4" "libssl.so.10")

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
0: [RETRY                        ] Try loading the foreign library again.
1: [USE-VALUE                    ] Use another library instead.
2: [TRY-RECOMPILING              ] Recompile reload and try loading it again
3: [RETRY                        ] Retry
                                 loading FASL for #<CL-SOURCE-FILE "cl+ssl"
4: [ACCEPT                       ] Continue, treating
                                 loading FASL for #<CL-SOURCE-FILE "cl+ssl"
                                 as having been successful.
5:                                 Retry ASDF operation.
6: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
                                 configuration.
7: [ABORT                        ] Give up on "pgloader"
8: [CONTINUE                     ] Ignore runtime option --eval "     (ql:quickload
9:                                 Skip rest of --eval and --load options.
10:                                 Skip to toplevel READ/EVAL/PRINT loop.
11: [EXIT                        ] Exit SBCL (calling #'EXIT, killing the     proc

(CFFI::FL-ERROR "Unable to load any of the alternatives:~%   ~S" 
("libssl.so.1.0.9.8ze" "libssl.so.0.9.8" "libssl.so" "libssl.so.4" "libssl.so.10"))

每当我选择接受、重试或继续时,安装都会失败。如果有人知道如何成功,我将不胜感激。

EN

回答 1

Stack Overflow用户

发布于 2017-09-19 07:06:06

我得到了同样的问题,并决定尝试Clozure CL (也由pgloader支持),这解决了问题!

  1. 下载Clozure CL:

svn co http://svn.clozure.com/publicsvn/openmcl/release/1.11/linuxx86/ccl

  1. 将脚本/ccl64安装为/usr/local/bin/ccl,并将脚本更改为指向您的SVN目录:

如果用户为"$CCL_DEFAULT_DIRECTORY";,则ccl_DEFAULT_ directory =/ -z /ec2-user/ccl fi

  • 更改回pgloader目录,并

make CL=ccl

它应该正确地构建!

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39774121

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档