pgloader
pgloader copied to clipboard
Compilation failed: In COLLECT-VERIFY-ERROR: Undeclared free variable +X509-V-OK+
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.
-
[ ] did you test a fresh compile from the source tree?
-
[ ] how can I reproduce the bug?
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
- [ ] How the data is different from what you expected, if relevant
I think, we should able to build the
pgloaderfrom source.