小编Lau*_*ren的帖子

ec2服务器postgres错误"找不到版本`GLIBC_2.14'"

尝试\i create_db.sqlpsql时会抛出错误:

psql:create_db.sql:123: ERROR:  could not load library 
"/usr/lib64/pgsql/plpgsql.so": /lib64/libc.so.6: version 
`GLIBC_2.14' not found (required by /usr/lib64/pgsql/plpgsql.so)
Run Code Online (Sandbox Code Playgroud)

create_db.sql的第123行是文件的最后一行,位于函数定义的末尾:

$$ language plpgsql;
Run Code Online (Sandbox Code Playgroud)

东西的版本:

$ psql --version
psql (PostgreSQL) 9.2.7

$ /lib64/libc.so.6 --version
GNU C Library (GNU libc) stable release version 2.17, by Roland McGrath et al.
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by …
Run Code Online (Sandbox Code Playgroud)

postgresql glibc libc amazon-ec2 psql

12
推荐指数
1
解决办法
1518
查看次数

标签 统计

amazon-ec2 ×1

glibc ×1

libc ×1

postgresql ×1

psql ×1