ID: 20926 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: mcrypt related Operating System: NetBSD-1.5.2 PHP Version: 4.3.0RC2 New Comment:
hi guys, as told in bug 21936, i have similar problems with php-4.3.0 release (NOT an RC!) and libmcrypt-2.5.6. in this case, i do not see the solution. plz help to configure & compile, br, md. ps: sorry, this comment post went to the wrong bug before... don't know how that happened... obv. my fault ;-) Previous Comments: ------------------------------------------------------------------------ [2003-01-02 18:45:22] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2002-12-11 13:10:22] [EMAIL PROTECTED] hmm, :-) Patching configure is of little use, it's generated from config.m4 files. It would be nice if you could try to fix ext/mcrypt/config.m4, but I doubt it's possible. After you modify config.m4's dont forget to rm configure && ./buildconf It works all fine here, so I cant really help you. Derick ------------------------------------------------------------------------ [2002-12-11 13:04:24] [EMAIL PROTECTED] Actually, the problem is here: --- configure~ Wed Nov 27 15:02:21 2002 +++ configure Wed Dec 11 13:57:27 2002 @@ -47410,16 +47410,14 @@ save_old_LDFLAGS=$LDFLAGS - LDFLAGS=" - -L$MCRYPT_DIR/lib -lltdl - $LDFLAGS" + LDFLAGS="$LDFLAGS" echo "$as_me:$LINENO: checking for mcrypt_module_open in -lmcrypt" >&5 echo $ECHO_N "checking for mcrypt_module_open in -lmcrypt... $ECHO_C" >&6 if test "${ac_cv_lib_mcrypt_mcrypt_module_open+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lmcrypt $LIBS" +LIBS="-lmcrypt -lltdl $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" ------------------------------------------------------------------------ [2002-12-11 12:59:36] [EMAIL PROTECTED] Right, not a PHP problem -> bogus. ------------------------------------------------------------------------ [2002-12-11 12:50:22] [EMAIL PROTECTED] The problem here is: --enable-shared=no in libmcrypt, but still there are lt_dl symbols in there. The lt_dl approach has never worked nicely - especially on BSD's and Derick is right, that the prefix does matter, even with --with-pic (use make DESTDIR=/pkg/libmcrypt-2.5.3 install for what I think you wanna do). The more recent versions, allow you to link in the encryptions in the shared lib, which is the approach I would recommend. ------------------------------------------------------------------------ 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