dimitri / pgloader

Migrate to PostgreSQL in a single command!
http://pgloader.io
Other
5.45k stars 548 forks source link

Compilation failed: In COLLECT-VERIFY-ERROR: Undeclared free variable +X509-V-OK+ #1488

Open Hareramrai opened 1 year ago

Hareramrai commented 1 year ago

I was trying migrate my DB from MySQL to PostgreSQL, while doing that I got heap exhausted error & after reading some of earlier reported issues, I got a recommendation which says that we could the pgloader from source with CCL to provider better garbage collection support.

ccl64 --version
Version 1.12.1 (v1.12.1) LinuxX8664

make CL=ccl64 DYNSIZE=24000 pgloader 
[package buildapp]...........
;; loading system "buildapp"
mkdir -p build/bin
build/bin/buildapp.ccl      --logfile /tmp/build.log                \
                                                 \
                         --sbcl ccl64                            \
                         --asdf-path .                           \
                         --asdf-tree build/quicklisp/local-projects     \
                         --manifest-file build/manifest.ql             \
                         --asdf-tree build/quicklisp/dists              \
                         --asdf-path .                           \
                         --load-system cffi                      \
                         --load-system cl+ssl                    \
                         --load-system mssql                     \
                         --load src/hooks.lisp                   \
                         --load-system pgloader               \
                         --entry pgloader:main                   \
                         --dynamic-space-size 24000         \
                                             \
                         --output build/bin/pgloader.tmp
;; loading system "cffi"
;; loading system "cl+ssl"
Fatal SIMPLE-ERROR:
  Compilation failed: In COLLECT-VERIFY-ERROR: Undeclared free variable +X509-V-OK+ in /home/hareram/workspace/pgloader/build/quicklisp/dists/quicklisp/software/cl+ssl-20230214-git/src/conditions.lisp
Fatal error in "buildapp" : Error #<SILENT-EXIT-ERROR #x1833A266>
make: *** [Makefile:140: build/bin/pgloader] Error 255