Logan Bowers <logan@xxxxxxxxxxxxxxx> writes: > Has anyone had any luck compiling the Pl/Perl language on Mac OSX > (10.4)? I get the following error: Worksforme ... which Postgres version are you using exactly? > gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith - > Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict- > aliasing -bundle -multiply_defined suppress plperl.o spi_internal.o > SPI.o -L/opt/local/lib -L/usr/local/lib -L/opt/local/lib/perl5/5.8.8/ > darwin-2level/CORE -L../../../src/port -L/System/Library/Perl/5.8.6/ > darwin-thread-multi-2level/CORE/ /opt/local/lib/perl5/5.8.8/ > darwin-2level/auto/DynaLoader/DynaLoader.a -lperl -ldl -lm -lc - > bundle_loader ../../../src/backend/postgres -o libplperl.0.0.so Actually, I'm wondering about the references to /opt/local/lib/perl5/ there; I don't see those in my build --- here's my command for linking plperl: gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g -bundle -multiply_defined suppress plperl.o spi_internal.o SPI.o -L/usr/local/lib -L/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE -L../../../src/port /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a -lperl -ldl -lm -lc -bundle_loader ../../../src/backend/postgres -o libplperl.0.0.so I'm a bit suspicious that you have a non-shared-library build of Perl under /opt, and you've done something that makes Postgres find that instead of the Apple-supplied version. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings