PlPerl compile failure - Mailing list pgsql-hackers

From Bruce Momjian
Subject PlPerl compile failure
Date
Msg-id 200106191206.f5JC6R108371@candle.pha.pa.us
Whole thread Raw
Responses Re: PlPerl compile failure
List pgsql-hackers
I am seeing this error in CVS current:

gmake -f Makefile all
gmake[1]: Entering directory `/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/pl/plperl'
LD_RUN_PATH="" ld -o blib/arch/auto/plperl/plperl.so  -shared -x  -L/usr/X11/lib -L/usr/local/lib plperl.o eloglvl.o
SPI.o-rdynamic -Wl,-rpath,/usr/libdata/perl5/5.00503/i386-bsdos/CORE  -L/usr/X11/lib -L/usr/local/lib
/usr/libdata/perl5/5.00503/i386-bsdos/auto/DynaLoader/DynaLoader.a-L/usr/libdata/perl5/5.00503/i386-bsdos/CORE -lperl
-ldl-lm -lc    
 

ld: -r and -shared may not be used together
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gmake[1]: *** [blib/arch/auto/plperl/plperl.so] Error 1
gmake[1]: Leaving directory `/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/pl/plperl'
gmake: *** [all] Error 2

Can anyone suggest a fix?  Everything else compiles fine.  I am on
BSD/OS.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: temp-table-related failure in regression tests
Next
From: Alex Pilosov
Date:
Subject: Re: PlPerl compile failure