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 <[EMAIL PROTECTED]>: > > Hey, did revdep-rebuild help on anything, after all? > > On 11/27/07, Rafael Barrera Oro <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED] >: > > > > > > Have you tried revdep-rebuild? > > > > > > On 11/27/07, Rafael Barrera Oro <[EMAIL PROTECTED] > 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* >