Thread: Help - Error in createdb

Help - Error in createdb

From
"Claudia Dantas Procopio"
Date:
Hello,
 
I have a problem. When I write "/usr/local/pgsql/bin/createdb producao" is showed ther error:

"ld.so.1: /usr/local/pgsql/bin/psql: fatal: libgcc_s.so.1: open failed: No such file or directory
Killed
createdb: database creation failed"
 

 
Thank you.
Claudia Dantas Procópio
Embrapa Algodão - Setor de Informática
Fone: (83) 315-4318

Re: Help - Error in createdb

From
"Scott Marlowe"
Date:
On Wed, 2004-07-14 at 06:04, Claudia Dantas Procopio wrote:
> Hello,
>
> I have a problem. When I write "/usr/local/pgsql/bin/createdb
> producao" is showed ther error:
> "ld.so.1: /usr/local/pgsql/bin/psql: fatal: libgcc_s.so.1: open
> failed: No such file or directory
> Killed
> createdb: database creation failed"
>

Is this a new install on a linux box? Try this:

add a line that says "/usr/local/pgsql/lib" to the /etc/ld.so.conf file
and then run ldconfig (do both as root) then try the createdb again as
the postgres super user.