Skip site navigation (1) Skip section navigation (2)

-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 (view raw or flat)
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

pgsql-hackers by date

Next:From: Tom LaneDate: 2001-12-20 18:29:42
Subject: Re: tkConfig.sh vs. ./configure
Previous:From: Karel ZakDate: 2001-12-20 18:00:20
Subject: Re: tkConfig.sh vs. ./configure

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group