Re: PHP 4.0 Bug #6263: mcrypt 2.2.4 support broken
| From: | Derick Rethans | Date: | Sun, 20 Aug 2000 16:47:32 +0000 |
| Subject: | Re: PHP 4.0 Bug #6263: mcrypt 2.2.4 support broken | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-29934@lists.php.net to get a copy of this message | ||
Hi,
Mike Robinson wrote:
> Derick Rethans wrote:
>
> >
> > Could you send the approapriote piece of configure.log?
> >
>
> Jeez, that was fast. :)
That's our job :-)
>
>
>
> Here it is:
>
> =============================================
> configure:21544: checking for mcrypt support
> configure:21631: checking for init_mcrypt in -lmcrypt
> configure:21650: gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/lib
> -L/usr/local/lib conftest.c -lmcrypt -lmcal -lldap -llber -lgds -lt1 -lttf
> /usr/bin/ld: cannot find -lmcal
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 21639 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error. */
> /* 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();
>
> int main() {
> init_mcrypt()
> ; return 0; }
> configure:21680: checking for mcrypt_module_open in -lmcrypt
> configure:21699: gcc -o
> conftest -g -O2 -Wl,-rpath,/usr/local/lib -L/usr/local/lib
> conftest.c -lmcrypt -lmcal -lldap -llber -lgds -lt1 -lttf$
> /usr/bin/ld: cannot find -lmcal
ld says it can not find libmcal in your library path. mcrypt doesn't need it
however. Please apply the attached diff to config.m4 in the php4/ext/mcrypt dir
and do a make cvsclean; ./buildconf in the php4 dir. Now run ./configure and
see if the problem still persists.
>
> collect2: ld returned 1 exit status
> configure: failed program was:
>
> Hope this helps.
> If there's anything else you need or I can do, lmk.
>
> .mike
--
Derick Rethans
JDI Media Solutions
H.v.Tussenbroekstraat 1
6952 BL Dieren
The Netherlands
e-mail: d.rethans@jdimedia.nl
http://www.jdimedia.nl/