Re: NetBSD 1.5.1(HP300) - Mailing list pgsql-hackers

From Larry Rosenman
Subject Re: NetBSD 1.5.1(HP300)
Date
Msg-id 20010716.19504100@ler-freebie.iadfw.net
Whole thread Raw
In response to NetBSD 1.5.1(HP300)  (Larry Rosenman <ler@lerctr.org>)
Responses Re: NetBSD 1.5.1(HP300)
List pgsql-hackers
When it trys to run the following:
configure:7174: gcc -o conftest -O2 -pipe     -L/usr/local/lib conftest.c 
-lz -lcrypt -lresolv -lcompat -lm -lutil -ledit  1>&5
configure: failed program was:
#line 7170 "configure"
#include "confdefs.h"
int main() { return 0; }
$ 

that program dies:
$ cat conftest.c
#include "confdefs.h"
int main() { return 0; }

$ /lib conftest.c -lz -lcrypt -lresolv -lcompat -lm -lutil -ledit            <
$ ./conftest
/usr/libexec/ld.so: Undefined symbol "_tputs" in 
conftest:/usr/lib/libedit.so.2.3

$ 

I'm not sure WHY configure doesn't add -lcurses, but it needs to.

I can give you a shell account on this box (WARNING: it's slow, it's a 25 
Mhz 68040) if you want. 

LER

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 7/16/01, 2:44:17 PM, Peter Eisentraut <peter_e@gmx.net> wrote regarding 
Re: [HACKERS] NetBSD 1.5.1(HP300):


> Larry Rosenman writes:

> > in testing CVS tip(sort of), I found that you need -lcurses with
> > -ledit on NetBSD 1.5.1.
> >
> > _tputs in undefined otherwise.

> This is a known problem, but it hasn't been satisfactorily explained so
> far.  The configure test links a program against -ledit and it seems to
> succeed without -lcurses.

> --
> Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-hackers by date:

Previous
From: alex avriette
Date:
Subject: What I do with PostgreSQL
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_depend