Skip site navigation (1) Skip section navigation (2)

[pgsql-ayuda] Instalando de ftp.postgresql.org/pub/bindist/6.4.2/

From: Enrique Rodriguez Lazaro <enrique(at)ival(dot)es>
To: PGSQL-AYUDA <pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx>
Subject: [pgsql-ayuda] Instalando de ftp.postgresql.org/pub/bindist/6.4.2/
Date: 1999-03-31 20:16:04
Message-ID: 37028284.55417EE5@ival.es (view raw or flat)
Thread:
Lists: pgsql-es-ayuda
Buenas tardes.

He seguido los pasos del
ftp://ftp.postgresql.org/pub/bindist/6.4.2/README.Solaris pero al
realizar el usuario pgsql este comando:


initdb --pglib=/usr/local/pgsql/lib --pgdata=/usr/local/pgsql/data

La salida es esta:

ld.so.1: pg_id: fatal: libncurses.so.4: open failed: No such file or
directory
Unable to determine a valid username.  If you are running
initdb without an explicit username specified, then there
may be a problem with finding the Postgres shared library
and/or the pg_id utility.


He mirado en la docuementación de la instalación que hay en
http://www.at.postgresql.org/ y dice algo asi:

15.If necessary, tell your system how to find the new shared libraries.
You can do one of the following,
     preferably the first:

       a.As root, edit file /etc/ld.so.conf. Add a line 

         /usr/local/pgsql/lib

         to the file. Then run command /sbin/ldconfig.

       b.In a bash shell, type 

             export LD_LIBRARY_PATH=/usr/local/pgsql/lib

       c.In a csh shell, type 

             setenv LD_LIBRARY_PATH /usr/local/pgsql/lib

     Please note that the above commands may vary wildly for different
operating systems. Check the platform specific notes, such as those for
Ultrix4.x or and for non-ELF Linux.
     If, when you create the database, you get the message pg_id: can't
load library 'libpq.so' then the above step was necessary. Simply do
this step, then try to create the database again.


En todo mi disco duro, no existe el archivo ld.so.conf ni el ejecutable
ldconfig.

No se por donde seguir, ¿alguna idea?

Muchas gracias.

-- 
==============================================
Enrique Rodríguez Lázaro
--------- Pie de mensaje -------------------------------------------
Archivo historico: http://tlali.iztacala.unam.mx/maillist/pgsql-ayuda
Cancelar inscripcion:
mail to: majordomo(at)tlali(dot)iztacala(dot)unam(dot)mx
text   : cancelacion pgsql-ayuda

Responses

pgsql-es-ayuda by date

Next:From: Enrique Rodriguez LazaroDate: 1999-04-01 19:52:29
Subject: [pgsql-ayuda] Por fin
Previous:From: Manuel SugawaraDate: 1999-03-31 19:53:54
Subject: Re: [pgsql-ayuda] Instalando de ftp.postgresql.org/pub/bindist/6.4.2/

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group