Re: [GENERAL] UnixWare chokes

From: Thomas Good <tomg(at)nrnet(dot)org>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: tomg(at)admin(dot)nrnet(dot)org, pgsql-general(at)postgreSQL(dot)org, scrappy(at)hub(dot)org
Subject: Re: [GENERAL] UnixWare chokes
Date: 1999-04-29 00:07:19
Message-ID: Pine.LNX.3.96.990428200333.2925A-100000@mailhost.nrnet.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 28 Apr 1999, Bruce Momjian wrote:

> > Symbols from libucb.a[alloca.o]:
> > [1] | 0| 0|FILE |LOCL |0 |ABS |alloca.s
> > [4] | 0| 0|NOTY |GLOB |0 |1 |alloca
>
> Bing. Looks like bison-programs need -lucb as a compiler option. Try
> that and see.

Bruce -

gmake all

produces seemingly benign output:

gmake -C lextest all
gmake[1]: Entering directory `/usr/src/pgsql/postgresql-6.3.2/src/lextest'
gmake[1]: Leaving directory `/usr/src/pgsql/postgresql-6.3.2/src/lextest'

But of course, make fails...so trying to force the issue with:

cd /usr/src/pgsql/postgresql-6.3.2/src/backend
cc -o postgres access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o
commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o
main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o parser/SUBSYS.o
port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o
storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o ../utils/version.o
-lgen -lcrypt -lld -lnsl -lsocket -ldl -lm -ltermcap -lcurses
-lc89 -lc89 -Wl,-Bexport -lucb

produces:
UX:ld: ERROR: fatal error: library not found: -lucb

I've tried different placement of the flag in the cc cmd but the
result is the same. Ouch. I've re-read the ld man page but see
no reference to calling the beserkely libs. At a loss (again).

Tom
----
North Richmond Community Mental Health Center

Thomas Good Information Systems Coordinator
E-Mail: tomg@ { admin | q8 } .nrnet.org
Phone: 718-354-5528
Fax: 718-354-5056

Empowered by PostgreSQL 6.3.2

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 1999-04-29 00:19:33 Re: [GENERAL] UnixWare chokes
Previous Message Bob Dusek 1999-04-28 23:28:53 Re: [GENERAL] Any ideas why this doesn't work or how to rewrite it?