Link to home
Start Free TrialLog in
Avatar of bilgehanyildirim
bilgehanyildirim

asked on

Fedora 4 + mycrypt for php installation

Hi,
I have been trying to install mcrypt for PHP on a fedora 4 box and I think I messed up. I got this error message when I start apache
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: wrong ELF class: ELFCLASS32 in Unknown on line 0

So I need someone who will go through step by step to install mcrypt to my fedora box.
Thanks
Avatar of m1tk4
m1tk4
Flag of United States of America image

The easiest way would be to:

1. clean up your install
2. follow the instructions at http://phprpms.sourceforge.net/mcrypt
SOLUTION
Avatar of hernst42
hernst42
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bilgehanyildirim
bilgehanyildirim

ASKER

the problem is yum can't find any package when I try
yum install mcrypt*
yum instal *mcrypt*
etc.
Ok I managed to install
libmcrypt.x86_64                         2.5.7-1.2.fc4.rf       installed      
Matched from:
libmcrypt
libmcrypt is a data encryption library. The library is thread safe
and provides encryption and decryption functions. This version of the
library supports many encryption algorithms and encryption modes. Some
algorithms which are supported:
SERPENT, RIJNDAEL, 3DES, GOST, SAFER+, CAST-256, RC2, XTEA, 3WAY,
TWOFISH, BLOWFISH, ARCFOUR, WAKE and more.
http://mcrypt.sourceforge.net/


libmcrypt-devel.x86_64                   2.5.7-1.2.fc4.rf       installed      
Matched from:
libmcrypt-devel
Header files, libraries and development documentation for libmcrypt.
This package contains the header files, static libraries and development
documentation for libmcrypt. If you like to develop programs using libmcrypt,
you will need to install libmcrypt-devel.
http://mcrypt.sourceforge.net/


libmcrypt-debuginfo.x86_64               2.5.7-1.2.fc4.rf       installed      
Matched from:
libmcrypt-debuginfo
Debug information for package libmcrypt
This package provides debug information for package libmcrypt.
Debug information is useful when developing applications that use this
package or when debugging this package.
http://mcrypt.sourceforge.net/



still got the same message. I think I need to remove the files I installed before this installation...
is there anyway to start from the scratch?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I can't find the rpm for 64bit Fedora...
All sorted! Thanks guys