-lperl not checked - Mailing list pgsql-hackers

From Karel Zak
Subject -lperl not checked
Date
Msg-id 20011220191626.B25755@zf.jcu.cz
Whole thread Raw
Responses Re: -lperl not checked
List pgsql-hackers
Hi,
on system without perl-dev the ./configure --with-perl pass withoutsome 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 -lperlcollect2: ld returned 1 exit status
 
IMHO right place for this is in the ./configure and something like AC_CHECK_LIB().
       Karel

-- Karel Zak  <zakkr@zf.jcu.cz>http://home.zf.jcu.cz/~zakkr/C, PostgreSQL, PHP, WWW, http://docs.linux.cz,
http://mape.jcu.cz


pgsql-hackers by date:

Previous
From: Karel Zak
Date:
Subject: Re: tkConfig.sh vs. ./configure
Next
From: Karel Zak
Date:
Subject: Re: tkConfig.sh vs. ./configure