pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
libpgtcl.so.2.0
6+ messages / 4 participants
[nested] [flat]

* libpgtcl.so.2.0
@ 1999-07-30 14:53 Collin F. Lynch <clynch@water2.cs.umass.edu>
  1999-07-30 15:23 ` Re: [INTERFACES] libpgtcl.so.2.0 Lamar Owen <lamar.owen@wgcr.org>
  1999-07-30 15:26 ` Re: [INTERFACES] libpgtcl.so.2.0 Thomas Lockhart <lockhart@alumni.caltech.edu>
  1999-07-30 15:31 ` Re: [INTERFACES] libpgtcl.so.2.0 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 3 replies; 6+ messages in thread

From: Collin F. Lynch @ 1999-07-30 14:53 UTC (permalink / raw)
  To: pgsql-interfaces

	Greetings,  When attempting to compile a tcl script for 6.5 (The script worked 
previously with 6.3  I found that the build of libpgtcl.so.2.0 is broken.  Version 6.3 had the 
command -lcrypt included in the build, the new version does not.  Thus attempts to load libpgtcl 
result in an error detailing "undefined symbol crypt."  Whoever maintains the packages might 
want to deal with this.  
	I have since switched to using pgtclsh with success.  I was not doing so previously 
due to a total omission of pgtclsh from the documentation (Rather a problem).  In any case if 
this is an issue that needs to be corrected I thought that I'd let the community know.
	
	Collin.



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

* Re: [INTERFACES] libpgtcl.so.2.0
  1999-07-30 14:53 libpgtcl.so.2.0 Collin F. Lynch <clynch@water2.cs.umass.edu>
@ 1999-07-30 15:23 ` Lamar Owen <lamar.owen@wgcr.org>
  2 siblings, 0 replies; 6+ messages in thread

From: Lamar Owen @ 1999-07-30 15:23 UTC (permalink / raw)
  To: Collin F Lynch <clynch@water2.cs.umass.edu>; +Cc: pgsql-interfaces

"Collin F. Lynch" wrote:
> command -lcrypt included in the build, the new version does not.  Thus attempts to load libpgtcl
> result in an error detailing "undefined symbol crypt."  Whoever maintains the packages might
> want to deal with this.

On what kind of box (OS, arch, CPU, etc), and what kind of "package"? 
Also, 6.5.1 fixes several problems -- don't know if this is one of them
or not.

If this is an RPM package issue, then e-mail me and cc: Thomas Lockhart.

Lamar Owen
WGCR Internet Radio



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

* Re: [INTERFACES] libpgtcl.so.2.0
  1999-07-30 14:53 libpgtcl.so.2.0 Collin F. Lynch <clynch@water2.cs.umass.edu>
@ 1999-07-30 15:26 ` Thomas Lockhart <lockhart@alumni.caltech.edu>
  2 siblings, 0 replies; 6+ messages in thread

From: Thomas Lockhart @ 1999-07-30 15:26 UTC (permalink / raw)
  To: Collin F. Lynch <clynch@water2.cs.umass.edu>; +Cc: pgsql-interfaces

> Version 6.3 had the
> command -lcrypt included in the build, the new version does not.

Already fixed for v6.5.1 (I think) and the current CVS tree.

> I have since switched to using pgtclsh with success.

Great!

>  I was not doing so previously
> due to a total omission of pgtclsh from the documentation (Rather a problem).

Is this still a problem? If so, where would you suggest it be included
in the docs? As an application, or as something else??

                      - Thomas

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



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

* Re: [INTERFACES] libpgtcl.so.2.0
  1999-07-30 14:53 libpgtcl.so.2.0 Collin F. Lynch <clynch@water2.cs.umass.edu>
@ 1999-07-30 15:31 ` Tom Lane <tgl@sss.pgh.pa.us>
  2 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 1999-07-30 15:31 UTC (permalink / raw)
  To: Collin F. Lynch <clynch@water2.cs.umass.edu>; +Cc: pgsql-interfaces

"Collin F. Lynch" <clynch@water2.cs.umass.edu> writes:
> When attempting to compile a tcl script for 6.5 (The script worked
> previously with 6.3 I found that the build of libpgtcl.so.2.0 is
> broken.  Version 6.3 had the command -lcrypt included in the build,
> the new version does not.

I believe this is fixed in 6.5.1.  It's just a silly omission (if you
check the 6.5 makefile for libpgtcl, you'll see that it's trying to
include -lcrypt if it exists in LIBS ... but we forgot to have configure
put its value of LIBS into Makefile.global :-().

			regards, tom lane



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

* Re: [INTERFACES] libpgtcl.so.2.0
@ 1999-07-30 19:35 Collin F. Lynch <clynch@water2.cs.umass.edu>
  1999-07-30 23:09 ` Re: [INTERFACES] libpgtcl.so.2.0 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 6+ messages in thread

From: Collin F. Lynch @ 1999-07-30 19:35 UTC (permalink / raw)
  To: lockhart@alumni.caltech.edu; +Cc: pgsql-interfaces

>
> > Version 6.3 had the
> > command -lcrypt included in the build, the new version does not.
> 
> Already fixed for v6.5.1 (I think) and the current CVS tree.

	Good.

> 
> > I have since switched to using pgtclsh with success.

	Unfortunately the success was not long lived.  I am now attempting to execute my 
script in pgtclsh and am being told:
	
	Connection to database failed
	Unsupported frontend protocol.
	    while executing
	"pg_connect $Database -host $Host"
	
	The Server in QUestion is 6.5-1 running on a pure Redhat 6.0 (intel) box.
	
	Thanks for any help in advance.
	
	Collin Lynch.




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

* Re: [INTERFACES] libpgtcl.so.2.0
  1999-07-30 19:35 Re: [INTERFACES] libpgtcl.so.2.0 Collin F. Lynch <clynch@water2.cs.umass.edu>
@ 1999-07-30 23:09 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 1999-07-30 23:09 UTC (permalink / raw)
  To: Collin F. Lynch <clynch@water2.cs.umass.edu>; +Cc: lockhart@alumni.caltech.edu; pgsql-interfaces

"Collin F. Lynch" <clynch@water2.cs.umass.edu> writes:
> 	I am now attempting to execute my 
> script in pgtclsh and am being told:
	
> 	Connection to database failed
> 	Unsupported frontend protocol.
> 	    while executing
> 	"pg_connect $Database -host $Host"
	
> 	The Server in QUestion is 6.5-1 running on a pure Redhat 6.0 (intel) box.

I'll bet a nickel that your client is actually connecting to your 6.3
server, not the 6.5 one.  Check host names, port numbers, TCP vs
Unix-socket protocol.  One conclusive check is to see which postmaster's
error log gets a copy of the "unsupported protocol" gripe...

			regards, tom lane



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


end of thread, other threads:[~1999-07-30 23:09 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-07-30 14:53 libpgtcl.so.2.0 Collin F. Lynch <clynch@water2.cs.umass.edu>
1999-07-30 15:23 ` Lamar Owen <lamar.owen@wgcr.org>
1999-07-30 15:26 ` Thomas Lockhart <lockhart@alumni.caltech.edu>
1999-07-30 15:31 ` Tom Lane <tgl@sss.pgh.pa.us>
1999-07-30 19:35 Re: [INTERFACES] libpgtcl.so.2.0 Collin F. Lynch <clynch@water2.cs.umass.edu>
1999-07-30 23:09 ` Tom Lane <tgl@sss.pgh.pa.us>

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