On Mon, Apr 09, 2001 at 11:41:55AM -0700, Henry B. Hotz wrote:
> At 1:50 AM -0400 4/6/01, Tom Lane wrote:
...
> >What version of libreadline do you have installed, and how does it
> >declare completion_matches()?
> 
> I have whatever is standard on NetBSD 1.5.  I noticed that configure 
> found a readline.h include file, but NetBSD doesn't integrate the 
> current GNU implementation.  I did not do a test of psql to see if 
> the feature worked.
> 
> I'm sure you could "fix" this problem if you installed GNU readline 
> and referenced it in the build.  Since Solaris had even worse issues 
> with needing GNU support utilities installed this didn't seem like a 
> big deal to me.  OTOH it could confuse a new user.

Odd: I am using the standard NetBSD readline found in -ledit and it is
fine.. Can it be a -1.5 vs -current difference?


I have just stumbled across something which is broken though:

NetBSD-1.5S/arm32:
% ldd `which psql`
/usr/local/pgsql/bin/psql:
        -lpq.2 => /usr/local/pgsql/lib/libpq.so.2.1 (0x2003b000)
        -lz.0 => /usr/lib/libz.so.0.2 (0x20048000)
        -lcrypt.0 => /usr/lib/libcrypt.so.0.0 (0x20056000)
        -lresolv.1 => /usr/lib/libresolv.so.1.0 (0x2005c000)
        -lm.0 => /usr/lib/libm.so.0.1 (0x20065000)
        -lutil.5 => /usr/lib/libutil.so.5.5 (0x2008b000)
        -ledit.2 => /usr/lib/libedit.so.2.5 (0x20096000)
        -lc.12 => /usr/lib/libc.so.12.74 (0x200ae000)

NetBSD-1.5U/i386:
% ldd `which psql`
/usr/local/pgsql/bin/psql:
         -lcrypt.0 => /usr/lib/libcrypt.so.0
         -lresolv.1 => /usr/lib/libresolv.so.1
         -lpq.2 => /usr/local/pgsql/lib/libpq.so.2
         -lz.0 => /usr/lib/libz.so.0
         -lm.0 => /usr/lib/libm387.so.0
         -lm.0 => /usr/lib/libm.so.0
         -lutil.5 => /usr/lib/libutil.so.5
         -ledit.2 => /usr/lib/libedit.so.2
         -ltermcap.0 => /usr/lib/libtermcap.so.0
         -lc.12 => /usr/lib/libc.so.12

-ltermcap is missing from arm32 - it's necessary if libedit is going to
find _tgetent..

Investigating now..

Cheers,

Patrick

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to