Skip to content
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

Merged
merged 4 commits into from
Aug 16, 2023

Conversation

dingqiangliu
Copy link
Contributor

@dingqiangliu dingqiangliu commented Jun 19, 2023

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

Copy link
Collaborator

@williammatherjones williammatherjones left a 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
Copy link
Collaborator

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\'';
Copy link
Collaborator

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.

@dingqiangliu
Copy link
Contributor Author

@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.

@sitingren
Copy link
Member

I fixed the CI test failure. Now this is ready to merge.

@sitingren sitingren merged commit c62a973 into vertica:main Aug 16, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants