On Monday 04 May 2009 16:57:42 Kristian Nielsen wrote:
> Don Kehn <dek...@gmail.com> writes:
> > when compiling on x64 systems (i.e. CentOS & Fedora core 10) and using
> > the BUILD/compile-pentium64-max, I'm getting the -lz error "/usr/bin/ld:
> > cannot find -lz" and when I simplify the ./comfigure line to a
> > --without-zlib it
>
> Hm, could not reproduce this locally. This was using
> BUILD/compile-pentium64-max on a 64-bit Ubuntu Hardy (amd64).

64 bit libraries are handled differently between these two. Debian/Ubuntu puts 
them in /usr/lib (and has a link from /usr/lib64) and CentOS/Fedora/Red 
Hat/OpenSUSE puts them in /usr/lib64 (/usr/lib is 32 bit).

So to reproduce it, you need a distribution that does the same thing as Dons. 
I only have Kubuntu machines here, so I can't test it.

Don, just to be absolutely certain: You do have the zlib devel package 
installed, right? There should be something like this in your /usr/lib64:

shrek> ll /usr/lib64/libz*
-rw-r--r-- 1 root root 119778 Mar 18 18:58 /usr/lib64/libz.a
lrwxrwxrwx 1 root root     20 Mar 19 07:51 /usr/lib64/libz.so -> 
/lib/libz.so.1.2.3.3
lrwxrwxrwx 1 root root     15 Feb 25 17:19 /usr/lib64/libzip.so.1 -> 
libzip.so.1.0.0
-rw-r--r-- 1 root root  37904 Nov 12  2007 /usr/lib64/libzip.so.1.0.0

This might be obvious, but I have to ask.

Bo.


_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to