ID: 20926 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: mcrypt related Operating System: NetBSD-1.5.2 PHP Version: 4.3.0RC2 New Comment:
Please ignore the /pkg settings. These packages get installed into /usr/local. configure for libmcrypt: ./configure --prefix=/pkg/libmcrypt-2.5.3 --enable-shared=no --with-pic configure for php: ./configure --prefix=/pkg/php-4.3.0rc2 --enable-shared=no --with-mysql=/pkg/mysql-3.23.46 --enable-discard-path --with-config-file-path=/pkg/php-4.3.0rc2/libdata/php-4.3.0rc2 --with-xml --with-imap-ssl=/devel/build/pine/pine-4.50/imap/ --libdir=/pkg/php-4.3.0rc2/libdata/php-4.3.0rc2 --with-openssl=/usr/local --with-ndbm --with-gd --with-jpeg-dir=/usr/local --with-mcrypt=/usr/local --with-zlib-dir=/usr/local --with-db autoconf (GNU Autoconf) 2.53 automake (GNU automake) 1.4 libmcrypt-2.5.3 mysql-3.23.46 openssl-0.9.6g gd-2.0.4 jpeg-6b zlib-1.1.4 Previous Comments: ------------------------------------------------------------------------ [2002-12-11 11:02:53] [EMAIL PROTECTED] In order to reproduce it, I'd like to have: 1. The full configure line of libmcrypt 2. The full configure line for PHP 3. version numbers of autoconf and automake 4. version numbers of relevant libraries. regards, Derick ------------------------------------------------------------------------ [2002-12-11 10:59:43] [EMAIL PROTECTED] libtool --version ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52) Yes, libmcrypt has been installed in /usr/local. ------------------------------------------------------------------------ [2002-12-11 10:55:44] [EMAIL PROTECTED] Oops! Which version of libtool are you using? And did you do a "make install" of libmcrypt? Derick ------------------------------------------------------------------------ [2002-12-11 10:52:44] [EMAIL PROTECTED] The configure option I used to include libmcrypt is: --with-mcrypt=/usr/local I am using libmcrypt-2.5.3. The config.log entry is as follows: configure:47349: checking for mcrypt support configure:47388: result: yes configure:47412: checking for mcrypt_module_open in -lmcrypt configure:47445: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib -lltdl -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lmcrypt -lpng -lz -ljpeg -lz -lcrypt -lssl -lcrypto -lm -lcrypt >&5 /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_dlclose': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:89: undefined reference to `lt_dlclose' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_dlsym': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:99: undefined reference to `lt_dlsym' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_close': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:112: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_dlopen': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:153: undefined referenc e to `lt_dlsetsearchpath' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:155: undefined referenc e to `lt_dlopenext' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_open': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:173: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:179: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:185: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:192: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:199: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:212: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:219: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_get_size': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:245: undefined referenc e to `lt_dlerror' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_mode_get_size' : /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:264: undefined referenc e to `lt_dlerror' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_set_key': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:296: undefined referenc e to `lt_dlerror' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_enc_set_state' : /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:315: undefined referenc e to `lt_dlerror' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_enc_get_state' : /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:333: undefined referenc e to `lt_dlerror' /usr/local/lib/libmcrypt.a(mcrypt_modules.o):/devel/build/mcrypt/libmcrypt-2.5.3 /lib/mcrypt_modules.c:361: more undefined references to `lt_dlerror' follow /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_self_te st': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:630: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:637: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:656: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:649: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_algorit hm_version': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:672: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:678: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:697: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:690: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_mode_ve rsion': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:713: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:719: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:738: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:731: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_is_bloc k_algorithm': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:754: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:760: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:779: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:772: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_is_bloc k_algorithm_mode': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:795: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:801: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:820: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:813: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_is_bloc k_mode': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:836: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:842: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:861: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:854: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_get_alg o_block_size': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:877: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:883: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:902: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:895: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_get_alg o_key_size': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:918: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:924: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:943: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:936: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_get_alg o_supported_key_sizes': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:963: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:970: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:975: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:984: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:999: undefined referenc e to `lt_dlexit' collect2: ld returned 1 exit status configure:47448: $? = 1 configure: failed program was: #line 47419 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mcrypt_module_open (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { mcrypt_module_open (); ; return 0; } configure:47465: result: no configure:47590: checking for init_mcrypt in -lmcrypt configure:47623: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -lmcrypt -lp ng -lz -ljpeg -lz -lcrypt -lssl -lcrypto -lm -lcrypt >&5 /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_dlclose': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:89: undefined reference to `lt_dlclose' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_dlsym': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:99: undefined reference to `lt_dlsym' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_close': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:112: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_dlopen': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:153: undefined referenc e to `lt_dlsetsearchpath' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:155: undefined referenc e to `lt_dlopenext' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_open': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:173: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:179: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:185: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:192: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:199: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:212: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:219: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_get_size': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:245: undefined referenc e to `lt_dlerror' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_mode_get_size' : /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:264: undefined referenc e to `lt_dlerror' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_set_key': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:296: undefined referenc e to `lt_dlerror' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_enc_set_state' : /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:315: undefined referenc e to `lt_dlerror' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_enc_get_state' : /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:333: undefined referenc e to `lt_dlerror' /usr/local/lib/libmcrypt.a(mcrypt_modules.o):/devel/build/mcrypt/libmcrypt-2.5.3 /lib/mcrypt_modules.c:361: more undefined references to `lt_dlerror' follow /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_self_te st': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:630: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:637: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:656: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:649: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_algorit hm_version': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:672: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:678: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:697: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:690: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_mode_ve rsion': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:713: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:719: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:738: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:731: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_is_bloc k_algorithm': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:754: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:760: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:779: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:772: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_is_bloc k_algorithm_mode': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:795: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:801: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:820: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:813: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_is_bloc k_mode': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:836: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:842: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:861: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:854: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_get_alg o_block_size': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:877: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:883: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:902: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:895: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_get_alg o_key_size': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:918: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:924: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:943: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:936: undefined referenc e to `lt_dlexit' /usr/local/lib/libmcrypt.a(mcrypt_modules.o): In function `mcrypt_module_get_alg o_supported_key_sizes': /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:963: undefined referenc e to `lt_dlinit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:970: undefined referenc e to `lt_dlerror' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:975: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:984: undefined referenc e to `lt_dlexit' /devel/build/mcrypt/libmcrypt-2.5.3/lib/mcrypt_modules.c:999: undefined referenc e to `lt_dlexit' collect2: ld returned 1 exit status configure:47626: $? = 1 configure: failed program was: #line 47597 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char init_mcrypt (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { init_mcrypt (); ; return 0; } configure:47643: result: no configure:47660: error: Sorry, I was not able to diagnose which libmcrypt versio n you have installed. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20926 -- Edit this bug report at http://bugs.php.net/?id=20926&edit=1