Forum: CFEngine Help Subject: Re: CFEngine Help: Re: libtokyocabinet.so.9 error on AIX 5.2 Author: raymondcox Link to topic: https://cfengine.com/forum/read.php?3,25650,25652#msg-25652
Thank you for the suggestion, unfortunately I get the same result. I see the following entry in the config.log file: configure:14196: checking for tchdbnew in -ltokyocabinet configure:14221: cc -qlanglvl=extc89 -o conftest -D_THREAD_SAFE -qmaxmem=16384 -DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_ALL_SOURCE -DFUNCPROTO=15 -O -I/opt/freeware/include -I/usr/local/include -qcpluscmt -I/include -O2 -DNDEBUG -I/usr/local/include -I/usr/local/include -I/usr/local/include -L/opt/freeware/lib -Wl,-bmaxdata:0x80000000 -L/usr/local/lib conftest.c -ltokyocabinet >&5 ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy ld: 0711-317 ERROR: Undefined symbol: .pthread_rwlock_destroy ld: 0711-317 ERROR: Undefined symbol: .pthread_rwlock_init ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init ld: 0711-317 ERROR: Undefined symbol: .log ld: 0711-317 ERROR: Undefined symbol: .pthread_once ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock ld: 0711-317 ERROR: Undefined symbol: .pthread_rwlock_unlock ld: 0711-317 ERROR: Undefined symbol: .pthread_rwlock_rdlock ld: 0711-317 ERROR: Undefined symbol: .pthread_rwlock_wrlock ld: 0711-317 ERROR: Undefined symbol: .BZ2_bzDecompressInit ld: 0711-317 ERROR: Undefined symbol: .BZ2_bzDecompressEnd ld: 0711-317 ERROR: Undefined symbol: .BZ2_bzDecompress ld: 0711-317 ERROR: Undefined symbol: .BZ2_bzCompressInit ld: 0711-317 ERROR: Undefined symbol: .BZ2_bzCompressEnd ld: 0711-317 ERROR: Undefined symbol: .BZ2_bzCompress ld: 0711-317 ERROR: Undefined symbol: .crc32 ld: 0711-317 ERROR: Undefined symbol: .inflateInit2_ ld: 0711-317 ERROR: Undefined symbol: .inflateEnd ld: 0711-317 ERROR: Undefined symbol: .inflate ld: 0711-317 ERROR: Undefined symbol: .deflateInit2_ ld: 0711-317 ERROR: Undefined symbol: .deflate ld: 0711-317 ERROR: Undefined symbol: .deflateEnd ld: 0711-317 ERROR: Undefined symbol: ._isnormal ld: 0711-317 ERROR: Undefined symbol: .pow ld: 0711-317 ERROR: Undefined symbol: .nan ld: 0711-317 ERROR: Undefined symbol: .sqrt ld: 0711-317 ERROR: Undefined symbol: .cos ld: 0711-317 ERROR: Undefined symbol: .pthread_setspecific ld: 0711-317 ERROR: Undefined symbol: .pthread_mutexattr_init ld: 0711-317 ERROR: Undefined symbol: .pthread_mutexattr_settype ld: 0711-317 ERROR: Undefined symbol: .pthread_key_create ld: 0711-317 ERROR: Undefined symbol: .pthread_mutexattr_destroy ld: 0711-317 ERROR: Undefined symbol: .pthread_key_delete ld: 0711-317 ERROR: Undefined symbol: .pthread_getspecific ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure:14221: $? = 8 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "cfengine" | #define VERSION "3.3.0" | #define BUILD_YEAR 2012 | #define HAVE_PTHREAD 1 | #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 LT_OBJDIR ".libs/" | #define YYTEXT_POINTER 1 | #define C_GETLOADAVG 1 | #define HAVE_SETLOCALE 1 | #define HAVE_NLIST_H 1 | #define GETLOADAVG_PRIVILEGED 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 tchdbnew (); | int | main () | { | return tchdbnew (); | ; | return 0; | } configure:14230: result: no configure:14240: error: Cannot find Tokyo Cabinet I am sure there is a clue in there somewhere, I just don't see it. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine