Re: Cannot open shared object file - Mailing list pgsql-interfaces

From Eric Marsden
Subject Re: Cannot open shared object file
Date
Msg-id wziiufk9kge.fsf@mail.dotcom.fr
Whole thread Raw
In response to ...  ("Laurent DELVAUX" <bs243537@skynet.be>)
List pgsql-interfaces
>>>>> "LD" == Laurent DELVAUX <bs243537@skynet.be> writes:

  LD> I install pgaccess but when I launch it I got a error message like this:
  LD>
  LD> "Error in startup script: couldn't load file "libpgtcl.so: cannot open shared object file:
  LD> while executing "load libpgtcl.so"
  LD> (procedure "main line3")
  LD> invoke from whithin "main $argc $argv"
  LD> file "./pgaccess.tcl"
  LD> line 5203

Sounds like you need to set $LD_LIBRARY_PATH to include the path to
libpgtcl.so, something like

  export LD_LIBRARY_PATH=/usr/local/pgsql/lib:$LD_LIBRARY_PATH


  LD> I'm running linux 5.1 and postgresql 6.4 on a pentium2

You mean version 5.1 of the Red Hat Linux distribution, I suppose. I'm
surprised pgaccess isn't set up correctly out of the box. You
installed it as an RPM, right, not as a .tar.gz?

--
Eric Marsden
emarsden @ mail.dotcom.fr
It's elephants all the way down

pgsql-interfaces by date:

Previous
From: "Laurent DELVAUX"
Date:
Subject: ...
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [INTERFACES] Re: Cannot open shared object file