Installing phpw55-mcrypt on RedHat enterprise 5 - redhat

Thank you in advance for reading this question,
I am trying to run a Laravel web application on an old RedHat server that is provided by my company. I am getting the error that MCRYPT is not active (it is not installed). When trying to run a yum install php55w-mcrypt yum gives the error
--> Finished Dependency Resolution
php55w-mcrypt-5.5.26-1.w5.x86_64 from webtatic-el5 has depsolv
--> Missing Dependency: libltdl.so.3()(64bit) is needed by p
pt-5.5.26-1.w5.x86_64 (webtatic-el5)
Error: Missing Dependency: libltdl.so.3()(64bit) is needed by
ypt-5.5.26-1.w5.x86_64 (webtatic-el5)
You could try using --skip-broken to work around the problem
I have tried installing the dependency, but I can not seem to find the libltdl.so.
Does anyone know if there is a workaround / does anyone know where to find the library?
Many thanks

I found the required libtools here:
http://rpmfind.net/linux/rpm2html/search.php?query=libtool
wget < correct file type for your server >
yum install lib*
rm lib*
Then searched on the same webpage for libltdl.so.3()
wget < correct file type for your server >
yum install lib*
After installing the dependencies the yum install php55w-mcrypt could be installed and laravel worked like a charm!

Related

memcached Version 3.0.4 does not have REST xml available install failed

i follow a tutorial from plesk to install memcache(d), he say put this line:
/opt/plesk/php/7.2/bin/pecl install memcached
But this work not and i get this error:
Package "memcached" Version "3.0.4" does not have REST xml available
install failed
What i can do? Have any a how to for noobs? :-)
Best regards, Stefan
Can't reproduce this error. I have successfully compiled module with
yum install plesk-php72-devel gcc make libmemcached-devel
/opt/plesk/php/7.2/bin/pecl install memcached
libmemcached directory [no] : /usr

Install perl module Net:SSH2 on redhat/centos 7

As the title says I am trying to install the perl module perl-Net-SSH2. I have tried via yum but get an error that no package is available.
yum install perl-Net-SSH2
I have tried by downloading an rpm file but the only one I can find is for el6 and it complains about the version of perl
yum localinstall perl-Net-SSH2-0.45-4.el6.x86_64.rpm
Requires: perl(:MODULE_COMPAT_5.10.1)
I have tried downloading the source code but get told "Unable to find a working version of library ssh2 in the following directories" even though it is installed. (via yum install libssh2 libssh2-devel)
I have tried via cpan but get the same error "Unable to find a working version of library ssh2 in the following directories"
Any ideas? Google is very sketchy on this and only
OK, I solved this while writing the question. Seeing as information on this is limited I thought it would be worth posting the question anyway. The error message was giving the wrong information in that it was actually gcc that was missing, not libssh2. These are the steps I followed. I've tried to make it as verbatim as possible. I have not verified all these modules are required but this is what I installed before compiling it.
yum install libssh2 libssh2-devel
yum install openssl openssl-devel
yum install perl-Net-SSLeay
yum install gcc
Search for Net::SSH2 in google
Click the link "Net::SSH2 - search.cpan.org"
Download source code (tar.gz file)
Copy it to your redhat 7 machine
tar -xvf Net-SSH2-0.62.tar.gz
cd Net-SSH2-x.xx
perl Makefile.PL
make
make install
Should all be working now, test it with
perl -e 'use Net::SSH2;'

How to fix installation error of missing dependencies (libmysqlclient_16) for Sphinx search 2.2.10 on RedHat/Centos 6.7 in cPanel/WHM

On my VPS mediatemple server with cPanel/whm, I've tried every which way installing Sphinx with yum as well as doing rpm -Uvc with a local download.
And it always returns these errors:
Error: Package: sphinx-2.2.10-1.rhel6.i386 (/sphinx-2.2.10-1.rhel6.i386)
Requires: libmysqlclient.so.16(libmysqlclient_16)
Error: Package: sphinx-2.2.10-1.rhel6.i386 (/sphinx-2.2.10-1.rhel6.i386)
Requires: libmysqlclient.so.16
I can see that I have these files are located at /usr/lib64/libmysqlclient.so.16, but it keeps throwing this error. I read that I was missing MySQL-community-libs-compat files, I tried but MySQL installation is handled through cpanel and got conflicting notices.
I had previously installed Sphinx 2.2.9 wiht no issues, and went ahead and removed it to upgrade. Now I can't install anything. No Bueno!
Can anyone help??
Did you try ?
yum install mysql mysql-devel mysql-lib
Always install local packages using yum , e.g. yum local install LocalPackage.rpm. Yum can handle package dependencies.
Remove sphinx and reinstall using yum localinstall .

running qde(eclipse for blackberry developpement)

i've installed the Momentics IDE 2.0 for blackberry but something's wrong. i'm using debian x64, and when i try to run it, i get an error that says:
MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/home/User/bbndk/configuration/org.eclipse.osgi/bundles/361/1/.cp/libswt-pi-gtk-4236.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
no swt-pi-gtk in java.library.path
/home/User/.swt/lib/linux/x86/libswt-pi-gtk-4236.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Can't load library: /home/User/.swt/lib/linux/x86/libswt-pi-gtk.so
so on the blackberry page it says to install (ia32-libs) kind of librairies. i'm not able to install them because i get a message saying that:
some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ia32-libs : Depends: ia32-libs-i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
how can i fix this?
I'm not sure how you got there coz in my case I was blocked from running java due to the ia32-libs.
In short, this is how I installed momentics-2.0 on my ubuntu 13.10 x86_64.
Add this line to the bottom of your /etc/apt/sources.list (Not sure if still need this yet):
deb http://ca.archive.ubuntu.com/ubuntu raring main universe
Installed these libs as a replacement of ia32-libs:
ywu#ywu-HP-8100:/install$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
Fix the missing libgtk-x11-2.0.so.0:
ywu#ywu-HP-8100:/install$ sudo apt-get install libgtk2.0-0:i386
Fix the missing libXtst.so.6:
ywu#ywu-HP-8100:/install$ sudo apt-get install libxtst6:i386
Install momentics-2.0:
ywu#ywu-HP-8100:/install$ sudo ./momentics-2.0-201310251201-linux.gtk.x86.bin
Good luck!

Installing php-devel-5.1.6-27.el5_5.3.x86_64

I'm working on a 64 bit centos 5.5 (Final) server
When I try to install pear it gives a dependency error
php-devel-5.1.6-27.el5_5.3.x86_64 from base has depsolving problems
--> Missing Dependency: php = 5.1.6-27.el5_5.3 is needed by package php-devel-5.1.6-27.el5_5.3.x86_64 (base)
So I try "yum install php-common-5.1.6-27.el5_5.3" it says that this package is already installed
Package matching php-common-5.1.6-27.el5_5.3.x86_64 already installed. Checking for update.
Nothing to do
I don't know what to do anymore
Can anyone give me a tip?
It's driving me crazy
when I try yum remove php-common-5.1.6-27.el5_5.3.x86_64 it gives me the following
Package(s) php-common-5.1.6-27.el5_5.3.x86_64 available, but not installed.
I don't understand what's wrong with yum
Try removing PHP and Pear, then try this from scratch as if your OS was new. It may help. Pear's a pain sometimes...
# yum install php
# yum install php-pear
# pear channel-update pear.php.net
# pear upgrade-all
Good luck!!
to refresh your system, you might try
yum reinstall php-common; yum install php-devel