Обсуждение: Linking issues with libpq

Поиск
Список
Период
Сортировка

Linking issues with libpq

От
"Rajan Bhide"
Дата:
Hi,
I am getting following error if I compile postgres7.4.1 source code using gmake and gcc.
ld.so.1: /tmp/postgres/bin/psql: fatal: libgcc_s.so.1: open failed: No such file or directory
 
I suppose this is because libpq.so is using libgcc.so, which is not available to runtime linker ld.
Can I build libpq.so where I can statically link libgcc.a instead of libgcc.so.
If yes, Can anyone suggest me the option to be given for configure script.
 
Thanks,
Rajan Bhide