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

Re:git 2.54 fails to build for rhel 6 (2.53 builds fine)

From
АУАзат Усманов <usmanov@ieml.ru>
Date
May 7, 2026, 22:55 UTC
Message-ID
<3268811778194549@06693829-27c3-4fe0-9d46-424ac6250bfe>
In-Reply-To
<87E428E0-97B3-499F-A352-20A1E617D168@gmail.com>
git --version  --build-options on 2.53   on rhel 6 actually revealed the problem. it showed that actually git compiled with system openssl 1.0.1.e
  it turns out  that ieven though  my openssl version(the one shown from  the root home is 3.5.6  git tries to compile itself with system openssl which is way of - 1.0.1e) it fails because of  this item in the change log of 2.54                                                                                                
 ""imap-send" used to use functions whose use is going to be removed
with OpenSSL 4.0; rewrite them using public API that has been
available since OpenSSL 1.1 since 2016 or so.
(merge 6392a0b75d bb/imap-send-openssl-4.0-prep later to maint)."

git 2.54 successfully builds on rhel8 because unlike rhel 6 rhel 8 uses OpenSSL 1.1.1 as it system default specifiying openssl dir where 3.5.6 is located has successfuly solved the issue so for rhel 6 command became ./configure --with-openssl=/usr/local/openssl && make -j $(nproc) CSPRNG_METHOD= && make -j $(nproc) install CSPRNG_METHOD= && make -j $(nproc) clean and to prevent any possible errors in future I also upgraded my command line for rhel 8 so it became ./configure --with-openssl=/usr/local/openssl && make -j $(nproc) && make -j $(nproc) install && make -j $(nproc) clean lesson learned check your build options (I was always using regular git version without -- build-options)

thanks  for pointing me in the right direction
Previous: Азат УсмановNext: Phillip Wood
Message 6 of 7 in “git 2.54 fails to build for rhel 6 (2.53 builds fine)”
  1. Азат УсмановMay 3, 2026
  2. brian m. carlsonMay 4, 2026
  3. Азат УсмановMay 6, 2026
  4. Ben KnobleMay 6, 2026
  5. Азат УсмановMay 7, 2026
  6. Азат УсмановMay 7, 2026
  7. Phillip WoodMay 7, 2026

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.