git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: salmansheikh <salmanisheikh@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: libz and RHEL 5.9 compile of Git
Date: Wed, 22 Jan 2014 08:30:07 -0800	[thread overview]
Message-ID: <20140122163007.GK18964@google.com> (raw)
In-Reply-To: <1390406392415-7602374.post@n2.nabble.com>

Hi,

salmansheikh wrote:

>                                                                     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.

Confusingly, LD_LIBRARY_PATH is only used a run-time.  The build time
library path is just called LIBRARY_PATH.

You may also need to add your libz's include/ dir to CPATH.  See
http://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html for more
details.

Hope that helps,
Jonathan

  reply	other threads:[~2014-01-22 16:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-22 15:59 libz and RHEL 5.9 compile of Git salmansheikh
2014-01-22 16:30 ` Jonathan Nieder [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140122163007.GK18964@google.com \
    --to=jrnieder@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=salmanisheikh@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).