Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f1SLqhx10875 for ; Wed, 28 Feb 2001 16:52:43 -0500 (EST) (envelope-from lucky78@gmx.de) Received: (qmail 25187 invoked by uid 0); 28 Feb 2001 21:52:39 -0000 Received: from ppp51.uni-passau.de (HELO ChristophLange) (132.231.152.51) by mail.gmx.net (mp018-rz3) with SMTP; 28 Feb 2001 21:52:39 -0000 Message-ID: <00d901c0a1d1$767093a0$3398e784@ChristophLange> Reply-To: "Christoph Lange" From: "Christoph Lange" To: Subject: Installation-trouble Date: Wed, 28 Feb 2001 22:57:05 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00D6_01C0A1D9.C526BF80" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Archive-Number: 200102/231 X-Sequence-Number: 838 This is a multi-part message in MIME format. ------=_NextPart_000_00D6_01C0A1D9.C526BF80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear Postgresql-experts, this is a desperate cry for help to all of you! I am quite a rookie concern= ing Unix and databases. Despite this fact I have tried to install Postgresq= l 7.0.3 into my homedirectory (/home/lange) on a Unix platform for a test r= un. Following the installation guide like a lemming everything had worked q= uite fine until I tried to create my first table producing this: ---------------------------------------------------------------------------= ----- uranus% /home/lange/pgsql/local/bin/createdb testdb ld.so.1: /home/lange/pgsql/local/bin/psql: fatal: libpq.so: open failed= : No such file or directory Killed createdb: database creation failed ---------------------------------------------------------------------------= ----- Unfortunately I don't know how to solve this problem, though - I guess - it= must be something obvious.=20 It would be very, very kind if somebody gave some advice to me. Thank you for helping out a clueless rookie. Christoph Lange PS: Those are all commands (and some results) I have used until now. ---------------------------------------------------------------------------= ----- uranus% cd /home/lange/pgsql uranus% gunzip postgresql-7.0.3.tar.gz uranus% tar -xf postgresql-7.0.3.tar uranus% cd postgresql-7.0.3/src uranus% mkdir /home/lange/pgsql/local uranus% ./configure --prefix=3D/home/lange/pgsql/local Only thing that looked suspicious among all messages: configure: warning: TCL/TK support disabled; tcl shell is not in your p= ath uranus% gmake All of PostgreSQL is successfully made. Ready to install uranus% cd /home/lange/pgsql/postgresql-7.0.3/src/test/regress uranus% gmake clean uranus% gmake all uranus% gmake runcheck All tests were ok uranus% cd /home/lange/pgsql/postgresql-7.0.3/src/ uranus% gmake install Thank you for choosing PostgreSQL, the most advanced open source databa= se=20 engine. uranus% mkdir /home/lange/pgsql/local/data uranus% chown lange /home/lange/pgsql/local/data uranus% su - lange Password:=20 Sun Microsystems Inc. SunOS 5.6 Generic August 1997 uranus% /home/lange/pgsql/local/bin/initdb -D /home/lange/pgsql/local/data Success. You can now start the database server using: /home/lange/pgsql/local/bin/postmaster -D /home/lange/pgsql/loc= al/data or /home/lange/pgsql/local/bin/pg_ctl -D /home/lange/pgsql/local/d= ata start uranus% /home/lange/pgsql/local/bin/postmaster -D /home/lange/pgsql/local/d= ata& [1] 11787 uranus% DEBUG: Data Base System is starting up at Wed Feb 28 15:46:52 2001 DEBUG: Data Base System was shut down at Wed Feb 28 15:42:51 2001 DEBUG: Data Base System is in production state at Wed Feb 28 15:46:52 = 2001 uranus% /home/lange/pgsql/local/bin/createdb testdb ld.so.1: /home/lange/pgsql/local/bin/psql: fatal: libpq.so: open failed= : No such file or directory Killed createdb: database creation failed ---------------------------------------------------------------------------= ----- ------=_NextPart_000_00D6_01C0A1D9.C526BF80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear Postgresql-experts,
 
this is a desperate cry for help to all of= you! I=20 am quite a rookie concerning Unix and databases. Despite this fact I have t= ried=20 to install Postgresql 7.0.3 into my homedirectory (/home/lange) on a Unix= =20 platform for a test run. Following the installation guide like a lemming=20 everything had worked quite fine until I tried to create my first table=20 producing this:

uranus% /home/lange/pgsql/local/bin/createdb=20 testdb
    ld.so.1: /home/lange/pgsql/local/bin/psql: fat= al:=20 libpq.so: open failed: No such file or directory
   =20 Killed
    createdb: database creation failed
<= /DIV>

Unfortunately I don't know how to solve th= is=20 problem, though - I guess - it must be something obvious.
It would be very, very kind if somebody ga= ve some=20 advice to me.
 
Thank you for helping out a clueless=20 rookie.
Christoph Lange
 
PS: Those are all commands (and some resul= ts) I=20 have used until now.

uranus% cd /home/lange/pgsql
uranus% gunzip=20 postgresql-7.0.3.tar.gz
uranus% tar -xf postgresql-7.0.3.tar
uranus% = cd=20 postgresql-7.0.3/src
uranus% mkdir /home/lange/pgsql/local
uranus%=20 ./configure=20 --prefix=3D/home/lange/pgsql/local
      &= nbsp;    =20 Only thing that looked suspicious among all=20 messages:
    configure: warning: TCL/TK support=20 disabled; tcl shell is not in your path
uranus% gmake
  &nb= sp;=20 All of PostgreSQL is successfully made. Ready to install
uranus% cd=20 /home/lange/pgsql/postgresql-7.0.3/src/test/regress
uranus% gmake=20 clean
uranus% gmake all
uranus% gmake=20 runcheck
          &nb= sp;=20 All tests were ok
uranus% cd=20 /home/lange/pgsql/postgresql-7.0.3/src/
uranus% gmake=20 install
    Thank you for choosing PostgreSQL, the most= =20 advanced open source database
    engine.
uranus% mkd= ir=20 /home/lange/pgsql/local/data
uranus% chown lange=20 /home/lange/pgsql/local/data
uranus% su - lange
   =20 Password:
    Sun Microsystems Inc.   SunOS=20 5.6       Generic August 1997
uranus%=20 /home/lange/pgsql/local/bin/initdb -D=20 /home/lange/pgsql/local/data
    Success. You can now sta= rt=20 the database server=20 using:
           = ;=20 /home/lange/pgsql/local/bin/postmaster -D=20 /home/lange/pgsql/local/data
   =20 or
           =20 /home/lange/pgsql/local/bin/pg_ctl -D /home/lange/pgsql/local/data=20 start
uranus% /home/lange/pgsql/local/bin/postmaster -D=20 /home/lange/pgsql/local/data&
    [1] 11787
uranus= %=20 DEBUG:  Data Base System is starting up at Wed Feb 28 15:46:52=20 2001
    DEBUG:  Data Base System was shut down at W= ed=20 Feb 28 15:42:51 2001
    DEBUG:  Data Base System is= in=20 production state at Wed Feb 28 15:46:52 2001
uranus%=20 /home/lange/pgsql/local/bin/createdb testdb
    ld.so.1:= =20 /home/lange/pgsql/local/bin/psql: fatal: libpq.so: open failed: No such fil= e or=20 directory
    Killed
    createdb: data= base=20 creation failed

------=_NextPart_000_00D6_01C0A1D9.C526BF80--