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

Re: Git build fails on `make`, undefined references in libcrypto.a.

From
ZMzero modulo <zeromodulo@gmail.com>
Date
Mar 18, 2013, 16:04 UTC
Message-ID
<CAA8xkYmcEqt3Bmd3gJvFVL+HeiJOVgYX_01YQ0FYmMc8RnDpuQ@mail.gmail.com>
In-Reply-To
<20130318072933.GC5434@localhost.localdomain>

On Mon, Mar 18, 2013 at 1:29 AM, Konstantin Khomoutov <kostix+git@007spb.ru> wrote:

> FYI, I've already tried to answer this exact question [1] with no
> comments from the OP.
>
> 1. http://serverfault.com/a/488604/118848
It is I who posted that question. :P

I haven't made any comments yet because this issue is still a work in progress. I re-compiled OpenSSL taking into consideration that libdl.a probably wasn't linked properly to libcrypto.a, and have also tried re-compiling Git afterward, but with the same errors. I have also created a .conf file for `ld.so`, and ran `sudo ldconfig` which solved some other issues I was having. Running `ldd msgfmt` revealed that run-time libraries were not being found, and after running `sudo ldconfig`, `ldd msgfmt` then showed the libgettext .so was linked. So, I solved some of my issues, and if there was an issue with statically linked libraries not being found, as in this case, then, I believe re-compiling OpenSSL with the proper LDFLAGS and CPPFLAGS would have solved the issue, but they have not.

I'm currently attempting to install GCC 4.7.2, which is having some other issues with texinfo 5.1. I can't find the link, but I someone said it could be the compiler version... since everything else that seems like might be the issue isn't fixing it, I'm going to try re-compiling OpenSSL with GCC 4.7.2 and see how that goes.

Previous: Konstantin Khomoutov
Message 3 of 3 in “Git build fails on `make`, undefined references in libcrypto.a.”
  1. zero moduloMar 18, 2013
  2. Konstantin KhomoutovMar 18, 2013
  3. zero moduloMar 18, 2013

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.