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

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

From
ZMzero modulo <zeromodulo@gmail.com>
Date
Mar 18, 2013, 04:03 UTC
Message-ID
<CAA8xkY==7021SyDmeiOcHMzXbX9L0GgG9yTTED5u1r+tfAPGqg@mail.gmail.com>

$ LDFLAGS="-L/sandbox/builds/lib" CPPFLAGS="-I/sandbox/builds/include" ./configure --prefix=$PREFIX

$ make […] /sandbox/builds/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup': dso_dlfcn.c:(.text+0x1b): undefined reference to `dlopen' dso_dlfcn.c:(.text+0x31): undefined reference to `dlsym' dso_dlfcn.c:(.text+0x3b): undefined reference to `dlclose' /sandbox/builds/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func': dso_dlfcn.c:(.text+0x3c1): undefined reference to `dlsym' dso_dlfcn.c:(.text+0x4a0): undefined reference to `dlerror' /sandbox/builds/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var': dso_dlfcn.c:(.text+0x521): undefined reference to `dlsym' dso_dlfcn.c:(.text+0x600): undefined reference to `dlerror' /sandbox/builds/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': dso_dlfcn.c:(.text+0x678): undefined reference to `dlopen' dso_dlfcn.c:(.text+0x6e8): undefined reference to `dlclose' dso_dlfcn.c:(.text+0x72d): undefined reference to `dlerror' /sandbox/builds/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_pathbyaddr': dso_dlfcn.c:(.text+0x7e1): undefined reference to `dladdr' dso_dlfcn.c:(.text+0x849): undefined reference to `dlerror' /sandbox/builds/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload': dso_dlfcn.c:(.text+0x8aa): undefined reference to `dlclose' collect2: error: ld returned 1 exit status make: *** [git-imap-send] Error 1

Next: Konstantin Khomoutov
Message 1 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.