Re: [GENERAL] UnixWare chokes - Mailing list pgsql-general

From Thomas Good
Subject Re: [GENERAL] UnixWare chokes
Date
Msg-id Pine.LNX.3.96.990428200333.2925A-100000@mailhost.nrnet.org
Whole thread Raw
In response to Re: [GENERAL] UnixWare chokes  (Bruce Momjian <maillist@candle.pha.pa.us>)
List 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



pgsql-general by date:

Previous
From: Aaron Holtz
Date:
Subject: Re: [GENERAL] Any ideas why this doesn't work or how to rewrite it?
Next
From: Andy Lewis
Date:
Subject: Re: [GENERAL] PLpgSQL Stat Problem