running Robomongo on Centos - linux

Is anyone succesfully running robomongo on centos machine.
I got this result when try to excuting it
> ./robomongo.sh
./bin/robomongo: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./bin/robomongo)
./bin/robomongo: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./bin/robomongo)
./bin/robomongo: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./lib/libqscintilla2.so.8)
./bin/robomongo: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by ./lib/libQtGui.so.4)
./bin/robomongo: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./lib/libQtGui.so.4)
./bin/robomongo: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by ./lib/libQtCore.so.4)
./bin/robomongo: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./lib/libQtCore.so.4)
>
I have been try to update glibc from yum command
> yum list installed | grep glibc
glibc.x86_64 2.12-1.107.el6_4.2 #updates
glibc-common.x86_64 2.12-1.107.el6_4.2 #updates
glibc-devel.x86_64 2.12-1.107.el6_4.2 #updates
glibc-headers.x86_64 2.12-1.107.el6_4.2 #updates
> sudo yum update glibc.x86_64
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: centos.biz.net.id
* epel: kartolo.sby.datautama.net.id
* extras: centos.biz.net.id
* rpmforge: kartolo.sby.datautama.net.id
* updates: centos.biz.net.id
Setting up Update Process
No Packages marked for Update
>
please, is anyone could solve this problem?
-Mardi

According to this issue, Robomongo supports CentOS starting from 0.8.1. Download the latest version - and it will work for you.

It looks like robomongo is build against a different glibc than you have, and hence it's not working. I would suggest you just compile it yourself from GitHub.

windows and MAC binaries are available if you want to add scons, cmake, QT5 and build robomongo on your centos box

i think you should run:
sudo yum install -y glibc.i686 libstdc++.i686 libgcc.i686
goodluck!

Go to this link and download the latest version of robomongo.
http://app.robomongo.org/download.html
Example: 64 bit .tar.gz
Then extract the zip file. and goto extracted_folder_path/bin/
Then start robomongo.sh using command
./robomongo.sh

Related

GLIBC_2.27 not found while installing Node on Amazon EC2 instance

I'm trying to install Nodejs on Amazon linux machine, I'm following this documentation to install node https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-up-node-on-ec2-instance.html but I'm getting below error when I execute this command nvm install node
How can I fix this issue? Any help would be much appreciated. Thanks!
v18.0.0 is already installed.
node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by node)
nvm is not compatible with the npm config "prefix" option: currently set to ""
Run `nvm use --delete-prefix v18.0.0` to unset it.
[ec2-user#ip-xx-xxx-xx-xx ~]$ node -e "console.log('Running Node.js ' + process.version)"
-bash: node: command not found
I tried running this nvm use --delete-prefix v18.0.0 but no luck.
Try installing the active LTS version instead of latest with nvm install 16 (instead of nvm install node) as per the examples.
This was tested on the docker image amazonlinux:2 and correlates to what AWS CDK supports (ref)
It seems like you are using v.18.0.0 which was the latest but not well-supported.
Try uninstalling that.
nvm uninstall 18.0.0
Install a version that is active.
nvm install 16.0.0
You should now be using v16 which should be well-supported.
Amazon Linux 2 or some os includes glibc 2.26 or under.
To use a higher glib version,
you need to consider other AMI.
for example) Amazon Linux 2022. (al2022-ami) it includes glibc 2.34
reference : https://repost.aws/questions/QUrXOioL46RcCnFGyELJWKLw/glibc-2-27-on-amazon-linux-2
The error message:
node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by node)
is telling you that you do not have a new enough version of glibc for nvm to install node 18. The error tells you it requires at least glibc 2.27.
You can find your current glibc version with: ldd --version
It's possible that you can install a newer version of glibc using a package manager like apt-get.
You can find the latest available version of glibc available via your package manager with: apt-cache policy libc6.
If your package manager can't install a new-enough version of glibc, you need to be on a newer version of your operating system. In Ubuntu, you can accomplish an OS upgrade with do-release-upgrade.
There is some issue with nvm latest version 18.x.x.
Try following steps to resolve the issue
1.Uninstall your nvm
$ nvm uninstall <nvm_version>
ie. $ nvm uninstall 18.12.2
2.Install stable version of nvm
$ nvm install <stable_nvm_version>
ie. $ nvm install 16.0.0

