Re: RE- Compile 7.1.3 on SCO OpenServer 5.0.6a - Mailing list pgsql-ports

From Steve Burger
Subject Re: RE- Compile 7.1.3 on SCO OpenServer 5.0.6a
Date
Msg-id 3BD648D8.85BC7B86@customware.aust.com
Whole thread Raw
In response to Re: RE- Compile 7.1.3 on SCO OpenServer 5.0.6a  (Peter Eisentraut <peter_e@gmx.net>)
List 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@gmx.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


pgsql-ports by date:

Previous
From: Steve Burger
Date:
Subject: Re: RE- Compile 7.1.3 on SCO OpenServer 5.0.6a
Next
From: Peter Eisentraut
Date:
Subject: Re: RE- Compile 7.1.3 on SCO OpenServer 5.0.6a