2016-09-29 65 views
0

我目前正試圖在RedHat Enterprise Linux 6機器上安裝pgloader(v.3.3.1)。 我已經下載了tar.gz並解壓縮了這些文件。根據需要,我使用「無法加載任何替代品」,同時安裝pgloader

make 

而在目錄中爲了構建程序。 安裝pgloader需要一個Lisp編譯器,所以我使用當前版本的SBCL(1.2.7)來達到此目的。 在操作過程中,雖然我在系統上安裝了最新版本的openssl-devel,但出現了有關libssl選項的錯誤。

[[email protected] 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")) 

無論何時我選擇Accept,Retry或Continue,安裝都會失敗。如果有人有關於如何成功的線索,我將不勝感激。

回答

0

我得到同樣的問題,並決定嘗試Clozure CL(也支持pgloader),並解決了這個問題!

  1. 下載Clozure CL:

SVN共同http://svn.clozure.com/publicsvn/openmcl/release/1.11/linuxx86/ccl

  • 安裝腳本/ ccl64如在/ usr/local/bin中/ CCl和改變腳本點回你的SVN目錄:

    if [ -z "$CCL_DEFAULT_DIRECTORY"]; then 
    
        CCL_DEFAULT_DIRECTORY=/home/ec2-user/ccl 
    
    fi 
    
  • 改回pgloader目錄和

    make CL=ccl 
    
  • ,它應該建立正確!