This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
how to use newer version gblic and glibcxx?
- From: Li Li <fancyerii at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Sun, 3 Feb 2013 18:18:06 +0800
- Subject: how to use newer version gblic and glibcxx?
hi all
I need to use a software but my linux box is to old.
./bin/phantomjs: /lib64/tls/libc.so.6: version `GLIBC_2.9' not found
(required by ./bin/phantomjs)
./bin/phantomjs: /lib64/tls/libc.so.6: version `GLIBC_2.4' not found
(required by ./bin/phantomjs)
./bin/phantomjs: /lib64/tls/libc.so.6: version `GLIBC_2.10' not found
(required by ./bin/phantomjs)
./bin/phantomjs: /lib64/tls/libc.so.6: version `GLIBC_2.11' not found
(required by ./bin/phantomjs)
./bin/phantomjs: /lib64/tls/libc.so.6: version `GLIBC_2.7' not found
(required by ./bin/phantomjs)
./bin/phantomjs: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9'
not found (required by ./bin/phantomjs)
./bin/phantomjs: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11'
not found (required by ./bin/phantomjs)
$ rpm -qa glibc
glibc-2.3.4-2.19
glibc-2.3.4-2.19
$ strings /usr/lib64/libstdc++.so.6|grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBC_2.3
GLIBC_2.2.5
GLIBCXX_FORCE_NEW
$ lsb_release -a
LSB Version:
:core-3.0-amd64:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseAS
Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 3)
Release: 4
Codename: NahantUpdate3
$ uname -a
Linux jx-adr-test16.jx.baidu.com 2.6.9-52bs #2 SMP Fri Jan 26 13:34:38
CST 2007 x86_64 x86_64 x86_64 GNU/Linux
I don't has root account. can I compile a newer glibc and run my
application with this newer lib? How to do this?
Thank you.