dbTalk Databases Forums  

[BUGS] plperl and pgport

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] plperl and pgport in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Nicolas Addington
 
Posts: n/a

Default [BUGS] plperl and pgport - 12-29-2004 , 05:09 PM






Hi,

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.

Is this the proper place to send build errors like this? What's a useful
subject line?


Nick Addington

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] plperl and pgport - 12-29-2004 , 06:12 PM






Nicolas Addington <adding (AT) math (DOT) wisc.edu> writes:
Quote:
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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.