Gitlab version update

I am trying to upgrade my GitLab docker container from version 13.8.0 to 13.8.8 with ce edition.
I tried by download the Debian package for the ubuntu focal version from the below link:
https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/focal/gitlab-ce_13.8.8-ce.0_amd64.deb
but while installing the package I am getting the following errors...
root#2d66229ecf41:/tmp#dpkg -i gitlab-ce_13.8.8-ce.0_amd64.deb
(Reading database ... 86705 files and directories currently installed.)
Preparing to unpack gitlab-ce_13.8.8-ce.0_amd64.deb ...
/opt/gitlab/embedded/bin/ruby: /lib/x86_64-linux-gnu/libcrypt.so.1: version `XCRYPT_2.0' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.7)
/opt/gitlab/embedded/bin/ruby: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.7)
/opt/gitlab/embedded/bin/ruby: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.7)
/opt/gitlab/embedded/bin/ruby: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.7)
/opt/gitlab/embedded/bin/ruby: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.7)
dpkg: error processing archive gitlab-ce_13.8.8-ce.0_amd64.deb (--install):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
gitlab-ce_13.8.8-ce.0_amd64.deb
what I should I do?
My disc space is also free...
what is the problem?
can anyone help me to fix this?
Based on the error message, ruby needs xcrypt v2.0, glibc_2.xx and they are not installed or unable to be found.
This is the first step I would try, after performing a backup:
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
sudo apt-get install -f
https://ubuntuforums.org/showthread.php?t=2438576

is there any solution for : GLIBC_2.33 not found in arch linux?

i have installed Steam on Arch linux and then i tried to run 'pacman -Syu' and i got this error i tried downloading the package and put in the right path but nothing worked, and the steam client freeze on 'Connecting Steam Account' window.
this is it :
[devos#devarch ~]$ pacman -Syu
pacman: /usr/lib/libc.so.6: version `GLIBC_2.33' not found (required by pacman)
pacman: /usr/lib/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib/libalpm.so.12)

SuSE: LD_LIBRARY_PATH not overriding /lib64/

how may i have my local glibc used instead of the root lib64 glibc? I've obtained a newer version of glibc and extracted to a local directory with ld_library_path written to point to that local path, but the application is still looking at the library in /lib64/.
How do I override this?
gate
gate: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /p/work/aapplasa/gate/usr/lib64/libproxy.so.1)
ldd --version
ldd (GNU libc) 2.11.3
rpm2cpio rpm/glibc-2.19-16.2.5.x86_64.rpm | cpio -idmv
setenv LD_LIBRARY_PATH /p/work/aapplasa/gate/usr/lib64
gate
gate: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /p/work/aapplasa/gate/usr/lib64/libproxy.so.1)

Error: gdal-config not found while installing R dependent packages whereas gdal is installed

