Re: PostgreSQL 7.3 Installation on SCO

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Shibashish <shiba(at)it(dot)iitb(dot)ac(dot)in>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: PostgreSQL 7.3 Installation on SCO
Date: 2002-12-10 19:25:03
Message-ID: 200212101925.gBAJP3W20740@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-bugs pgsql-hackers


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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2002-12-10 20:04:45 Re: UNICODE -> SJIS problem
Previous Message Bruce Momjian 2002-12-10 19:14:23 Re: ALTER DOMAIN patch ....

Browse pgsql-bugs by date

  From Date Subject
Next Message Nathan Mueller 2002-12-10 20:09:50 Re: Bug #838: SSL problems in 7.3
Previous Message Bruce Momjian 2002-12-10 18:53:10 Re: Bug #838: SSL problems in 7.3

Browse pgsql-hackers by date

  From Date Subject
Next Message Oliver Elphick 2002-12-10 19:35:26 pg_hba.conf parse error gives wrong line number
Previous Message Greg Copeland 2002-12-10 19:19:42 Re: [mail] Re: 7.4 Wishlist