Re: plperl and pgport

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nicolas Addington <adding(at)math(dot)wisc(dot)edu>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: plperl and pgport
Date: 2004-12-30 00:08:16
Message-ID: 19334.1104365296@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Nicolas Addington <adding(at)math(dot)wisc(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-12-30 00:17:24 Re: function return type for triggers in postgresql 8.0 rc2
Previous Message keith berrington 2004-12-29 23:58:22 BUG #1366: spam from yourselves