Обсуждение: Failed to compile 7.3.1 under Sol7 - can't find libz.so (I think)

Поиск
Список
Период
Сортировка

Failed to compile 7.3.1 under Sol7 - can't find libz.so (I think)

От
Matt Mello
Дата:
I'm having trouble compiling pg7.3.1 for Sol7.

The configure command I used was:
./configure --prefix=/usr/local/pgsql731 --enable-multibyte --with-java
--enable-syslog --without-readline

I get the following error:
ld.so.1: ./conftest: fatal: libz.so: open failed: No such file or directory

(I am compiling without readline 'cause it wouldn't compile with it,
even after installing it!)

Does anybody have a suggestion?

Thanks!

--
Matt


Re: Failed to compile 7.3.1 under Sol7 - can't find libz.so (I think)

От
Andrew Sullivan
Дата:
On Wed, Jan 22, 2003 at 12:27:40PM -0600, Matt Mello wrote:
> I'm having trouble compiling pg7.3.1 for Sol7.
>
> The configure command I used was:
> ./configure --prefix=/usr/local/pgsql731 --enable-multibyte --with-java
> --enable-syslog --without-readline
>
> I get the following error:
> ld.so.1: ./conftest: fatal: libz.so: open failed: No such file or directory

Is that a failure on zlib?  If you do (just guessing) --without-zlib
does it help?

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


Re: Failed to compile 7.3.1 under Sol7 - can't find libz.so

От
Matt Mello
Дата:
I just found the solution in the docs (DOH!):
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib
export LD_LIBRARY_PATH

Andrew Sullivan wrote:
> On Wed, Jan 22, 2003 at 12:27:40PM -0600, Matt Mello wrote:
>
>>I'm having trouble compiling pg7.3.1 for Sol7.
>>
>>The configure command I used was:
>>./configure --prefix=/usr/local/pgsql731 --enable-multibyte --with-java
>>--enable-syslog --without-readline
>>
>>I get the following error:
>>ld.so.1: ./conftest: fatal: libz.so: open failed: No such file or directory
>
>
> Is that a failure on zlib?  If you do (just guessing) --without-zlib
> does it help?
>
> A
>

--
Matt Mello
512-350-6900