git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libz and RHEL 5.9 compile of Git
@ 2014-01-22 15:59 salmansheikh
  2014-01-22 16:30 ` Jonathan Nieder
  2014-01-22 19:59 ` Torsten Bögershausen
  0 siblings, 2 replies; 6+ messages in thread
From: salmansheikh @ 2014-01-22 15:59 UTC (permalink / raw)
  To: git

Hello,

I have a RHEL system that I am not the admin of. I needed to install git and
got the source. Everything is okay until I got to this point below. I
downloaded and installed the latest libz (1.2.8) but i installed it under a
local directory under my user name (i.e. /home/ssheikh/local). The problem
is that git only looks in the locations below. I even have that directory in
my $LD_LIBRARY_PATH. So, how can I force make to use that version of libz
and not the old one that came with this RHEL 5.9 distro?

[ssheikh@gs-560g3080090e git-1.8.3.4]$ make
    LINK git-credential-store
/usr/bin/ld: skipping incompatible /lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [git-credential-store] Error 1




--
View this message in context: http://git.661346.n2.nabble.com/libz-and-RHEL-5-9-compile-of-Git-tp7602374.html
Sent from the git mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-23 13:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-22 15:59 libz and RHEL 5.9 compile of Git salmansheikh
2014-01-22 16:30 ` Jonathan Nieder
2014-01-22 19:59 ` Torsten Bögershausen
2014-01-22 21:27   ` salmansheikh
2014-01-23  1:45     ` Jeff King
2014-01-23 13:11     ` Torsten Bögershausen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).