Problems building some libraries in 6.4.2

From: Constantin Teodorescu <teo(at)flex(dot)ro>
To: PostgreSQL Hacker <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Problems building some libraries in 6.4.2
Date: 1999-01-04 17:47:19
Message-ID: 3690FEA7.5A1DF7A1@flex.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Hal Snyder 1999-01-04 17:58:02 Re: [HACKERS] 6.4.2?
Previous Message Bruce Momjian 1999-01-04 17:40:04 Re: [HACKERS] 6.4.2?