Problems building some libraries in 6.4.2

Поиск
Список
Период
Сортировка
От Constantin Teodorescu
Тема Problems building some libraries in 6.4.2
Дата
Msg-id 3690FEA7.5A1DF7A1@flex.ro
обсуждение исходный текст
Ответы Re: [HACKERS] Problems building some libraries in 6.4.2
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] 6.4.2?
Следующее
От: Massimo Dal Zotto
Дата:
Сообщение: Re: pg_options ?