Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CD257476899; Tue, 10 Dec 2002 14:33:41 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 935BC4769FF; Tue, 10 Dec 2002 14:25:21 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id gBAJP3W20740; Tue, 10 Dec 2002 14:25:03 -0500 (EST) From: Bruce Momjian Message-Id: <200212101925.gBAJP3W20740@candle.pha.pa.us> Subject: Re: PostgreSQL 7.3 Installation on SCO In-Reply-To: To: Shibashish Date: Tue, 10 Dec 2002 14:25:03 -0500 (EST) Cc: pgsql-admin@postgresql.org, pgsql-bugs@postgresql.org, pgsql-hackers@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/138 X-Sequence-Number: 6633 OK, I wonder if adding -ldl will help. You need to link to the library containing the ldopen function. --------------------------------------------------------------------------- Shibashish wrote: > Thanks for the help. I edited the src/makefiles/Makefile.sco and removed > the export. But the compile still hangs up after the following errors. > I tried the following combinations too .... > export_dynamic = -Wl,-Bexport > export_dynamic = -Wl > #export_dynamic = -Wl,-Bexport {stops at the following output} > > I will send the full output if u need. > > ------------------------------------- > make[4]: Leaving directory > `/data/postgres/postgresql-7.3/src/backend/utils/mb' > /usr/ccs/bin/ld -r -o SUBSYS.o fmgrtab.o adt/SUBSYS.o cache/SUBSYS.o > error/SUBSYS.o fmgr/SUBSYS.o hash/SUBSYS.o init/SUBSYS.o misc/SUBSYS.o > mmgr/SUBSYS.o sort/SUBSYS.o time/SUBSYS.o mb/SUBSYS.o > make[3]: Leaving directory > `/data/postgres/postgresql-7.3/src/backend/utils' > gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -L../../src/port > access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o > commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o > main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o > postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o > tcop/SUBSYS.o utils/SUBSYS.o -lPW -lgen -lld -lsocket -lnsl -lm -lpgport > -o postgres > undefined first referenced > symbol in file > _dlopen utils/SUBSYS.o > _dlerror utils/SUBSYS.o > _dlsym utils/SUBSYS.o > _dlclose utils/SUBSYS.o > i386ld fatal: Symbol referencing errors. No output written to postgres > make[2]: *** [postgres] Error 1 > make[2]: Leaving directory `/data/postgres/postgresql-7.3/src/backend' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/data/postgres/postgresql-7.3/src' > make: *** [all] Error 2 > ------------------------------------- > > from Shibashish > > > On Mon, 9 Dec 2002, Bruce Momjian wrote: > > > > > It should have worked, but edit Makefile.shlib and remove that offending > > export from the link line. That may fix it. > > > > --------------------------------------------------------------------------- > > > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073