Re: plperl and pgport

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: plperl and pgport
Дата
Msg-id 19334.1104365296@sss.pgh.pa.us
обсуждение исходный текст
Ответ на plperl and pgport  (Nicolas Addington <adding@math.wisc.edu>)
Список pgsql-bugs
Nicolas Addington <adding@math.wisc.edu> writes:
> Compiling 8.0.0RC2 on AIX 4.3 on an RS600 with gcc, in src/pl/plperl, got
> the following error:

> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing
> -Wl,-bnoentry -Wl,-H512 -Wl,-bM:SRE -o libplperl.so libplperl.a
> -L../../../src/port -L/usr/local/lib -L/da23/d56/croquet/readline/lib
> /usr/local/lib/perl5/5.6.0/aix/auto/DynaLoader/DynaLoader.a
> -L/usr/local/lib/perl5/5.6.0/aix/CORE -lperl -lnsl -ldbm -ldl -lld -lm -lC
> -lc -lbsd -lPW -liconv   -Wl,-bI:../../../src/backend/postgres.imp
> -Wl,-bE:libplperl.exp
> ld: 0711-317 ERROR: Undefined symbol: .pg_strcasecmp
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> collect2: ld returned 8 exit status

> Adding -lpgport to this command line allowed the build to continue.

That seems like the wrong fix.  Why isn't the linker finding
pg_strcasecmp in the main backend?

            regards, tom lane

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

Предыдущее
От: "Manish Patel"
Дата:
Сообщение: connection error
Следующее
От: Tom Lane
Дата:
Сообщение: Re: function return type for triggers in postgresql 8.0 rc2