PostgreSQL-6.4.2 bug report.

Started by James Youngmanover 26 years ago1 messagesbugs
Jump to latest
#1James Youngman
jay@gnu.org

============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name : James Youngman
Your email address : jay@gnu.org

System Configuration
---------------------
Architecture (example: Intel Pentium) : Intel Pentium

Operating System (example: Linux 2.0.26 ELF) : Linux 2.2.5

PostgreSQL version (example: PostgreSQL-6.4.2) : PostgreSQL-6.4.2

Compiler used (example: gcc 2.8.0) : Stock Red Hat 6

Please enter a FULL description of your problem:
------------------------------------------------
/usr/bin/pgaccess fails to load libpgtcl.so because that library
requires crypt(), and crypt() is no longer in libc.

Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------

Run /usr/bin/pgaccess on Red Hat 6.0. Observe the error message.

If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------

Apply the following patch:-

--- /usr/bin/pgaccess   Sat Apr 17 15:59:09 1999
+++ pgaccess    Sat Sep  4 19:52:05 1999
@@ -2824,6 +2824,7 @@
 if {[string toupper $tcl_platform(platform)]=="WINDOWS"} {
        load libpgtcl.dll
 } else {
+       catch { load libcrypt.so }
        load libpgtcl.so
 }
 catch {draw_tabs}

This patch is in unified-diff format. The patch should be appropriate
for all systems, since the extra load statement is enclosed in a
"catch", making any failure silent.