Skip site navigation (1) Skip section navigation (2)

Re: RE- Compile 7.1.3 on SCO OpenServer 5.0.6a

From: Steve Burger <steve(at)customware(dot)aust(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-ports(at)postgresql(dot)org" <pgsql-ports(at)postgresql(dot)org>
Subject: Re: RE- Compile 7.1.3 on SCO OpenServer 5.0.6a
Date: 2001-10-24 04:51:36
Message-ID: 3BD648D8.85BC7B86@customware.aust.com (view raw or flat)
Thread:
Lists: pgsql-ports
Thanks for the previous responces they have helped me in the right
direction.

I am playing with it at the moment.
So far I've edited
./src/include/port/sco.h and added

> #define NOFILE            110
>
./src/Makefile.shlib and added

> ifeq ($(PORTNAME), sco)
>   shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_
> VERSION)
>   LINK.shared = $(COMPILER) -G -Kpic -belf
> endif
>
This gets me a compile and an install. Postmaster works and I can create
dbases and tables.
pgaccess does not work although I did have it working prior to changing
Makefile.shlib
but it was not using libpgtcl.so.

I would like to be able to use libpgtcl from my bltwish  when I
load /usr/local/pgsql/lib/libpgsql.so  I get the following error

couldn't load file "/usr/local/pgsql/lib/libpgtcl.so": dynamic linker :
/usr/local/bin/bltwish : error opening libpq.so

Figuring this looks like a pathing issue I

ln /usr/local/pgsql/lib/libpq.so /usr/lib

and the error changes to
couldn't load file "/usr/local/pgsql/lib/libpgtcl.so": dynamic linker:
/usr/local/bin/bltwish: relocation error: symbol not found: crypt

Now I've read something about crypt inrelation to this I cann't think
where.
I'll keep chipping away, if you can shed any light let me know.


Regards Steve Burger

Tom Lane wrote:

> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > You should configure --disable-shared because shared libraries aren't
> > supported on SCO yet.
>
> If that's the answer, meseems it should be mentioned in doc/FAQ_SCO.
> Or even enforced in template/sco.  But since neither is the case,
> I wonder whether the previous users of the SCO port haven't managed
> to make it work.
>
>                         regards, tom lane


In response to

Responses

pgsql-ports by date

Next:From: Tom LaneDate: 2001-10-24 05:15:27
Subject: Re: RE- Compile 7.1.3 on SCO OpenServer 5.0.6a
Previous:From: Tom LaneDate: 2001-10-24 04:15:03
Subject: Re: RE- Compile 7.1.3 on SCO OpenServer 5.0.6a

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group