Hey... >'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=/home/path/to/mcrypt/lib:$LD_LIBRARY_PATH >export $LD_LIBRARY_PATH > >which only affects your environment. That might do the trick. > When I do that (I assume when I'm in the php-4.1.2 dir, and assuming I don't need to do anything beforehand) it gives me an error: "bash: export: `/home/path/to/mcrypt/lib:': not a valid identifier"
Any more ideas, or you know what I'm doing wrong? Thanks, Lucas -- Fruition Design Collective http://fruitiondesign.com Against Patriarchy Conference (Eugene) http://fruitiondesign.com/againstpatriarchy Deal With It. (anti-sexist men's zine) http://fruitiondesign.com/dealwithit the Insurgent ("news" paper) http://theinsurgent.org -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php