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)
Related
I have installed mcrypt on my apple m1 chip using a brew and pecl
$ which mcrypt
/opt/homebrew/bin/mcrypt
$ pecl list
Installed packages, channel pecl.php.net:
=========================================
Package Version State
mcrypt 1.0.4 stable
However, when I build my personal Rust project locally, it fails to link libraries as follows. Is there some configuration that I am doing wrong or is there a parameter that I need to specify during the build?
= note: ld: library not found for -lmcrypt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Cargo version
cargo -V
cargo 1.60.0 (d1fd9fe2c 2022-03-01)
ld -v
#(#)PROGRAM:ld PROJECT:ld64-762
BUILD 06:28:58 Feb 18 2022
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
LTO support using: LLVM version 13.1.6, (clang-1316.0.21.2) (static support for 28, runtime is 28)
TAPI support using: Apple TAPI version 13.1.6 (tapi-1316.0.7.3)
sw_vers
ProductName: macOS
ProductVersion: 12.3.1
BuildVersion: 21E258
I solved this issue.
Just needed to export the $LIBRARY_PATH explicitly by typing:
export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/opt/mcrypt/lib/
I installed gcc 4.7.0 as a new version, but the result of gcc --version did not change. I learned that I should set a link in /usr/bin/ to the gcc executable. However, under the index of 4.7.0 I installed there are 6 indexes:
bin include lib lib64 libexec share
I am not sure where I can find the gcc executable. Where should the gcc executable be commonly?
Thank you!
It should be under the /usr/bin directory. If it is not, try to find with:
$ which gcc
As I am trying to run Shapeit for GWAS imputation in a linux cluster, I've runned into this error message
/net/userpath/bin/shapeit: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /net/userpath/bin/shapeit)
/net/userpath/bin/shapeit: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /net/userpath/bin/shapeit)
When I run strings /usr/lib64/libstdc++.so.6 | grep GLIBC
I get
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.4
GLIBC_2.2.5
GLIBCXX_FORCE_NEW
Any idea how to get the rest of GLIBC_* into the linux cluser ?
This command will install required libraries for the same.
sudo apt-get install libstdc++6
For the app.js I need to have my node.js in 32 bit mode.
node me$ file `which node`
/usr/local/bin/node: Mach-O universal binary with 2 architectures
/usr/local/bin/node (for architecture i386): Mach-O executable i386
/usr/local/bin/node (for architecture x86_64): Mach-O 64-bit executable x86_64
node me$
Does this mean, that it is installes in two executable versions(32 and 64 bit) on my system? If so, how can I tell the executable to run the 32 bit version?
On this page: https://nodejs.org/download/ you can download and install the 32-bit version, and node should then run only the 32-bit version. Be sure to remove any other instances you have of it first. You can verify which you have with a command like this:
$ file `which node`
I have the 64-bit version and I get:
$ file `which node`
/usr/local/bin/node: Mach-O 64-bit executable x86_64
You should get something about 32-bit once you get the 32-bit version installed.
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