Re: createdb problem... - Mailing list pgsql-novice

From Oliver Elphick
Subject Re: createdb problem...
Date
Msg-id 200104161951.f3GJpWU30157@linda.lfix.co.uk
Whole thread Raw
In response to createdb problem...  (Herb Pabst <herbie@nextearth.com>)
List pgsql-novice
Herb Pabst wrote:
  >When I try to create a db I get the message, there
  >has been an error loading the shared library
  >libpq.so.2.1, no such file or directory. I checked
  >in the lib directory and the file is there. Must
  >have something wrong with my install, can someone
  >help?

You have to tell your operating system where to find it.  In Linux the
command to do this permanently is ldconfig (check its man page).

You can also set and export LD_LIBRARY_PATH befor trying to run the program.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "But seek ye first the kingdom of God, and his
      righteousness; and all these things shall be added
      unto you."     Matthew 6:33



pgsql-novice by date:

Previous
From: Dorin Grunberg
Date:
Subject: Re: Read line feature
Next
From: John Burski
Date:
Subject: C code problem