Mag Gam <magawake(at)gmail(dot)com> writes:
> I had to modify this line in the tsearch2 Makefile
> from
> SHLIB_LINK := -lm
> to
> SHLIB_LINK := -lm -lpgport
Hmm, that's annoying. I was about to commit this change but it actively
fails on my machine:
/usr/ccs/bin/ld: DP relative code in file ../../src/port/libpgport.a(exec.o) - shared library must be position
independent. Use +z or +Z to recompile.
make: *** [libtsearch2.sl.0] Error 1
So we need to think harder. I wonder why the libpgport symbols aren't
getting picked up from the backend itself on your machine?
regards, tom lane