pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Shibashish <shiba@it.iitb.ac.in>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-bugs@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: PostgreSQL 7.3 Installation on SCO
Date: Tue, 10 Dec 2002 14:25:03 -0500 (EST)
Message-ID: <200212101925.gBAJP3W20740@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.33.0212102243140.7074-100000@quark.it.iitb.ac.in>


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



view thread (2+ messages)

Message-ID: <200212101925.gBAJP3W20740@candle.pha.pa.us>
Permalink:  ../200212101925.gBAJP3W20740@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200212101925.gBAJP3W20740@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: pgman@candle.pha.pa.us, shiba@it.iitb.ac.in, pgsql-bugs@postgresql.org, pgsql-hackers@postgresql.org
  Subject: Re: PostgreSQL 7.3 Installation on SCO
  In-Reply-To: <200212101925.gBAJP3W20740@candle.pha.pa.us>
  References: <Pine.LNX.4.33.0212102243140.7074-100000@quark.it.iitb.ac.in> <200212101925.gBAJP3W20740@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox