Re: Compiling tsearch2 on AIX

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Compiling tsearch2 on AIX
Дата
Msg-id 11531.1119367743@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Compiling tsearch2 on AIX  (Mag Gam <magawake@gmail.com>)
Список pgsql-hackers
Mag Gam <magawake@gmail.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Karl O. Pinc"
Дата:
Сообщение: Re: [GENERAL] Escape handling in strings
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Escape handling in strings