Please point out the point that I am missing:
openSUSE 11.3
xx#linux-y3pi:~/Desktop/R> sudo R CMD INSTALL rgdal_0.7-12.tar.gz
root's password:
* installing to library ‘/usr/lib64/R/library’
* installing *source* package ‘rgdal’ ...
** package ‘rgdal’ successfully unpacked and MD5 sums checked
configure: gdal-config: gdal-config
checking gdal-config usability... ./configure: line 1353: gdal-config: command not found
no
Error: gdal-config not found
The gdal-config script distributed with GDAL could not be found.
If you have not installed the GDAL libraries, you can
download the source from http://www.gdal.org/
If you have installed the GDAL libraries, then make sure that
gdal-config is in your path. Try typing gdal-config at a
shell prompt and see if it runs. If not, use:
--configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
with appropriate values for your installation.
ERROR: configuration failed for package ‘rgdal’
* removing ‘/usr/lib64/R/library/rgdal’
xx#linux-y3pi:~/Desktop/R> whereis gdal-config
gdal-config: /usr/local/bin/gdal-config
xx#linux-y3pi:~/Desktop/R> gdal-config
Usage: gdal-config [OPTIONS]
Options:
[--prefix[=DIR]]
[--libs]
[--dep-libs]
[--cflags]
[--datadir]
[--version]
[--ogr-enabled]
[--formats]
xx#linux-y3pi:~/Desktop/R>
> sessionInfo()
R version 2.15.1 (2012-06-22)
Platform: x86_64-unknown-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=C LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
>
xx#linux-y3pi:~/Desktop/R> gdal-config --version
1.9.0
xx#linux-y3pi:~/Desktop/R> proj
Rel. 4.8.0, 6 March 2012
usage: proj [ -beEfiIlormsStTvVwW [args] ] [ +opts[=arg] ] [ files ]
linux-y3pi:~ # $PATH
bash: /home/xx/qtsdk-2010.05/qt/bin/:/home/xx/qtsdk-2010.05/bin:/home/xx/qtsdk-2010.05/qt/bin:/home/xx/qtsdk-2010.05/qt/bin/:/home/xx/qtsdk-2010.05/bin:/usr/lib64/mpi/gcc/openmpi/bin:/home/xx/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games: No such file or directory
In Ubuntu 18.04
I fixed this by sudo apt install libgdal-dev
Hope someone find this helpful. Some above answers seems to be outdated and lengthy.
In earlier versions (which had apt-get)
sudo apt-get install libgdal-dev
You need the -dev package with headers and shared library links for development besides the normal package for deployment. Two different use cases as far as the distro is concerned.
On my distribution:
edd#max:/tmp$ dpkg -l | grep gdal | cut -c-72
ii libgdal1-1.7.0 1.7.3-6ubuntu3
ii libgdal1-dev 1.7.3-6ubuntu3
edd#max:/tmp$
and R CMD INSTALL rgdal_0.7-8.tar.gz works just fine as you would expect from a CRAN package given all the build-time checks at CRAN.
Update late 2016: As #JoshO'Brien points out in the comment
Minor update: Here in 2016, running Ubuntu 14.04.2, libgdal1h seems to
have replaced libgdal1(though libgdal1-dev is still needed). At least
I get an error to that effect when I attempted to apt-get install libgdal1
For Ubuntu 16.04 the corresponding line would be
sudo apt-get install libgdal1i
Such renaming of upstream libraries is common; something such as apt-cache search libgdal can help locate the current package names. The important key though is that the "abstract" development package libgdal-dev is all that is needed to build as it pulls the "concrete" current run-time package (here: libgdal1i) in via a dependency.
You can use apt-file package, to find which package contains the missing file you are looking for.
First install the apt-file using the command apt-get install apt-file Update apt-file using the command apt-file update Now you can use apt-file to find the missing file. apt-file search gdal-config
For my case, I got the same error when configuring grass-7.1 from svn. As shown below:
$ ./configure
...more...
checking whether to use GDAL... yes
checking for gdal-config... /usr/bin/gdal-config
...more....
./configure: 1: ./configure: /usr/bin/gdal-config: not found
./configure: 6093: test: =: unexpected operator
configure: error: *** Unable to locate GDAL library.
But, after looking for gdal-config file with apt-file as shown below, I was able to resolve the error, after installing the package libgdal1-dev
$ apt-file search gdal-config
Results
libgdal1-dev: /usr/bin/gdal-config
So I installed libgdal1-dev, as shown below:
$ sudo apt-get install libgdal1-dev
This happens because the configuration failed for package ‘rgdal’
so we have to install necessary dependencies.
The packages libgdal-dev and libproj-dev are required:
sudo apt-get install gdal-bin proj-bin libgdal-dev libproj-dev
Then install rgdal by
install.packages("rgdal")
Load rgdal by
library(rgdal)
On macOS
brew install gdal
removed the error
gdal-config not found
Try this on CentOS 6
sudo yum install gdal gdal-python gdal-devel mapserver mapserver-python libxml2 libxml2-python python-lxml python-pip python-devel gcc
Read the reference manual.
SystemRequirements for building from source: GDAL >= 1.6.0 library
from http://trac.osgeo.org/gdal/wiki/DownloadSource and PROJ.4 (proj
>= 4.4.9) from http://trac.osgeo.org/proj/;
The same problem occurred today to me on a Linux CentOS 6.10 on which I do not have administration rights.
What I did:
a) Create a conda environment dedicated to my R version
conda create --name MYR
b) Activate the environment
source activate MYR
c) Install R
conda install -c conda-forge r-base
d) Install libgdal
conda install -c conda-forge libgdal
This solved the problem for me. My R version was 4.1.3. I guess other versions should work.
For manjora or archlinux, just try:
yay -S gdal

Resources