Re: PlPerl compile failure

From: Alex Pilosov <alex(at)pilosoft(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PlPerl compile failure
Date: 2001-06-19 12:40:24
Message-ID: Pine.BSO.4.10.10106190831330.8898-100000@spider.pilosoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

That's me fault. I'm reading up on bsdos documentation to see what's the
right way to run ld on it.

Can you give me output of 'perl -MExtUtils::Embed -e ldopts' and 'perl -V'
on your machine?

Thanks

On Tue, 19 Jun 2001, Bruce Momjian wrote:

> 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.
>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephan Szabo 2001-06-19 13:44:12 Fixing deferred foreign key checks
Previous Message Bruce Momjian 2001-06-19 12:31:55 Re: PlPerl compile failure