I'm trying to use Laravel 5.1 and Cassandra 3.7
Version: PHP7, Apache2.2, Cassandra3.7
but, I got below error
configure: error: Unable to load libgmp
ERROR: `/var/tmp/cassandra/configure --with-php-config=/usr/bin/php-config'
failed
Can someone help me?
It appears you are missing one of the dependencies which will allow the PHP driver to be successfully built and installed. Ensure you have GNUMP (with development headers) installed:
RHEL: sudo yum install gmp-devel
Ubuntu: sudo apt-get install libgmp-dev
If you run into any other missing dependencies or build issues I would recommend looking into the build instructions on GitHub for the driver.
Related
I´m trying to install the p4ruby gem on our RHEL 7.9 server and I keep getting the "failed to build gem native extension" error.
Here is what the log contains this message:
have_library: checking for -lsupc++... -------------------- no
I have installed the Development Tools with
yum group install "Development tools"
And I´m using RVM with Ruby Version 2.7.1.
What am I missing?
Edit:
Thanks to Knud Larsens hint
yum install gcc-c++ libstdc++-static
fixed the previous issue.
But the building still doesn´t work
`rbuf_fill': Net::ReadTimeout with #<Socket:fd 9> (Net::ReadTimeout)
is what I get now.
Does anyone know a working solution to install Google Chrome(Chromium) on Amazon Linux 2 with ARM64 architecture (Gravitone c6g.xlarge instance)? I need to run it in headless mode.
At the moment I can't find any packages in yum:
No package chromium available.
When I try to install it using the RPM package I get the error:
Error: Package: chromium-87.0.4280.141-1.el8.aarch64 (/chromium-87.0.4280.141-1.el8.aarch64)
Requires: libm.so.6(GLIBC_2.27)(64bit)
Error: Package: chromium-87.0.4280.141-1.el8.aarch64 (/chromium-87.0.4280.141-1.el8.aarch64)
Requires: libz.so.1(ZLIB_1.2.9)(64bit)
Error: Package: chromium-87.0.4280.141-1.el8.aarch64 (/chromium-87.0.4280.141-1.el8.aarch64)
Requires: chromium-common(aarch-64) = 87.0.4280.141-1.el8
Error: Package: chromium-87.0.4280.141-1.el8.aarch64 (/chromium-87.0.4280.141-1.el8.aarch64)
Requires: libc.so.6(GLIBC_2.28)(64bit)
When I try to run sudo yum install glibc I get:
glibc-2.26-39.amzn2.aarch64
Looks like Amazon Linux has installed own older version of glibc. Same situation with zlib package, available older version:
zlib-1.2.7-18.amzn2.aarch64
To really solve the problem if you are using EC2 instance or any other server where you are running Amazon linux, you should follow the below steps .
Enable and install Extra Packages for Enterprise Linux by running the command
sudo amazon-linux-extras install epel -y
Post installing all the extra packages successfully, Install chromimum as usual
sudo yum install -y chromium
Once you do that Chromium will have all required such as libatk* libgdk* etc ...
You should be able to easily launch Chromium
The missed out packages that you are looking here, are actually not missedout they are kind of default you just have to enable them , this is well documented in AWS documentation .
https://aws.amazon.com/premiumsupport/knowledge-center/ec2-enable-epel/
I am trying to install Docker on RHEL whose version details are shown below
I have downloaded the rpm docker-ce-20.10.2-3.el7.x86_64.rpm from here. And I run the following install command
sudo yum install /home/projuser/usr/share/Docker/docker-ce-20.10.2-3.el7.x86_64.rpm
Error comes up suggesting that docker-ce-rootless-extras is required.
Error: Package: 3:docker-ce-20.10.2-3.el7.x86_64 (/docker-ce-20.10.2-3.el7.x86_64)
Requires: docker-ce-rootless-extras
Here is the full screenshot of error
As per the message I try to install docker-ce-rootless-extras-20.10.2-3.el7.x86_64.rpm that I downloaded from here using command shown below
sudo yum install /home/projuser/usr/share/Docker/docker-ce-rootless-extras-20.10.2-3.el7.x86_64.rpm
I get an error that suggests that docker-ce is required
Error: Package: docker-ce-rootless-extras-20.10.2-3.el7.x86_64 (/docker-ce-rootless-extras-20.10.2-3.el7.x86_64)
Requires: docker-ce
Here is the complete screenshot
So I am not sure how to resolve this dependency as docker-ce and docker-ce-rootless-extras are both not getting installed with dependency on each other. Please let me know if you need any other details.
Please help resolve this
Hope it not too late. You have to install both packages at the same time.
rpm -i docker-ce-XXXXX docker-ce-rootless-extras-XXXXX
This command is working for me.
you need to install the centos package on RHEL. installing the correct package resolved the same issue I was facing. check out this Link
I am attempting to install StackStorm on a RHEL6 environment since I was encountering issues with their deployment script. I believe I got all the required software installed but have been encountering issues trying to install the actual StackStorm packages. All my commands are run with the sudo prefix as the root user.
Ex command:
sudo rpm -i st2common-0.11.0-6.noarch.rpm
Output:
error: Failed dependencies:
python(abi) = 2.7 is needed by st2common-0.11.0-6.noarch
Here is the resource I am using:
http://docs.stackstorm.com/install/rpm.html
How can I resolve this dependency error and update python?
Thanks!
You can do it using yum.
yum localinstall st2common-0.11.0-6.noarch.rpm
Right now I am running Ubuntu 14.04 in VMware trying to make a Live CD with a tool called UCK. I am in the process where I can customize and add my own packages and tools to my live CD. I want to install and setup Autopsy so I began with the process of downloading both Sleuthkit and Autopsy. While trying to install those I have been told I have first have to use ./configure according to this guide: https://shankaraman.wordpress.com/2012/11/16/how-to-install-autopsy-and-sleuthkit-in-ubuntu/
and I got the following error: 'Configure: error: missing libstdc++'
Does anyone know how to fix this? I haven't found a solution on the internet yet.
Fixed it by running: sudo apt-get install build-essential -_-.