-lperl not checked

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: -lperl not checked
Date: 2001-12-20 18:16:26
Message-ID: 20011220191626.B25755@zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hi,

on system without perl-dev the ./configure --with-perl pass without
some error message and error appear during compilation:

LD_RUN_PATH="" cc -shared -L/usr/local/lib plperl.o eloglvl.o SPI.o -L/usr/local/lib /usr/lib/perl/5.6.1/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.6.1/CORE -lperl -ldl -lm -lc -lcrypt -o blib/arch/auto/plperl/plperl.so
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status

IMHO right place for this is in the ./configure and something like
AC_CHECK_LIB().

Karel

--
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/

C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-12-20 18:29:42 Re: tkConfig.sh vs. ./configure
Previous Message Karel Zak 2001-12-20 18:00:20 Re: tkConfig.sh vs. ./configure