configure php with mcrypt support


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting configure php with mcrypt support
# 1  
Old 10-02-2008
configure php with mcrypt support

output of uname -a:
Linux XXXXX 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux


i'm trying to configure php with mcrypt support.

output is below:
Code:
./configure --with-apxs2=/usr/local/apache/bin/apxs \
--with-mysql=/usr/lib/mysql3/mysql/mysql_config \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/usr/local/apache/php \
--with-mcrypt=/opt/mcrypt-2.5.8

...

checking whether to check multibyte regex backtrack... yes
checking for external libmbfl... no
checking for mcrypt support... yes
checking for libmcrypt version... >= 2.5.6
checking for mcrypt_module_open in -lmcrypt... no
checking for mcrypt_module_open in -lmcrypt... no
configure: error: Sorry, I was not able to diagnose which libmcrypt version you have installed.

has anyone seen this type of error... i've tried rebuilding configure file but no luck.

-pupp
# 2  
Old 10-11-2008
Hrm. Check configure.log and see if the command used to compile included something like -L/opt/mcrypt-.../lib. If not, override the LDFLAGS or LDLIBS on the configure line.

./configure ... LDFLAGS=/opt/mcrypt-.../lib

Of course, this is assuming you did install mcrypt inside /opt.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Gcc g++ on cygwin - configure: error: *** A compiler with support for C++11 language features is req

Hi, Apologies if I posted it in a wrong section as it is related to gcc on cygwin. Please move it to appropriate section. I'm trying to compile and build libsigc++-2.10.2 on cygwin with gcc 8.3.0. when I run ./configure, I get this: I couldn't fully understand what does... (13 Replies)
Discussion started by: prvnrk
13 Replies

2. Programming

Fatal error: mcrypt.h: No such file or directory

Hi All, I am trying to include a mcrypt.h header but I am getting the below error: test01> gcc test1.c test1.c:5:20: fatal error: mcrypt.h: No such file or directory #include <mcrypt.h> ^ compilation terminated. As I cannot put my encryption program here, so have... (4 Replies)
Discussion started by: Shre
4 Replies

3. IP Networking

How to configure RHEL6 to support Aleton 4408 in DSR mode?

Dears How to configure RHEL6 to support Aleton 4408 in DSR(Direct Server Return) mode We have config Aleton 4408 + Windows 2008R2 then Windows set loopback interface with VIP. the exec the following command in CMD netsh interface ipv4 set interface "net" weakhostreceive=enabled netsh... (0 Replies)
Discussion started by: nnnnnnine
0 Replies

4. Solaris

Solaris,PHP,Expect support

Hello All, I installed php5 from OpenCSW but i believe it does not support the expect module. I tried to run a php script to call expect to do a telnet to a device but i got this error PHP Warning: fopen(): Unable to find the wrapper "expect" - did you forget to enable it when you... (6 Replies)
Discussion started by: kaf3773
6 Replies

5. Linux

How To Install and configure Mysql for CRM with PHP

Hi , I have tired several times and tried a lot to install CRM in Centos Linux i686 but while im opening in browser for installing it shows database error as Unable to connect to database Server. Invalid mySQL Connection Parameters specified This may be due to the following reasons:... (0 Replies)
Discussion started by: babinlonston
0 Replies

6. Solaris

mcrypt module is not initially loaded with php

Hi I'm trying to do an upgrade for one application and whenever I run the upgradre the program shows the error that mcrypt module is not initially loaded with php. My server is running xampp 0.9 and I know this library of mcrypt is already installed. I changed the php.ini file in order to... (0 Replies)
Discussion started by: dahr
0 Replies

7. UNIX for Advanced & Expert Users

configure php with postgresql and apache

Hi, I'm trying to configure php4 to run alongside postgresql and apache. Postgres and apache are already installed and running, but I am getting an error when doing: host84:~/php-4.4.9#./configure --with-apache=/usr/local/apache --with-postgresql=/usr/local/pgsql loading cache ./config.cache... (5 Replies)
Discussion started by: sdbeng
5 Replies

8. UNIX for Dummies Questions & Answers

XML support

Does Unix or Linux support XML (1 Reply)
Discussion started by: usha4u
1 Replies

9. UNIX for Advanced & Expert Users

Upgrade PHP (LAMP) to support cURL. Anyone?

Has anyone who is running linux-apache-mysql-php (LAMP) ever upgraded their PHP configuration (in a working environment) to support cURL? If you have, please post the easiest way to do it without adversely effecting the other parts of the LAMP configuration. Thanks! (1 Reply)
Discussion started by: Neo
1 Replies

10. UNIX for Dummies Questions & Answers

enable php & java support in apache

Hello guys, I am in desperate need for this information: I have an apache server running on linux (suse 8.1) I am unable to run php or java code on it, and I wonder what is wrong. for the php case, the browser asks me how he should treat the file, namely download it to my local drive or... (5 Replies)
Discussion started by: bionicfysh
5 Replies
Login or Register to Ask a Question