git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: libz and RHEL 5.9 compile of Git

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jan 22, 2014, 16:30 UTC
Message-ID
<20140122163007.GK18964@google.com>
In-Reply-To
<1390406392415-7602374.post@n2.nabble.com>
Hi,
salmansheikh wrote:
Show 5 quoted lines
>                                                                     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

Previous: salmansheikhNext: Torsten Bögershausen
Message 2 of 6 in “libz and RHEL 5.9 compile of Git”
  1. salmansheikhJan 22, 2014
  2. Jonathan NiederJan 22, 2014
  3. Torsten BögershausenJan 22, 2014
  4. salmansheikhJan 22, 2014
  5. Jeff KingJan 23, 2014
  6. Torsten BögershausenJan 23, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.