Re: PostgreSQL 7.3 Installation on SCO

Started by Bruce Momjianover 23 years ago2 messageshackersbugs
Jump to latest
#1Bruce Momjian
bruce@momjian.us
hackersbugs

It should have worked, but edit Makefile.shlib and remove that offending
export from the link line. That may fix it.

---------------------------------------------------------------------------

Shibashish wrote:

Dear Sir,

I use SCO Open Server 5.0.5 on an intel box. Although I have installed and
used PostgreSQL on Linux, setting it on SCO has not been successful :$
I have downloaded the latest version ie "Postgresql-7.3" I have also tried
installing postgresql-7.1 and postgresql-7.2.3, but never succeeded.

I also installed "ant" package for using java. I have "tcl8.0," "tk8.0,"
"itclsh3.0" and "itkwish3.0" installed in my system.
"gcc version 2.7.2.1"
"Java 2 SDK, Standard Edition, v. 1.2.1"
"GNU Make 3.80"

My "configure" command was as following ...
./configure --prefix=/data/pgsql --with-perl --with-tcl
--with-tclconfig=/data/tcl/lib/ --with-tkconfig=/data/tk/lib/
--with-java --without-readline --without-zlib

The output has been attached as file "configoutput.txt"

Then i give the "make" command. The compiling stops on an error and
exits after some time. The output has been attached as file
"makeoutput.txt"

I'd be thankful to you if you can help me out sort the problem. I got your
mail-ids from the net and came to know that you are working on the similar
lines.

Also, in the file doc/FAQ_SCO, does the section "Compiling PostgreSQL 7.1
with the UDK" apply to release 7.3 of Postgresql ? I am not using UDK.

Waiting for a quick response from your end. kindly inform me if you have
already solved the problem, or whether any patch is available. Any
documentation or url will be highly helpful.

Thanking You in anticipation.

with regards
Shibashish

shiba@it.iitb.ac.in
On Yahoo Messenger : shib_leo

Software Engineer
IIT Bombay, India.

Content-Description:

[ Attachment, skipping... ]

Content-Description:

[ Attachment, skipping... ]

Content-Description:

[ Attachment, skipping... ]

-- 
  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
#2Bruce Momjian
bruce@momjian.us
In reply to: Bruce Momjian (#1)
hackersbugs

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