pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Cannot build PL/Perl ...
3+ messages / 3 participants
[nested] [flat]

* Cannot build PL/Perl ...
@ 2001-05-02 20:00  Adam Walczykiewicz <adamwal@poczta.onet.pl>
  0 siblings, 1 reply; 3+ messages in thread

From: Adam Walczykiewicz @ 2001-05-02 20:00 UTC (permalink / raw)
  To: pgsql-sql

Cannot build PL/Perl because libperl is not a shared library.
I'v got this error when I tried to compile PL/Perl.
I have SuSE Linux 7.0 , have I get a libperl.so library , and put it in 
/usr /lib ...

Thanks for any help
Adam



-- 
 




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Cannot build PL/Perl ...
@ 2001-05-02 21:18  clayton cottingham <drfrog@smartt.com>
  parent: Adam Walczykiewicz <adamwal@poczta.onet.pl>
  0 siblings, 1 reply; 3+ messages in thread

From: clayton cottingham @ 2001-05-02 21:18 UTC (permalink / raw)
  To: Adam Walczykiewicz <adamwal@poczta.onet.pl>; +Cc: pgsql-sql

did you get this error when you tried to :
 createlang plperl template1?


me too!

then i did this 

find /usr -name libperl.so
/usr/lib/perl5/5.6.0/i386-linux/CORE/libperl.so
 
and then added
that dir {/usr/lib/perl5/5.6.0/i386-linux/CORE/}
to the /etc/ld.so.conf
ldconfig
and vroom it all went to the good



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Cannot build PL/Perl ...
@ 2001-05-11 10:41  Mark Nielsen <pgsql@mail.tcu-inc.com>
  parent: clayton cottingham <drfrog@smartt.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Mark Nielsen @ 2001-05-11 10:41 UTC (permalink / raw)
  To: drfrog@smartt.com; +Cc: adamwal@poczta.onet.pl; pgsql-sql

cd /usr/local/src
lynx --source http://www.tcu-inc.com/perl5.6.1.tgz > perl-5.6.1.tgz
tar -zxvf perl-5.6.1.tgz
cd perl-5.6.1
rm -f config.sh Policy.sh
sh Configure

Change the default prefix to "/usr" instead of "/usr/local". Also, when it asks the question "Build a
shared libperl.so (y/n) [n] ", answer y. Press enter for any other question. 

make
make install

Then I downloaded and install postgresql.
./configure --prefix=/usr/local/pg711 --with-perl --with-tcl --with-CXX --with-python --enable-odbc 

cd /usr/local/src/postgresql-7.1.1/src/interfaces/perl5
perl Makefile.PL
make 
make install

ln -s /usr/lib/perl5/5.6.1/i686-linux/CORE/libperl.so \
  /usr/local/pg711/lib/libperl.so
su -c 'createlang plperl template1' postgres

Then I started psql as postgres, and ran teh create language command. 




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2001-05-11 10:41 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-05-02 20:00 Cannot build PL/Perl ... Adam Walczykiewicz <adamwal@poczta.onet.pl>
2001-05-02 21:18 ` clayton cottingham <drfrog@smartt.com>
2001-05-11 10:41   ` Mark Nielsen <pgsql@mail.tcu-inc.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox