![Home](images/misc/navbit-home.png)
- Instalando o PGSQL
+ Responder ao Tópico
-
Instalando o PGSQL
E a galera estamos ai com mais um dia de pepinos.
Ao configurar o PGSQL-7.4.6 e o POGSQL -7.4 acusa o erro
checking test program... failed
configure: error:
*** Could not execute a simple test program. This may be a problem
*** related to locating shared libraries. Check the file 'config.log'
*** for the exact reason.
Dei uma olhada no config.log e mostra o seguinte
/conftest: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
configure:13507: $? = 127
configure: program exited with status 127
configure: failed program was:
#line 13493 "configure"
#include "confdefs.h"
int main() { return 0; }
configure:13516: result: failed
configure:13521: error:
*** Could not execute a simple test program. This may be a problem
*** related to locating shared libraries. Check the file 'config.log'
*** for the exact reason.
Creio eu que p pau seja por nao achar a libssl.so.0.9.7. No configure setei --with-openssl com e sem a path tanto de instalacao como da path ja instalada no server. Detalhe, eu tenho essa lib instalada. e agora? COmo resolvo isso?
-
Instalando o PGSQL
Eae galera ninguem nunca passou por isso?? Resolvi temporariamente tirando a opcao --with-openssl, talves seja a versao do pacote, sei la, as agora me deparei com outro erro ao dar um gmake.
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
gmake[3]: *** [pgtksh] Error 1
gmake[3]: Leaving directory `/home/centroalfa/source/postgresql-7.4.6/src/bin/pgtclsh'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/centroalfa/source/postgresql-7.4.6/src/bin'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/centroalfa/source/postgresql-7.4.6/src'
gmake: *** [all] Error 2
Oq acontece?