Skip to content

Instantly share code, notes, and snippets.

@plathrop
Created February 1, 2009 00:54
Show Gist options
  • Save plathrop/55735 to your computer and use it in GitHub Desktop.
Save plathrop/55735 to your computer and use it in GitHub Desktop.
configure:20197: checking if libgmp is available
configure:20233: g++ -o conftest -g -O2 -I/usr/local/include/ -L/usr/local/lib conftest.cpp -lgmp >&5
ld: warning in /usr/local/lib/libgmp.dylib, file is not of required architecture
Undefined symbols:
"___gmpz_init", referenced from:
_main in cc0YyHzm.o
"___gmpz_clear", referenced from:
_main in cc0YyHzm.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
configure:20240: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "ledger"
| #define PACKAGE_TARNAME "ledger"
| #define PACKAGE_VERSION "2.6.2"
| #define PACKAGE_STRING "ledger 2.6.2"
| #define PACKAGE_BUGREPORT "johnw@newartisans.com"
| #define PACKAGE "ledger"
| #define VERSION "2.6.2"
| #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_DLFCN_H 1
| #define HAVE_UNIX_PIPES 1
| /* end confdefs.h. */
| #include <gmp.h>
| int
| main ()
| {
| mpz_t bar;
| mpz_init(bar);
| mpz_clear(bar);
| ;
| return 0;
| }
configure:20267: result: false
configure:20282: error: "Could not find gmp library (set CPPFLAGS and LDFLAGS?)"
See `config.log' for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment