Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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 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

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).

         North Richmond Community Mental Health Center

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

                 Empowered by PostgreSQL 6.3.2

In response to

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group