-
Notifications
You must be signed in to change notification settings - Fork 67
undefined symbol: make_result #81
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
Comments
Hi @darthunix, Sorry, but I couldn't reproduce your issue. Do you have 9.5 installed by default? |
Looks like you've built .so for PostgreSQL 9.5. For instance, if I do something like this: make USE_PGXS=1 PG_CONFIG=~/pg_95/bin/pg_config # build for 9.5
make USE_PGXS=1 PG_CONFIG=~/pg_962/bin/pg_config install # install into 9.6.2 I get the same result: FATAL: could not load library "/home/dmitry/pg_962/lib/postgresql/pg_pathman.so": /home/dmitry/pg_962/lib/postgresql/pg_pathman.so: undefined symbol: make_result
LOG: database system is shut down |
Yes, absolutely correct. I had 9.5 + postgresql-server-dev-9.5 and 9.6 on my sandbox. I ran make install and found that the building path was for 9.5. As I didn't need 9.5 I've removed it, installed postgresql-server-dev-9.6 and built pg_pathman for it. And after adding pg_pathman to postgresql.conf I've got this error |
Is everything OK now? |
I still fail to use pg_pathman exactly on that sandbox. On all other postgresql servers with pure 9.6 everything is ok. But on the one where I've tried to build first on 9.5 and after on 9.6 the problem is still reproducing. It is not a big deal for me right now. I've just reported you about a problem that can be interesting for you |
I'll try to clean all *. so files on monday and report you about results. Sorry for my previous answer it is late right now and I didn't understand you)) |
You have to set the The |
Good, but you must understand that this problem is not caused by pg_pathman :)
That's OK, I'll wait for your feedback. |
@darthunix, did you solve your issue? |
sorry for not writing feedback - I had vacations. yes, everything ok. I just had to clean the building directory. |
Hello,
after loading pg_pathman in postgresql.conf
shared_preload_libraries = 'pg_pathman, pg_stat_statements'
and restarting postgresql service it fails to start and outputs an error
FATAL: could not load library "/usr/lib/postgresql/9.6/lib/pg_pathman.so": /usr/lib/postgresql/9.6/lib/pg_pathman.so: undefined symbol: make_result
Checked om master and 1.3 branches
System and software:
The text was updated successfully, but these errors were encountered: