今天运行一个例程,出现了/lib64/libc.so.6: version `GLIBC_2.14' not found问题,把解决过程简单记录一下。
系统环境: centos6.2
现象:
1
2
|
[root@localhost nvEncodeApp] # ./nvEncoder
. /nvEncoder : /lib64/libc .so.6: version `GLIBC_2.14' not found (required by . /nvEncoder )
|
好吧,人家需要的是'GLIBC_2.14',先查看一下当前系统glibc的情况:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[root@localhost build] # strings /lib64/libc.so.6 |grep GLIBC
GLIBC_2.2.5 GLIBC_2.2.6 GLIBC_2.3 GLIBC_2.3.2 GLIBC_2.3.3 GLIBC_2.3.4 GLIBC_2.4 GLIBC_2.5 GLIBC_2.6 GLIBC_2.7 GLIBC_2.8 GLIBC_2.9 GLIBC_2.10 GLIBC_2.11 GLIBC_2.12 GLIBC_PRIVATE |
好吧,确实没有,那简单粗暴,安装一下。
1. glibc下载
从http://www.gnu.org/software/libc/ 下载源代码。我下载的版本是2.14,链接地址是http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz。
2. 安装
因为glibc库使用广泛,为了避免污染当前系统环境,最好自定义安装目录,使用时定义一下环境变量就行了。具体步骤如下:
1
2
3
4
5
6
7
|
[root@localhost ~] # tar xvf glibc-2.14.tar.gz
[root@localhost ~] # cd glibc-2.14
[root@localhost glibc-2.14] # mkdir build
[root@localhost glibc-2.14] # cd ./build
[root@localhost build] # ../configure --prefix=/opt/glibc-2.14
[root@localhost build] # make -j4
[root@localhost build] # make install
|
3. 测试
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
[root@localhost nvEncodeApp] # export LD_LIBRARY_PATH=/opt/glibc-2.14/lib:$LD_LIBRARY_PATH
[root@localhost nvEncodeApp] # ./nvEncoder
Error! Command line paramters -outFile is required in order to run this application
[ NVENC 3.0 Command Line Encoder] Usage: nvEncoder -configFile=config.txt -numFramesToEncode=numFramesToEncode -outFile=output.264 <optional params> > Encoder Test Application Parameters [maxNumberEncoders=n] n=number of encoders to use when multiple GPUs are detected
> Optional Parameters to be Set from ConfigFile Or from Command Line [frameNum] Start Frame (within input file )
[bitrate] Video Bitrate of output file (eg: n=6000000 for 6 mbps)
[maxbitrate] Video Bitrate of output file (eg: n=6000000 for 6 mbps)
[rcMode] Rate Control Mode (0=Constant QP, 1=VBR, 2=CBR, 4=VBR_MinQP, 8=Two-Pass CBR
[enableInitialRCQP] Enable Initial Frame RC QP mode setting
[initialQPI] Initial Frame QP for Intra Frame
[initialQPP] Initial Frame QP for Inter P-Frame
[initialQPB] Initial Frame QP for Inter B-Frame
[frameRateNum] Frame Rate numerator (default = 30000) (numerator /denominator = 29.97fps)
[frameRateDen] Frame Rate denominator (default = 1001)
[gopLength] Specify GOP length (N=distance between I-Frames)
[profile] H.264 Codec Profile (n=profile #)
66 = (Baseline)
77 = (Main Profile)
100 = (High Profile)
[numSlices] Specify Number of Slices to be encoded per Frame
[preset] Specify the encoding preset
-1 = No preset
0 = NV_ENC_PRESET_DEFAULT
1 = NV_ENC_PRESET_LOW_LATENCY_DEFAULT
2 = NV_ENC_PRESET_HP
3 = NV_ENC_PRESET_HQ
4 = NV_ENC_PRESET_BD
5 = NV_ENC_PRESET_LOW_LATENCY_HQ
6 = NV_ENC_PRESET_LOW_LATENCY_HP
[numBFrames] Number fo B frames between P successive frames
[syncMode] Run NvEnc in sync Mode if set
[interfaceType] Run NvEnc at specified Interface
0 = (DX9)
1 = (DX11)
2 = (cuda)
3 = (DX10)
[vbvBufferSize] HRD buffer size. For low latancy it should be less or equal to single frame size
[vbvInitialDelay] Initial HRD bufffer Fullness
[fieldMode] Field Encoding Mode (0=Frame, 1=Field)
[level]) Codec Level value
[inFile]) InputClip
[enablePtd]) if set picture type decision will be taken by EncodeAPI
[reconfigFile] Reconfiguration will occur after the frameNum mentioned in reconfig file with specified parameter in reconfig file
|
相关推荐
./bin/mysqld: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./bin/mysqld) ``` 这表明当前系统中的 `libstdc++.so.6` 和 `libc.so.6` 的版本不足以支持 MySQL 5.7.14 的运行需求。 #### 二、...
解决 version `GLIBC_2.14' not found 解决方法.具体方法可以参考一下。。
初始化mysql报错: ./bin/mysqld: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15..../bin/mysqld: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./bin/mysqld) libstdc++6_4.7.2-5_amd64.7z
在【标题】中提到的“glibc 升级到 2.29版本 解决报错libm.so.6: version `GLIBC_2.29' not found”,这是指在运行某个程序时,系统找不到符合GLIBC_2.29版本要求的动态链接库libm.so.6。这通常是因为系统的glibc...
glibc-2.14的发布主要是为了修复一个关键问题:“libc.so.6: version 'GLIBC_2.14' not found”。这个问题表明,系统中没有找到GLIBC 2.14版本的动态链接库,导致某些依赖该版本接口的程序无法正常运行。 GLIBC版本...
/lib64/libc.so.6: version `GLIBC_2.14' not found
aapt: /lib64/libc.so.6: version `GLIBC_2.14’ not found (required by aapt) ``` 或 ``` aapt: /lib64/libc.so.6: version `GLIBC_2.18’ not found (required by aapt) ``` 解决这类问题的方法也是升级glibc...
/lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./chromedriver) ./chromedriver: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by ./chromedriver) ./chromedriver: /usr/lib64/...
安装完后执行 mysqlbinlog --help,若报错:mysqlbinlog: /lib64/libc.so.6: version `GLIBC_2.14' not found,需要安装新版本的 libc.so.6。 Flashback 工具使用注意点: 1. 使用 mysqlbinlog 工具需要设置 ...