Thread: Can't Compile F_OIDEC

Can't Compile F_OIDEC

From
"John Huttley"
Date:
Hello

I have RH6.2 with pg 6.5, which I wish to upgrade to 7.02

I installed the RPMS but then psql would not work. I gave a weird linker error.

Then I tried to compile the SRPM.

This fails with an Undefined symbol   F_OIDEC
in istrat.c line 494.

Does anyone have a solution for this?

Regards

John


Re: Can't Compile F_OIDEC

From
Tom Lane
Date:
"John Huttley" <John@mwk.co.nz> writes:
> Then I tried to compile the SRPM.

> This fails with an Undefined symbol   F_OIDEC
> in istrat.c line 494.

F_OIDEQ, you mean?  Offhand it sounds like something is messed up in
your copy of the fmgr.h file, which is supposed to be generated at
build time by src/backend/utils/Gen_fmgrtab.sh.  First thing I'd try
is doing "make clean" before "make all".  If that doesn't help, you'll
have to dig to see why that script is failing to extract a correct
list of function OID symbols.

            regards, tom lane