pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PGACCESS installation
4+ messages / 3 participants
[nested] [flat]

* PGACCESS installation
@ 2002-01-21 15:55  Unnikrishnan Menon <unnikrishnan.menon@chennai.transys.net>
  0 siblings, 1 reply; 4+ messages in thread

From: Unnikrishnan Menon @ 2002-01-21 15:55 UTC (permalink / raw)
  To: pgsql-sql

Hi,

I have this particular problem with PgAccess installation. I have PostgreSQL 7.1.3 installed with the --with-tcl option. I installed PgAccess in the same way as mentioned in the installation documents. I have appended the files in the PATH settings too ( /usr/local/pgsql/lib/libpgtcl.so & /usr/local/pgaccess/main./tcl ). 
But on starting PgAccess it gives the following error:

Error in startup script : Couldnt load file ''libpgtcl.so''. Cannot open shared object file : No such file or directory
    while executing 
''load libpgtcl [info shared lib extension ] ''
    (procedure ''main'' line 3)
involved from within
'' main $argc $argv ''
( file ''/usr/local/pgaccess/main.tcl '' line 249 )

How do I overcome this particular error?

I'am using Red Hat Linux v 7.2.

Thanx in advance

Unni

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: PGACCESS installation
@ 2002-01-23 18:57  Oleg Lebedev <olebedev@waterford.org>
  parent: Unnikrishnan Menon <unnikrishnan.menon@chennai.transys.net>
  0 siblings, 1 reply; 4+ messages in thread

From: Oleg Lebedev @ 2002-01-23 18:57 UTC (permalink / raw)
  To: Unnikrishnan Menon <unnikrishnan.menon@chennai.transys.net>; +Cc: pgsql-sql

I had this problem once and I just created a symbolic link as follows:
ln -s /usr/src/pgsql/src/interfaces/libpgtcl.so
/usr/local/pgsql/lib/libpgtcl.so
not the best solution, but worked for me

Oleg

Unnikrishnan Menon wrote:

> Hi, I have this particular problem with PgAccess installation. I have
> PostgreSQL 7.1.3 installed with the --with-tcl option. I installed
> PgAccess in the same way as mentioned in the installation documents. I
> have appended the files in the PATH settings too (
> /usr/local/pgsql/lib/libpgtcl.so & /usr/local/pgaccess/main./tcl ).But
> on starting PgAccess it gives the following error: Error in startup
> script : Couldnt load file ''libpgtcl.so''. Cannot open shared object
> file : No such file or directory    while executing''load libpgtcl
> [info shared lib extension ] ''    (procedure ''main'' line 3)involved
> from within'' main $argc $argv ''( file ''/usr/local/pgaccess/main.tcl
> '' line 249 ) How do I overcome this particular error? I'am using Red
> Hat Linux v 7.2. Thanx in advance Unni

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: PGACCESS installation
@ 2002-01-23 19:13  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Oleg Lebedev <olebedev@waterford.org>
  0 siblings, 1 reply; 4+ messages in thread

From: Tom Lane @ 2002-01-23 19:13 UTC (permalink / raw)
  To: Unnikrishnan Menon <unnikrishnan.menon@chennai.transys.net>; +Cc: Oleg Lebedev <olebedev@waterford.org>; pgsql-sql

>> Hi, I have this particular problem with PgAccess installation. I have
>> PostgreSQL 7.1.3 installed with the --with-tcl option. I installed
>> PgAccess in the same way as mentioned in the installation documents. I
>> have appended the files in the PATH settings too (
>> /usr/local/pgsql/lib/libpgtcl.so & /usr/local/pgaccess/main./tcl ).But
>> on starting PgAccess it gives the following error: Error in startup
>> script : Couldnt load file ''libpgtcl.so''. Cannot open shared object
>> file : No such file or directory    while executing''load libpgtcl
>> [info shared lib extension ] ''    (procedure ''main'' line 3)involved
>> from within'' main $argc $argv ''( file ''/usr/local/pgaccess/main.tcl
>> '' line 249 ) How do I overcome this particular error?

What are you doing to start pgaccess?  I think you could only get to
that point if you tried to execute main.tcl directly; but you're
supposed to start it by running the pgaccess shell script.

Neither the tcl file nor the .so belong in your PATH, btw.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: PGACCESS installation
@ 2002-01-24 15:32  Unnikrishnan Menon <unnikrishnan.menon@chennai.transys.net>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Unnikrishnan Menon @ 2002-01-24 15:32 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-sql; +Cc: olebedev@waterford.org

Hi Tom,

I tried ur suggestion, but it does not seem to work. I ran PgAccess shell
script file.
As to Oleg's suggestion the link file is already created in the mentioned
path.
The error still remains.
Regards,
Unni


----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Unnikrishnan Menon" <unnikrishnan.menon@chennai.transys.net>
Cc: "Oleg Lebedev" <olebedev@waterford.org>; <pgsql-sql@postgresql.org>
Sent: Thursday, January 24, 2002 12:43 AM
Subject: Re: [SQL] PGACCESS installation


> >> Hi, I have this particular problem with PgAccess installation. I have
> >> PostgreSQL 7.1.3 installed with the --with-tcl option. I installed
> >> PgAccess in the same way as mentioned in the installation documents. I
> >> have appended the files in the PATH settings too (
> >> /usr/local/pgsql/lib/libpgtcl.so & /usr/local/pgaccess/main./tcl ).But
> >> on starting PgAccess it gives the following error: Error in startup
> >> script : Couldnt load file ''libpgtcl.so''. Cannot open shared object
> >> file : No such file or directory    while executing''load libpgtcl
> >> [info shared lib extension ] ''    (procedure ''main'' line 3)involved
> >> from within'' main $argc $argv ''( file ''/usr/local/pgaccess/main.tcl
> >> '' line 249 ) How do I overcome this particular error?
>
> What are you doing to start pgaccess?  I think you could only get to
> that point if you tried to execute main.tcl directly; but you're
> supposed to start it by running the pgaccess shell script.
>
> Neither the tcl file nor the .so belong in your PATH, btw.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2002-01-24 15:32 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-01-21 15:55 PGACCESS installation Unnikrishnan Menon <unnikrishnan.menon@chennai.transys.net>
2002-01-23 18:57 ` Oleg Lebedev <olebedev@waterford.org>
2002-01-23 19:13   ` Tom Lane <tgl@sss.pgh.pa.us>
2002-01-24 15:32     ` Unnikrishnan Menon <unnikrishnan.menon@chennai.transys.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox