Postgresql 7.3 on Unixware 7.1.1

Lists: Postg토토 사이트
From: "Dake, David" <DDake(at)kmart(dot)com>
To: "'pgsql-ports(at)postgresql(dot)org'" <pgsql-ports(at)postgresql(dot)org>
Subject: Postgresql 7.3 on Unixware 7.1.1
Date: 2003-04-28 18:36:16
Message-ID: 57F6C9D473290148AB2E56E10010646E0561ECB4@uskihsvpex05.kih.kmart.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg토토 사이트

Hello,

I'm trying to compile version 7.3 to run under Unixware 7.1.1.

I have the following packages installed

- GNU gmake - Skunkware 7.1.1

- readline - 4.2 from SCO Web site

- Bison - Skunkware 7.1.1

- zlib - Unixware 7.1.3 CD

- flex - Skunkware 7.1.1

- glib - Skunkware 7.1.1

- gcc - Skunkware 7.1.1

- libc - 7.1.3.CD

- libC - 7.1.3 CD

My configure statement is:

./configure -with-libs=/usr/local/libs -with-includes=/usr/local/include
-with-template=unixware

I have some gcc related errors in config.log but it runs to completion.

gmake completes

gmake install runs

I added the user pgsql and created the data directory.

Initdb works correctly

When I get to creating the database (createdb test), I die with the error

"dynamic linker : /usr/local/pgsql/bin/psql : could not open libpq.so.3"

Killed

createdb: database creation failed

The library does exist in /usr/local/pgsql/lib.

Does this stand out as blatantly obvious as to what may be wrong?

We would like to evaluate Postgresql as an alternative to Informix.

Any light you could shed on this would be a great help.

Thanks,

Dave Dake

Kmart Resource Center

(248) 614-0929

<mailto:ddake(at)kmart(dot)com> ddake(at)kmart(dot)com

This message and its contents (to include attachments) are the property of Kmart Corporation (Kmart) and may contain confidential and proprietary information. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on information contained herein is strictly prohibited. Unauthorized use of information contained herein may subject you to civil and criminal prosecution and penalties. If you are not the intended recipient, you should delete this message immediately.


From: Larry Rosenman <ler(at)lerctr(dot)org>
To: "Dake, David" <DDake(at)kmart(dot)com>, "'pgsql-ports(at)postgresql(dot)org'" <pgsql-ports(at)postgresql(dot)org>
Subject: Re: Postgresql 7.3 on Unixware 7.1.1
Date: 2003-04-30 17:49:42
Message-ID: 161240000.1051724981@lerlaptop.iadfw.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-ports

Do one of the following:

1) add a symlimk in /usr/lib:
ln -s /usr/local/pgsql/lib/libpq.so.3 /usr/lib/libpq.so.3

2) add a LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pgsql/lib;export
LD_LIBRARY_PATH
to your /etc/profile

3) add (someway) a -R/usr/local/pgsql/lib to the link of the binaries.

I do number 2 on my 7.1.3 systems.

LER

--On Monday, April 28, 2003 14:36:16 -0400 "Dake, David" <DDake(at)kmart(dot)com>
wrote:

> Hello,
>
>
>
> I'm trying to compile version 7.3 to run under Unixware 7.1.1.
>
> I have the following packages installed
>
> - GNU gmake - Skunkware 7.1.1
>
> - readline - 4.2 from SCO Web site
>
> - Bison - Skunkware 7.1.1
>
> - zlib - Unixware 7.1.3 CD
>
> - flex - Skunkware 7.1.1
>
> - glib - Skunkware 7.1.1
>
> - gcc - Skunkware 7.1.1
>
> - libc - 7.1.3.CD
>
> - libC - 7.1.3 CD
>
>
>
> My configure statement is:
>
> ./configure -with-libs=/usr/local/libs -with-includes=/usr/local/include
> -with-template=unixware
>
>
>
> I have some gcc related errors in config.log but it runs to completion.
>
> gmake completes
>
> gmake install runs
>
> I added the user pgsql and created the data directory.
>
> Initdb works correctly
>
> When I get to creating the database (createdb test), I die with the error
>
> "dynamic linker : /usr/local/pgsql/bin/psql : could not open libpq.so.3"
>
> Killed
>
> createdb: database creation failed
>
>
>
> The library does exist in /usr/local/pgsql/lib.
>
> Does this stand out as blatantly obvious as to what may be wrong?
>
>
>
> We would like to evaluate Postgresql as an alternative to Informix.
>
> Any light you could shed on this would be a great help.
>
>
>
> Thanks,
>
>
>
>
>
> Dave Dake
>
> Kmart Resource Center
>
> (248) 614-0929
>
> <mailto:ddake(at)kmart(dot)com> ddake(at)kmart(dot)com
>
>
>
>
>
>
> This message and its contents (to include attachments) are the property
> of Kmart Corporation (Kmart) and may contain confidential and proprietary
> information. You are hereby notified that any disclosure, copying, or
> distribution of this message, or the taking of any action based on
> information contained herein is strictly prohibited. Unauthorized use of
> information contained herein may subject you to civil and criminal
> prosecution and penalties. If you are not the intended recipient, you
> should delete this message immediately.
>
>

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749