Thread: Trying to get started?

Trying to get started?

From
Wayne
Date:
Hello,
I'm trying to pgaccess to run. I pulled down the pgaccess files from
www.flex.ro
and I also download libpgtcl and libpq.so.1 from flex. I put both of
these file in /usr/lib
and made sure that by PATH point to /usr/lib. I then cd to
/usr/local/pgaccess, this is
where I unziped the files, and ran wish -f ./pgaccess.tcl.
The following is the error I got:

Error in startup script: couldn't load file "libpgtcl.so": libpq.so.1:
cannot open shared object file: No such file or directory   while executing
"load libpgtcl.so"   (procedure "main" line 6)   invoked from within
"main $argc $argv"   (file "./pgaccess.tcl" line 4954)

any help would be appreciated.
Wayne



Re: [INTERFACES] Trying to get started?

From
Thomas Lockhart
Date:
> and I also download libpgtcl and libpq.so.1 from flex. I put both of
> these file in /usr/lib
> and made sure that by PATH point to /usr/lib. I then cd to
> /usr/local/pgaccess, this is
> where I unziped the files, and ran wish -f ./pgaccess.tcl.
> The following is the error I got:
> Error in startup script: couldn't load file "libpgtcl.so": libpq.so.1:
> cannot open shared object file: No such file or directory

You need to run "ldconfig -v" to update the shared library cache
database...
                 - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


Re: [INTERFACES] Trying to get started?

From
Wayne
Date:
I was wondering if I need an environment variable for wish?
If so, can someone tell me what that is?
Wayne

Wayne wrote:

> Hello,
> I'm trying to pgaccess to run. I pulled down the pgaccess files from
> www.flex.ro
> and I also download libpgtcl and libpq.so.1 from flex. I put both of
> these file in /usr/lib
> and made sure that by PATH point to /usr/lib. I then cd to
> /usr/local/pgaccess, this is
> where I unziped the files, and ran wish -f ./pgaccess.tcl.
> The following is the error I got:
>
> Error in startup script: couldn't load file "libpgtcl.so": libpq.so.1:
> cannot open shared object file: No such file or directory
>     while executing
> "load libpgtcl.so"
>     (procedure "main" line 6)
>     invoked from within
> "main $argc $argv"
>     (file "./pgaccess.tcl" line 4954)
>
> any help would be appreciated.
> Wayne



Re: [INTERFACES] Trying to get started?

From
Constantin Teodorescu
Date:
Wayne wrote:
> 
> I was wondering if I need an environment variable for wish?
> If so, can someone tell me what that is?

No. No environment variable is needed for wish !

> > I'm trying to pgaccess to run. I pulled down the pgaccess files from
> > www.flex.ro

You have been lucky :-)
My Internet link has been broken for about 1 week and when it works it
crashes at every 10 minutes !

> > and I also download libpgtcl and libpq.so.1 from flex. I put both of
> > these file in /usr/lib

On my RedHat 5.2 system I am usually placing them (or symbolic links) in
/lib

> > and made sure that by PATH point to /usr/lib. I then cd to
> > /usr/local/pgaccess, this is
> > where I unziped the files, and ran wish -f ./pgaccess.tcl.
> > The following is the error I got:
> >
> > Error in startup script: couldn't load file "libpgtcl.so": libpq.so.1:
> > cannot open shared object file: No such file or directory

Try making some symbolic links to libpgtcl.so and libpq.so (also
libpq.so.x)  into /lib directory

It should work!

-- 
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA


Re: [INTERFACES] Trying to get started?

From
Craig Orsinger
Date:
On 23-Jun-99 Thomas Lockhart wrote:
>> and made sure that by PATH point to /usr/lib. I then cd to
>> /usr/local/pgaccess, this is
>> where I unziped the files, and ran wish -f ./pgaccess.tcl.
>> The following is the error I got:
>> Error in startup script: couldn't load file "libpgtcl.so": libpq.so.1:
>> cannot open shared object file: No such file or directory
> 
> You need to run "ldconfig -v" to update the shared library cache
> database...
       Thomas answered your question, but I should also point out
that changing the PATH environment variable as you did isn't necessary,
and won't make a difference when loading dynamic (shared) libraries.

----------------------------------
Date: 23-Jun-99  Time: 10:42:31

Craig Orsinger                  (email: <orsingerc@epg.lewis.army.mil>)
Logicon RDA
Bldg. 8B28                      "Just another megalomaniac with ideas above his
6th & F Streets                 station. The Universe is full of them."
Ft. Lewis, WA   98433                   - The Doctor
----------------------------------