Re: [GENERAL] trouble with pgaccess - Mailing list pgsql-general

From Oliver Elphick
Subject Re: [GENERAL] trouble with pgaccess
Date
Msg-id 199902212022.UAA11797@linda.lfix.co.uk
Whole thread Raw
In response to Re: [GENERAL] trouble with pgaccess  (Kevin Heflin <kheflin@shreve.net>)
Responses Re: [GENERAL] trouble with pgaccess
List pgsql-general
Kevin Heflin wrote:
...
  >>   >I keep getting the following error:
  >>   >
  >>   >Error in startup script: couldn't load file "libpgtcl.so": libpgtcl.so:
  >>   >cannot open shared object file: No such file or directory
 ...
  >I started over, and did use the --with-tcl option and --with-perl
  >then gmake all
  >and then gmake install

So presumably you  have a file called libpgtcl.so in (say)
/usr/local/pgsql/lib.  Your system loader needs to know to look there,
so you have to tell it, since this is not one of the default library
directories.

How you do it varies with the system you are using; for Linux, use the
command ldconfig (read its man page for details).  Other systems may
have their equivalent, or may have nothing (in which case you can perhaps
use the -rpath link option to gcc to tell the program where to look for
the shared library).

As a last resort, set the environment variable LD_LIBRARY_PATH before
running the program.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
               PGP key from public servers; key ID 32B8FAA1
                 ========================================
     "My sheep hear my voice, and I know them, and they
      follow me; And I give unto them eternal life; and they
      shall never perish, neither shall any man pluck them
      out of my hand."          John 10:27,28



pgsql-general by date:

Previous
From: Kevin Heflin
Date:
Subject: Re: [GENERAL] trouble with pgaccess
Next
From: Kevin Heflin
Date:
Subject: Re: [GENERAL] trouble with pgaccess