apache problem (can't find libpq.so.4)
Hello, i have the following problem when trying to start apache
*Apache2 has detected a syntax error in your configuration files: /usr/sbin/apache2: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory i searched for libpq.so.4 and found out that i only had libpq.so.5, so i tried a symlink (which i inmediately undoed after seeing that it led to a new error which frightened me) i have postgresql 8.2.4 installed libpq.so.4 should be there? or apache should use libpq.so.5? as usual, a lot of true hart felt sincere thanks in advance Rafael |
apache problem (can't find libpq.so.4)
Have you tried revdep-rebuild?
On 11/27/07, Rafael Barrera Oro <borafael@gmail.com> wrote: Hello, i have the following problem when trying to start apache *Apache2 has detected a syntax error in your configuration files: /usr/sbin/apache2: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory i searched for libpq.so.4 and found out that i only had libpq.so.5, so i tried a symlink (which i inmediately undoed after seeing that it led to a new error which frightened me) i have postgresql 8.2.4 installed libpq.so.4 should be there? or apache should use libpq.so.5? as usual, a lot of true hart felt sincere thanks in advance Rafael -- Ricardo Saffi Marques Laboratório de Administração e Segurança de Sistemas (LAS/IC) Universidade Estadual de Campinas (UNICAMP) Cell: +55 (19) 8128-0435 Skype: ricardo_saffi_marques Website: http://www.rsaffi.com |
apache problem (can't find libpq.so.4)
As a matter of fact i have not, will give it a try inmediately!
thanks for the tip 2007/11/27, Ricardo Saffi Marques <saffi@las.ic.unicamp.br >:Have you tried revdep-rebuild? On 11/27/07, Rafael Barrera Oro <borafael@gmail.com > wrote: Hello, i have the following problem when trying to start apache *Apache2 has detected a syntax error in your configuration files: /usr/sbin/apache2: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory i searched for libpq.so.4 and found out that i only had libpq.so.5, so i tried a symlink (which i inmediately undoed after seeing that it led to a new error which frightened me) i have postgresql 8.2.4 installed libpq.so.4 should be there? or apache should use libpq.so.5? as usual, a lot of true hart felt sincere thanks in advance Rafael -- Ricardo Saffi Marques Laboratório de Administração e Segurança de Sistemas (LAS/IC) Universidade Estadual de Campinas (UNICAMP) Cell: +55 (19) 8128-0435 Skype: ricardo_saffi_marques Website: http://www.rsaffi.com |
apache problem (can't find libpq.so.4)
Hey, did revdep-rebuild help on anything, after all?
On 11/27/07, Rafael Barrera Oro <borafael@gmail.com> wrote: As a matter of fact i have not, will give it a try inmediately! thanks for the tip 2007/11/27, Ricardo Saffi Marques <saffi@las.ic.unicamp.br >:Have you tried revdep-rebuild? On 11/27/07, Rafael Barrera Oro <borafael@gmail.com > wrote: Hello, i have the following problem when trying to start apache *Apache2 has detected a syntax error in your configuration files: /usr/sbin/apache2: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory i searched for libpq.so.4 and found out that i only had libpq.so.5, so i tried a symlink (which i inmediately undoed after seeing that it led to a new error which frightened me) i have postgresql 8.2.4 installed libpq.so.4 should be there? or apache should use libpq.so.5? as usual, a lot of true hart felt sincere thanks in advance Rafael -- Ricardo Saffi Marques Laboratório de Administração e Segurança de Sistemas (LAS/IC) Universidade Estadual de Campinas (UNICAMP) Cell: +55 (19) 8128-0435 Skype: ricardo_saffi_marques Website: http://www.rsaffi.com -- Ricardo Saffi Marques Laboratório de Administração e Segurança de Sistemas (LAS/IC) Universidade Estadual de Campinas (UNICAMP) Cell: +55 (19) 8128-0435 Skype: ricardo_saffi_marques Website: http://www.rsaffi.com |
apache problem (can't find libpq.so.4)
** Sorry for taking so long to reply. The thing is that revdep-rebuild attempted to re emerge gcc, which failed. However, i was able to fix this by emerging manually libstdc++ (which i guess its a completely different issue), after that, revdep-rebuild worked.
** After the revdep-rebuild finished (took quite long cause it pulled in a lot ebuilds) apache was working again (no libpq.so.4 not found error no more) Thanks for the assistance Ric!, next time i am going to try revdep-rebuild before posting a message here (if its another case of missing libraries of course) PD: It was a work related issue, so again, thanks a lot 2007/11/28, Ricardo Saffi Marques <saffi@las.ic.unicamp.br>: Hey, did revdep-rebuild help on anything, after all? On 11/27/07, Rafael Barrera Oro < borafael@gmail.com> wrote: As a matter of fact i have not, will give it a try inmediately! thanks for the tip 2007/11/27, Ricardo Saffi Marques <saffi@las.ic.unicamp.br >:Have you tried revdep-rebuild? On 11/27/07, Rafael Barrera Oro <borafael@gmail.com > wrote: Hello, i have the following problem when trying to start apache *Apache2 has detected a syntax error in your configuration files: /usr/sbin/apache2: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory i searched for libpq.so.4 and found out that i only had libpq.so.5, so i tried a symlink (which i inmediately undoed after seeing that it led to a new error which frightened me) i have postgresql 8.2.4 installed libpq.so.4 should be there? or apache should use libpq.so.5? as usual, a lot of true hart felt sincere thanks in advance Rafael -- Ricardo Saffi Marques Laboratório de Administração e Segurança de Sistemas (LAS/IC) Universidade Estadual de Campinas (UNICAMP) Cell: +55 (19) 8128-0435 Skype: ricardo_saffi_marques Website: http://www.rsaffi.com -- Ricardo Saffi Marques Laboratório de Administração e Segurança de Sistemas (LAS/IC) Universidade Estadual de Campinas (UNICAMP) Cell: +55 (19) 8128-0435 Skype: ricardo_saffi_marques Website: http://www.rsaffi.com |
| All times are GMT. The time now is 10:38 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.