-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc how to avoid undefined symbol of PCRE issue without uninstall existing PCRE packages #13
Conversation
…a/packages/odbc-loader/lib
…ut uninstall existing PCRE packages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general this looks good. We just need to resolve the issues that break the CI pipeline before we can merge the PR.
@@ -4,9 +4,9 @@ SDK_HOME ?= /opt/vertica/sdk | |||
SHELL = /bin/bash | |||
VSQL ?= /opt/vertica/bin/vsql | |||
LOADER_DEBUG = 0 | |||
TARGET ?= /opt/vertica/packages/odbc-loader/lib | |||
TARGET ?= ./lib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing the target to ./lib causes the CI tests to fail. Why is this change needed? Can we revert this to /opt/vertica/packages/odbc-loader/lib?
@@ -1,4 +1,5 @@ | |||
CREATE OR REPLACE LIBRARY ODBCLoaderLib AS '/opt/vertica/packages/odbc-loader/lib/ODBCLoader.so'; | |||
\set libfile '\''`pwd`'/lib/ODBCLoader.so\''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change would need to be reverted if we revert the lib location change in Makefile.
@williammatherjones why not just permit dbadmin user in docker writing project directory? Customers not always put project under /opt/vertica/packages/, that will confuse them where the so is if we hard code as /opt/vertica/packages/odbc-loader/lib/ODBCLoader.so. |
I fixed the CI test failure. Now this is ready to merge. |
An environment has high version PCRE, uninstall them will fail the operation system.
This PR give a way to let multiple version of PCRE coexist.
#10 #11 #12