pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
7.3.4 and OpenSSl
6+ messages / 2 participants
[nested] [flat]

* 7.3.4 and OpenSSl
@ 2003-07-29 18:36  Renney Thomas <renneyt@yahoo.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Renney Thomas @ 2003-07-29 18:36 UTC (permalink / raw)
  To: ; +Cc: pgsql-admin

I am compiling 7.3.4 with openssl turned on.  I ran into the same 
crypt.h errors. I commented out the crypt.h reference as Tom Lane 
suggested and then ran in to another error below.

I am using cc: WorkShop Compilers 5.0 98/12/15 C 5.0
on SunOS  5.7 Generic_106541-25 sun4u sparc SUNW,Ultra-1

I am using OpenSSL 0.9.7b 10 Apr 2003

cc -Xa -mt -xO5 -I../../../src/interfaces/libpq -I../../../src/include 
-I/usr/local/include -I/usr/local/s
sl/include  -c -o tab-complete.o tab-complete.c
"tab-complete.c", line 108: warning: assignment type mismatch:
        pointer to function() returning pointer to pointer to char "=" 
pointer to void
"tab-complete.c", line 313: undefined symbol: rl_compentry_func_t
"tab-complete.c", line 313: syntax error before or at: )
"tab-complete.c", line 317: undefined symbol: rl_compentry_func_t
"tab-complete.c", line 317: syntax error before or at: )
"tab-complete.c", line 322: undefined symbol: rl_compentry_func_t
"tab-complete.c", line 322: syntax error before or at: )
"tab-complete.c", line 330: syntax error before or at: )
"tab-complete.c", line 341: syntax error before or at: )
"tab-complete.c", line 346: syntax error before or at: )
"tab-complete.c", line 353: syntax error before or at: )
"tab-complete.c", line 358: syntax error before or at: )
"tab-complete.c", line 363: syntax error before or at: )
"tab-complete.c", line 368: syntax error before or at: )
"tab-complete.c", line 371: syntax error before or at: )
"tab-complete.c", line 376: syntax error before or at: )
"tab-complete.c", line 379: syntax error before or at: )
"tab-complete.c", line 395: syntax error before or at: )
"tab-complete.c", line 400: syntax error before or at: )
"tab-complete.c", line 408: syntax error before or at: )
"tab-complete.c", line 411: syntax error before or at: )
"tab-complete.c", line 422: syntax error before or at: )
"tab-complete.c", line 430: syntax error before or at: )
"tab-complete.c", line 436: syntax error before or at: )
"tab-complete.c", line 440: syntax error before or at: )
"tab-complete.c", line 443: syntax error before or at: )
"tab-complete.c", line 450: syntax error before or at: )
"tab-complete.c", line 453: syntax error before or at: )
"tab-complete.c", line 459: syntax error before or at: )
"tab-complete.c", line 465: syntax error before or at: )
"tab-complete.c", line 470: syntax error before or at: )
"tab-complete.c", line 478: syntax error before or at: )
"tab-complete.c", line 485: syntax error before or at: )
"tab-complete.c", line 490: syntax error before or at: )
"tab-complete.c", line 495: syntax error before or at: )
"tab-complete.c", line 503: syntax error before or at: )
"tab-complete.c", line 508: syntax error before or at: )
"tab-complete.c", line 521: syntax error before or at: )
"tab-complete.c", line 524: syntax error before or at: )
"tab-complete.c", line 527: syntax error before or at: )
"tab-complete.c", line 537: syntax error before or at: )
"tab-complete.c", line 545: syntax error before or at: )
"tab-complete.c", line 552: syntax error before or at: )
"tab-complete.c", line 563: syntax error before or at: )
"tab-complete.c", line 572: syntax error before or at: )
"tab-complete.c", line 576: syntax error before or at: )
"tab-complete.c", line 588: syntax error before or at: )
"tab-complete.c", line 591: syntax error before or at: )
"tab-complete.c", line 594: syntax error before or at: )
"tab-complete.c", line 604: syntax error before or at: )
"tab-complete.c", line 607: syntax error before or at: )
"tab-complete.c", line 610: syntax error before or at: )
"tab-complete.c", line 620: syntax error before or at: )
"tab-complete.c", line 628: syntax error before or at: )
"tab-complete.c", line 633: syntax error before or at: )
"tab-complete.c", line 639: syntax error before or at: )
"tab-complete.c", line 646: syntax error before or at: )
"tab-complete.c", line 657: syntax error before or at: )
"tab-complete.c", line 662: syntax error before or at: )
"tab-complete.c", line 669: syntax error before or at: )
"tab-complete.c", line 674: syntax error before or at: )
"tab-complete.c", line 676: syntax error before or at: )
"tab-complete.c", line 678: syntax error before or at: )
"tab-complete.c", line 689: syntax error before or at: )
"tab-complete.c", line 692: syntax error before or at: )
"tab-complete.c", line 696: syntax error before or at: )
"tab-complete.c", line 704: syntax error before or at: )
"tab-complete.c", line 710: syntax error before or at: )
"tab-complete.c", line 716: syntax error before or at: )
"tab-complete.c", line 725: syntax error before or at: )
"tab-complete.c", line 731: syntax error before or at: )
"tab-complete.c", line 735: syntax error before or at: )
"tab-complete.c", line 744: syntax error before or at: )
"tab-complete.c", line 750: syntax error before or at: )
"tab-complete.c", line 756: syntax error before or at: )
"tab-complete.c", line 762: syntax error before or at: )
"tab-complete.c", line 766: syntax error before or at: )
"tab-complete.c", line 771: syntax error before or at: )
"tab-complete.c", line 774: syntax error before or at: )
"tab-complete.c", line 782: syntax error before or at: )
"tab-complete.c", line 786: syntax error before or at: )
"tab-complete.c", line 788: syntax error before or at: )
"tab-complete.c", line 793: syntax error before or at: )
"tab-complete.c", line 797: syntax error before or at: )
"tab-complete.c", line 802: syntax error before or at: )
"tab-complete.c", line 804: syntax error before or at: )
"tab-complete.c", line 806: syntax error before or at: )
"tab-complete.c", line 813: syntax error before or at: )
"tab-complete.c", line 823: syntax error before or at: )
"tab-complete.c", line 838: syntax error before or at: )
"tab-complete.c", line 852: syntax error before or at: )
"tab-complete.c", line 867: cannot recover from previous errors
cc: acomp failed for tab-complete.c
gmake[3]: *** [tab-complete.o] Error 2
gmake[3]: Leaving directory `/opt/sft/postgresql-7.3.4/src/bin/psql'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/opt/sft/postgresql-7.3.4/src/bin'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/opt/sft/postgresql-7.3.4/src'
gmake: *** [all] Error 2




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

* Re: 7.3.4 and OpenSSl
@ 2003-07-29 21:47  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Renney Thomas <renneyt@yahoo.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Tom Lane @ 2003-07-29 21:47 UTC (permalink / raw)
  To: Renney Thomas <renneyt@yahoo.com>; +Cc: pgsql-admin

Renney Thomas <renneyt@yahoo.com> writes:
> "tab-complete.c", line 108: warning: assignment type mismatch:
>         pointer to function() returning pointer to pointer to char "=" 
> pointer to void
> "tab-complete.c", line 313: undefined symbol: rl_compentry_func_t
> "tab-complete.c", line 313: syntax error before or at: )
> "tab-complete.c", line 317: undefined symbol: rl_compentry_func_t
> "tab-complete.c", line 317: syntax error before or at: )
> "tab-complete.c", line 322: undefined symbol: rl_compentry_func_t

These aren't ssl problems, they're readline problems.  You may have
a version of libreadline we've never heard of, but a more likely bet
is that you have a libreadline library file that's out of sync with
the readline header files you have.  The above looks like configure
made the wrong guesses about how to set up our readline support, and
that's usually a versioning problem ...

			regards, tom lane



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

* Re: 7.3.4 and OpenSSl
@ 2003-07-29 23:54  Renney Thomas <renneyt@yahoo.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 6+ messages in thread

From: Renney Thomas @ 2003-07-29 23:54 UTC (permalink / raw)
  To: ; +Cc: pgsql-admin

I reinstalled readline 4.3 and everything compiled well. I have a new 
problem.

I can get psql to connect with ssl on.

--
share/pg_hba.conf
# TYPE  DATABASE    USER        IP-ADDRESS        IP-MASK           METHOD

local         all             
all                                                                        
trust
hostssl    all              all         127.0.0.1         
255.255.255.255            trust

--
share/postgresql.conf
#
#       Connection Parameters
#
tcpip_socket = true
ssl = true

--

 > psql -h localhost template1
Welcome to psql 7.3.4, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help on internal slash commands
       \g or terminate with semicolon to execute query
       \q to quit

template1=#



Tom Lane wrote:

>Renney Thomas <renneyt@yahoo.com> writes:
>  
>
>>"tab-complete.c", line 108: warning: assignment type mismatch:
>>        pointer to function() returning pointer to pointer to char "=" 
>>pointer to void
>>"tab-complete.c", line 313: undefined symbol: rl_compentry_func_t
>>"tab-complete.c", line 313: syntax error before or at: )
>>"tab-complete.c", line 317: undefined symbol: rl_compentry_func_t
>>"tab-complete.c", line 317: syntax error before or at: )
>>"tab-complete.c", line 322: undefined symbol: rl_compentry_func_t
>>    
>>
>
>These aren't ssl problems, they're readline problems.  You may have
>a version of libreadline we've never heard of, but a more likely bet
>is that you have a libreadline library file that's out of sync with
>the readline header files you have.  The above looks like configure
>made the wrong guesses about how to set up our readline support, and
>that's usually a versioning problem ...
>
>			regards, tom lane
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: Have you checked our extensive FAQ?
>
>               http://www.postgresql.org/docs/faqs/FAQ.html
>
>  
>




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

* Re: 7.3.4 and OpenSSl
@ 2003-07-30 00:02  Renney Thomas <renneyt@yahoo.com>
  parent: Renney Thomas <renneyt@yahoo.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Renney Thomas @ 2003-07-30 00:02 UTC (permalink / raw)
  To: ; +Cc: pgsql-admin

Correction:

I reinstalled readline 4.3 and everything compiled well. I have a new 
problem.

I _can't_  get psql to connect with ssl on.

confiugre : configure --with-CXX -with-odbcinst=/usr/local/etc 
--with-includes=/usr/local/include  --
with-unixodbc --with-perl --with-openssl

-- 
share/pg_hba.conf
# TYPE  DATABASE    USER   IP-ADDRESS IP-MASK           METHOD

local        all             
all                                                       trust
hostssl    all             all       127.0.0.1    255.255.255.255  trust

-- 
share/postgresql.conf
#
#       Connection Parameters
#
tcpip_socket = true
ssl = true

-- 

 > psql -h localhost template1
Welcome to psql 7.3.4, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
      \h for help with SQL commands
      \? for help on internal slash commands
      \g or terminate with semicolon to execute query
      \q to quit

template1=#


>
>
> Tom Lane wrote:
>
>> Renney Thomas <renneyt@yahoo.com> writes:
>>  
>>
>>> "tab-complete.c", line 108: warning: assignment type mismatch:
>>>        pointer to function() returning pointer to pointer to char 
>>> "=" pointer to void
>>> "tab-complete.c", line 313: undefined symbol: rl_compentry_func_t
>>> "tab-complete.c", line 313: syntax error before or at: )
>>> "tab-complete.c", line 317: undefined symbol: rl_compentry_func_t
>>> "tab-complete.c", line 317: syntax error before or at: )
>>> "tab-complete.c", line 322: undefined symbol: rl_compentry_func_t
>>>   
>>
>>
>> These aren't ssl problems, they're readline problems.  You may have
>> a version of libreadline we've never heard of, but a more likely bet
>> is that you have a libreadline library file that's out of sync with
>> the readline header files you have.  The above looks like configure
>> made the wrong guesses about how to set up our readline support, and
>> that's usually a versioning problem ...
>>
>>             regards, tom lane
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 5: Have you checked our extensive FAQ?
>>
>>               http://www.postgresql.org/docs/faqs/FAQ.html
>>
>>  
>>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>




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

* Re: 7.3.4 and OpenSSl
@ 2003-07-30 14:29  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Renney Thomas <renneyt@yahoo.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Tom Lane @ 2003-07-30 14:29 UTC (permalink / raw)
  To: Renney Thomas <renneyt@yahoo.com>; +Cc: pgsql-admin

Renney Thomas <renneyt@yahoo.com> writes:
> I _can't_  get psql to connect with ssl on.

You're not showing us any evidence to support that statement ...

			regards, tom lane



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

* Re: 7.3.4 and OpenSSl
@ 2003-07-30 16:50  Renney Thomas <renneyt@yahoo.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Renney Thomas @ 2003-07-30 16:50 UTC (permalink / raw)
  To: ; +Cc: pgsql-admin

Did I forget a step in setting up SSL? Is their a way to find out if SSL 
is in use on a session or that it was compiled properly into the 
back-end and client?

Tom Lane wrote:

>Renney Thomas <renneyt@yahoo.com> writes:
>  
>
>>I _can't_  get psql to connect with ssl on.
>>    
>>
>
>You're not showing us any evidence to support that statement ...
>
>			regards, tom lane
>
>---------------------------(end of broadcast)---------------------------
>TIP 3: if posting/reading through Usenet, please send an appropriate
>      subscribe-nomail command to majordomo@postgresql.org so that your
>      message can get through to the mailing list cleanly
>
>  
>




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


end of thread, other threads:[~2003-07-30 16:50 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-07-29 18:36 7.3.4 and OpenSSl Renney Thomas <renneyt@yahoo.com>
2003-07-29 21:47 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-07-29 23:54   ` Renney Thomas <renneyt@yahoo.com>
2003-07-30 00:02     ` Renney Thomas <renneyt@yahoo.com>
2003-07-30 14:29       ` Tom Lane <tgl@sss.pgh.pa.us>
2003-07-30 16:50         ` Renney Thomas <renneyt@yahoo.com>

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