Thread

  1. Re: [GENERAL] trouble with pgaccess

    Oliver Elphick <olly@lfix.co.uk> — 1999-02-21T20:22:32Z

    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 
    
    
    
    
  2. Re: [GENERAL] trouble with pgaccess

    Kevin Heflin <kheflin@shreve.net> — 1999-02-21T20:30:47Z

    On Sun, 21 Feb 1999, Oliver Elphick wrote:
    
    > 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.
    
    
    Yes, the file is in /usr/local/pgsql/lib
    and I've added this directory to my /etc/ld.so.conf and run /sbin/ldconfig
    
    > As a last resort, set the environment variable LD_LIBRARY_PATH before
    > running the program.
    
    
    AHA!. adding the LD_LIBRARY_PATH to my .bash_profile seems to have done
    the trick
    
    Thanks very much for the help
    
    
    --------------------------------------------------------------------
    Kevin Heflin          | ShreveNet, Inc.      | Ph:318.222.2638 x103
    VP/Mac Tech           | 333 Texas St #619    | FAX:318.221.6612
    kheflin@shreve.net    | Shreveport, LA 71101 | http://www.shreve.net
    --------------------------------------------------------------------