Problems building some libraries in 6.4.2 - Mailing list pgsql-hackers

From Constantin Teodorescu
Subject Problems building some libraries in 6.4.2
Date
Msg-id 3690FEA7.5A1DF7A1@flex.ro
Whole thread Raw
Responses Re: [HACKERS] Problems building some libraries in 6.4.2  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I'm unhappy to say that but ...

still there are some problems compiling 6.4.2 on Linux for libpgtcl and
libplpgsql libraries.

Configuration : RedHat Linux 5.1 i386 on Pentium

After untarr-ing the final 6.4.2 distribution and configuring it with :

./configure --with-tcl

1. For libpgtcl, I had to manually add -lcrypt to SHLIB_LINK line
Makefile in src/interfaces/libpgtcl
2. For libplpgsql, I had to manually ad -lc to SHLIB_LINK line Makefile
in src/pl/pgsql/src


For example, the original line for plpgsql was :
SHLIB_LINK=-L($LIBPQDIR) -lpq

Compiled that way, using plpgsql functions give the error "cannot stat
in plpgsql.so" !

After adding -lc as shown above, my functions worked corectly.

Best regards,
-- 
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] 6.4.2?
Next
From: Massimo Dal Zotto
Date:
Subject: Re: pg_options ?