BUG #9296: Symbol resolution issue: undefined symbol: CheckFunctionValidatorAccess

Started by Remi Gacogneabout 12 years ago4 messagesbugs
Jump to latest
#1Remi Gacogne
rgacogne-bugs@nuagelabs.fr

The following bug has been logged on the website:

Bug reference: 9296
Logged by: Remi Gacogne
Email address: rgacogne-bugs@nuagelabs.fr
PostgreSQL version: 9.3.3
Operating system: Linux x86_64
Description:

Hi,

I just built a Postgresql 9.3.3 and I have an issue at runtime with a
program linked against libpq.so that works like a charm with 9.3.2. It seems
like a recently introduced symbol (CheckFunctionValidatorAccess) isn't
exported.

The exact runtime error is :

could not load library "/usr/lib/postgresql/plpgsql.so":
/usr/lib/postgresql/plpgsql.so: undefined symbol:
CheckFunctionValidatorAccess

The function is indeed used:

$ objdump -RtD /usr/lib/postgresql/plpgsql.so |grep InputFunctionCall
0000000000000000 *UND* 0000000000000000
InputFunctionCall
00000000000071d0 <InputFunctionCall@plt>:
1288b: e8 40 49 ff ff callq 71d0 <InputFunctionCall@plt>
128ab: e8 20 49 ff ff callq 71d0 <InputFunctionCall@plt>
225ea0: R_X86_64_JUMP_SLOT InputFunctionCall

But I an not able to find the symbol anywhere. Am I missing something?

Thank you,

Remi Gacogne

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Remi Gacogne (#1)
Re: BUG #9296: Symbol resolution issue: undefined symbol: CheckFunctionValidatorAccess

rgacogne-bugs@nuagelabs.fr writes:

I just built a Postgresql 9.3.3 and I have an issue at runtime with a
program linked against libpq.so that works like a charm with 9.3.2. It seems
like a recently introduced symbol (CheckFunctionValidatorAccess) isn't
exported.

You apparently are not running a 9.3.3 server, because that symbol should
be exported by the core server executable. Maybe you installed 9.3.3 but
forgot to restart the server?

regards, tom lane

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#3Remi Gacogne
rgacogne-bugs@nuagelabs.fr
In reply to: Tom Lane (#2)
Re: BUG #9296: Symbol resolution issue: undefined symbol: CheckFunctionValidatorAccess

Hi Tom,

On Thu, 20 Feb 2014, Tom Lane wrote:

rgacogne-bugs@nuagelabs.fr writes:

I just built a Postgresql 9.3.3 and I have an issue at runtime with a
program linked against libpq.so that works like a charm with 9.3.2. It seems
like a recently introduced symbol (CheckFunctionValidatorAccess) isn't
exported.

You apparently are not running a 9.3.3 server, because that symbol should
be exported by the core server executable. Maybe you installed 9.3.3 but
forgot to restart the server?

Sorry, I forgot to specify that my program is a client, using
the libpq API to interact with a PG server. So yes, I did restart the
executable.

Best regards,

Remi Gacogne

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#4Remi Gacogne
rgacogne@nuagelabs.fr
In reply to: Remi Gacogne (#3)
Re: BUG #9296: Symbol resolution issue: undefined symbol: CheckFunctionValidatorAccess

I just built a Postgresql 9.3.3 and I have an issue at runtime with a
program linked against libpq.so that works like a charm with 9.3.2. It
seems
like a recently introduced symbol (CheckFunctionValidatorAccess) isn't
exported.

You apparently are not running a 9.3.3 server, because that symbol should
be exported by the core server executable. Maybe you installed 9.3.3 but
forgot to restart the server?

Sorry, I forgot to specify that my program is a client, using the libpq API
to interact with a PG server. So yes, I did restart the executable.

Thinking about it twice, you may be right. The server is not on the same
host but may have been upgraded at the same time, and while I get the
error message on the client side, it may just be because the client
displays an error message sent by the server. I will check as soon as
possible, and if that's the case I am very sorry about the noise.

Thank you!

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs