Re: Compiling tsearch2 on AIX

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mag Gam <magawake(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Compiling tsearch2 on AIX
Date: 2005-06-21 15:29:03
Message-ID: 11531.1119367743@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-06-21 15:34:23 Re: Escape handling in strings
Previous Message Karl O. Pinc 2005-06-21 15:25:01 Re: [GENERAL] Escape handling in strings