Reputation: 13
I am currently trying to install pgloader (v.3.3.1) on a RedHat Enterprise Linux 6 machine. I have downloaded the tar.gz and extracted the files. As required, I use
make
while in the directory in order to build the program. Installing pgloader requires a Lisp compiler, so I use the current version of SBCL (1.2.7) for this purpose. During the operation, I get an error concerning libssl alternatives, although I have the latest version of openssl-devel installed on the system.
[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"))
Whenever I choose Accept, Retry, or Continue, the installation keeps failing. I would appreciate if anyone had a clue about how to succeed it.
Upvotes: 0
Views: 754
Reputation: 651
I was getting the same problem and decided to try Clozure CL (also supported by pgloader) and this solved the issue!
svn co http://svn.clozure.com/publicsvn/openmcl/release/1.11/linuxx86/ccl
Install scripts/ccl64 as /usr/local/bin/ccl and change the script to point back to your SVN directory:
if [ -z "$CCL_DEFAULT_DIRECTORY"]; then
CCL_DEFAULT_DIRECTORY=/home/ec2-user/ccl
fi
change back to the pgloader directory and
make CL=ccl
and it should build correctly!
Upvotes: 1