ID:               20926
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         mcrypt related
 Operating System: NetBSD-1.5.2
 PHP Version:      4.3.0RC2
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2003-01-29 14:56:34] [EMAIL PROTECTED]

hi guys,

just in case anything goes on out there: 

I GOT IT!

short description: download libtool and install it.
this will make php-configure recognize -lmcrypt as valid.

story:
the REAL problem was not having an error while compiling mcrypt with
php, it was more likely that i did not have the libtool-library
libltdl.* on my system!

i downloaded libtool-1.4.3, configured it and ran a make install and
THEN php was fine with libmcrypt!

the only thing i've to say is: PLEASE, if you add a -ltdl within any
configure script, let the configure script CHECK FOR IT and generate
ERROR messages to the user if it's not found on the system. i spent
very much time (yes, my fault but....) to figure out this stuff! this
would not have occurred if your configure script told me that we need
ltdl to compile our stuff!


thx for support and cu,
md.

ps: you can close my bug-reports.

------------------------------------------------------------------------

[2003-01-29 05:05:21] [EMAIL PROTECTED]

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 ;-)

------------------------------------------------------------------------

[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"

------------------------------------------------------------------------

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

Reply via email to