re: problem compiling with mcrypt support

From: Date: Mon, 25 Mar 2002 16:45:07 +0000
Subject: re: problem compiling with mcrypt support
Groups: php.install 
Request: Send a blank email to php-install+get-6468@lists.php.net to get a copy of this message
'lo
I'm having a problem installing php with mcrypt support. Here's my setup:
debian linux Apache/1.3.19 php 4.1.2 libmcrypt 2.5.0 (alternately tried mcrypt 2.2.6 and libmcrypt 2.4.22)
I got libmcrypt to install, but when I try to configure php "with mcrypt" I get problems.This is what I type to configure php: ./configure --with-mcrypt=/home/myuserdir/php /
Hmm, so mcrypt is in your home directory? I installed mcrypt in the default location (/usr/local/lib), then compiled php with, simply --with-mcrypt (no =SOME_DIR). Have you tried that? Although, maybe it's an issue with ld.so.conf ... sorry, Configure isn't my strong piint
I have tried it without specifying the directory, but I think if I don't it says it can't find it. I'm using my home directory because I'm "virtual hosting" and if I don't, I get permission >errors. What is "ld.so.conf", and where would I find it?
ld.so.conf (in /etc on my box) contains a list of dirs that ld (gnu dynamic linker) checks for shared objects/libraries, ELF, etc. You won't have any control of that if you're virtual-hosting. Try doing: LD_LIBRARY_PATH=/path/to/the/mcrypt/lib:$LD_LIBRARY_PATH export $LD_LIBRARY_PATH which only affects your environment. That might do the trick. regards /b

« previous php.install (#6468) next »