Re: 4 pgcrypto regressions failures - 1 unsolved

From: Marko Kreen <marko(at)l-t(dot)ee>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 4 pgcrypto regressions failures - 1 unsolved
Date: 2005-07-11 15:58:05
Message-ID: 20050711155805.GA1674@l-t.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Mon, Jul 11, 2005 at 11:46:29AM -0400, Tom Lane wrote:
> Marko Kreen <marko(at)l-t(dot)ee> writes:
> > Here is the bcopy, bzero removal patch.
>
> Applied.
>
> I'm seeing the following build failure on HPUX:
>
> /usr/ccs/bin/ld +h libpgcrypto.sl.0 -b +b /home/postgres/testversion/lib pgcrypto.o px.o px-hmac.o px-crypt.o misc.o crypt-gensalt.o crypt-blowfish.o crypt-des.o crypt-md5.o md5.o sha1.o sha2.o internal.o blf.o rijndael.o fortuna.o random.o pgp-mpi-internal.o mbuf.o pgp.o pgp-armor.o pgp-cfb.o pgp-compress.o pgp-decrypt.o pgp-encrypt.o pgp-info.o pgp-mpi.o pgp-pubdec.o pgp-pubenc.o pgp-pubkey.o pgp-s2k.o pgp-pgsql.o -L../../src/port `gcc -L../../src/port -Wl,-z -Wl,+b -Wl,/home/postgres/testversion/lib -print-libgcc-file-name` -lz -o libpgcrypto.sl.0
> /usr/ccs/bin/ld: Can't find library for -lz
> make: *** [libpgcrypto.sl.0] Error 1
>
> I believe the issue is that libz.sl is in /usr/local/lib/, which is not
> searched by default by HP's linker. It *is* searched by default by gcc,
> which is why -lz works without any explicit -L in the pg_dump/pg_restore
> builds. But here we are invoking a different tool with a different
> default search path.
>
> Possibly there's something similar happening on that Solaris buildfarm
> machine?

No, there it finds the libz (in /usr/local/lib - the link command
is gcc with -L/usr/local/lib), but in not satisfied with .. something.

--
marko

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2005-07-11 16:15:01 Re: Hide source code
Previous Message Michael Fuhr 2005-07-11 15:51:00 Re: 4 pgcrypto regressions failures - 1 unsolved

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2005-07-11 16:16:18 Re: Constraint Exclusion (Partitioning) - Initial Review
Previous Message Michael Fuhr 2005-07-11 15:51:00 Re: 4 pgcrypto regressions failures - 1 unsolved