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

undefined symbol: errstart_cold #76

Closed
k1271697262 opened this issue Sep 23, 2022 · 3 comments
Closed

undefined symbol: errstart_cold #76

k1271697262 opened this issue Sep 23, 2022 · 3 comments
Assignees
Labels

Comments

@k1271697262
Copy link

Hi, I have the same question, did you solve it?
I install the pg_bigm to create index.
It seems that someone install the PG14, but i use
' dpkg -l | grep postgres
sudo apt --purge remove [version-name] ' to remove it .
when i 'sudo pg_config', it seems PG13,but when i create extension.it says 'undefined symbol: errstart_cold'

@rjuju rjuju self-assigned this Sep 23, 2022
@rjuju rjuju added the question label Sep 23, 2022
@rjuju
Copy link
Member

rjuju commented Sep 23, 2022

Hi,

Are you saying that you want to compile and install hypopg for pg 13 and that it's failing?

If yes, I think that the issue is that your current user "sees" pg14, and therefore compiles against this version, but you then do sudo make install, and sudo "sees" pg13, meaning that you compiled a pg14 hypopg and you install it on pg13, which is the reason of the problem.

You have to make sure that when you compile, when you run pg_config you see the same version as with sudo. You will also probably to do a make clean first to force recompilation.

@k1271697262
Copy link
Author

Thank you!
I get the way!
I cd the dir and run mkake uninstall to un install and then run make clean to force recompilation
Then I try make make install and assign the PG_CONFIG='/usr/bin/pg_config'
The end i create extension successfully

@rjuju
Copy link
Member

rjuju commented Sep 23, 2022

Great news!

I'm closing this issue, feel free to open a new one if you face any other problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants