re: problem compiling with mcrypt support

From: Date: Tue, 26 Mar 2002 21:48:59 +0000
Subject: re: problem compiling with mcrypt support
Groups: php.install 
Request: Send a blank email to php-install+get-6480@lists.php.net to get a copy of this message
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" whoops - that should have been: export $LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/to/mcrypt/lib sorry 'bout that. Of course, that's just the syntax there. i'm still not sure that that's what'll solve it ... /b
I dunno, I still get the same "not a valid identifier" error. Is this by chance the kind of thing that messes up if you do it over and over? (cuz it seems to be adding on the the string every time -- :/home/to/mcrypt/lib:/home/to/mcrypt/lib:/home/to/mcrypt/lib...) 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

« previous php.install (#6480) next »