Skip to content

Instantly share code, notes, and snippets.

@Nyoho
Last active April 5, 2016 07:36
Show Gist options
  • Save Nyoho/42d56b8a87f703565a874e93d7d49940 to your computer and use it in GitHub Desktop.
Save Nyoho/42d56b8a87f703565a874e93d7d49940 to your computer and use it in GitHub Desktop.
ldd ~/local/lib/libcurl.so
/* confdefs.h. */
#define PACKAGE_NAME "git"
#define PACKAGE_TARNAME "git"
#define PACKAGE_VERSION "2.8.1"
#define PACKAGE_STRING "git 2.8.1"
#define PACKAGE_BUGREPORT "git@vger.kernel.org"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_ALLOCA 1
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char Curl_ssl_init ();
int
main ()
{
return Curl_ssl_init ();
;
return 0;
}
$ ldd ~/local/lib/libcurl.so
linux-vdso.so.1 => (0x00007fff9a364000)
libssl.so.1.0.0 => /home/nyoho/local/lib/libssl.so.1.0.0 (0x00002b7b67dcd000)
libcrypto.so.1.0.0 => /home/nyoho/local/lib/libcrypto.so.1.0.0 (0x00002b7b6803d000)
libz.so.1 => /lib64/libz.so.1 (0x00002b7b68486000)
librt.so.1 => /lib64/librt.so.1 (0x00002b7b6869c000)
libc.so.6 => /lib64/libc.so.6 (0x00002b7b688a5000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002b7b68c39000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b7b68e3d000)
/lib64/ld-linux-x86-64.so.2 (0x00002b7b67948000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment