Andrew Chernow <ac(at)esilo(dot)com> writes:
> u235sentinel wrote:
>> So I compiled postgres with Solaris 10 and have problems running it.
>>
>> # ./pg_ctl
>> ld.so.1: pg_ctl: fatal: relocation error: R_AMD64_32: file
>> /usr/local/postgres64/lib/libpq.so.5: symbol (unknown): value
>> 0xfffffd7fff1cf210 does not fit
> Maybe libpq.so wasn't built with the PIC option (gcc -fPIC, sun compiler -Kpic).
That is sort of what the error suggests, all right, but Makefile.solaris
has set up CFLAGS_SL that way for a long time. Perhaps CFLAGS_SL is
getting overridden from somewhere?
regards, tom lane