error: /lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-...

本文记录了使用yum在Linux环境下安装libnotify及其相关依赖的过程。安装过程中遇到并解决了多个重复配置的问题,并处理了一些非致命的POSTIN脚本错误。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

]$ sudo yum install libnotify*
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* epel: ftp.cuhk.edu.hk
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
Package libnotify-0.5.0-1.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package libnotify-devel.x86_64 0:0.5.0-1.el6 will be installed
--> Processing Dependency: pkgconfig(gtk+-2.0) >= 2.18 for package: libnotify-devel-0.5.0-1.el6.x86_64
--> Processing Dependency: gtk2-devel >= 2.13.2 for package: libnotify-devel-0.5.0-1.el6.x86_64
--> Running transaction check
---> Package gtk2-devel.x86_64 0:2.24.23-8.el6 will be installed
--> Processing Dependency: gtk2 = 2.24.23-8.el6 for package: gtk2-devel-2.24.23-8.el6.x86_64
--> Running transaction check
---> Package gtk2.i686 0:2.24.23-6.el6 will be updated
--> Processing Dependency: gtk2 = 2.24.23-6.el6 for package: gtk2-immodule-xim-2.24.23-6.el6.x86_64
---> Package gtk2.x86_64 0:2.24.23-6.el6 will be updated
---> Package gtk2.i686 0:2.24.23-8.el6 will be an update
---> Package gtk2.x86_64 0:2.24.23-8.el6 will be an update
--> Running transaction check
---> Package gtk2-immodule-xim.x86_64 0:2.24.23-6.el6 will be updated
---> Package gtk2-immodule-xim.x86_64 0:2.24.23-8.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================================================================================================
Package Arch Version Repository Size
===================================================================================================================================================================================================================
Installing:
libnotify-devel x86_64 0.5.0-1.el6 base 24 k
Installing for dependencies:
gtk2-devel x86_64 2.24.23-8.el6 base 2.6 M
Updating for dependencies:
gtk2 i686 2.24.23-8.el6 base 3.2 M
gtk2 x86_64 2.24.23-8.el6 base 3.2 M
gtk2-immodule-xim x86_64 2.24.23-8.el6 base 64 k

Transaction Summary
===================================================================================================================================================================================================================
Install 2 Package(s)
Upgrade 3 Package(s)

Total download size: 9.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): gtk2-2.24.23-8.el6.i686.rpm | 3.2 MB 00:02
(2/5): gtk2-2.24.23-8.el6.x86_64.rpm | 3.2 MB 00:03
(3/5): gtk2-devel-2.24.23-8.el6.x86_64.rpm | 2.6 MB 00:02
(4/5): gtk2-immodule-xim-2.24.23-8.el6.x86_64.rpm | 64 kB 00:00
(5/5): libnotify-devel-0.5.0-1.el6.x86_64.rpm | 24 kB 00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.1 MB/s | 9.0 MB 00:08
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : gtk2-2.24.23-8.el6.x86_64 1/8
Non-fatal POSTIN scriptlet failure in rpm package gtk2-2.24.23-8.el6.x86_64
gtk-query-immodules-2.0-64: relocation error: /lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
warning: %post(gtk2-2.24.23-8.el6.x86_64) scriptlet failed, exit status 127
Installing : gtk2-devel-2.24.23-8.el6.x86_64 2/8
Installing : libnotify-devel-0.5.0-1.el6.x86_64 3/8
Updating : gtk2-immodule-xim-2.24.23-8.el6.x86_64 4/8
Non-fatal POSTIN scriptlet failure in rpm package gtk2-immodule-xim-2.24.23-8.el6.x86_64
/bin/sh: relocation error: /lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
warning: %post(gtk2-immodule-xim-2.24.23-8.el6.x86_64) scriptlet failed, exit status 127
Updating : gtk2-2.24.23-8.el6.i686 5/8
Non-fatal POSTIN scriptlet failure in rpm package gtk2-2.24.23-8.el6.i686
/bin/sh: relocation error: /lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
warning: %post(gtk2-2.24.23-8.el6.i686) scriptlet failed, exit status 127
Cleanup : gtk2-immodule-xim-2.24.23-6.el6.x86_64 6/8
Non-fatal POSTUN scriptlet failure in rpm package gtk2-immodule-xim
/bin/sh: relocation error: /lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
warning: %postun(gtk2-immodule-xim-2.24.23-6.el6.x86_64) scriptlet failed, exit status 127
Cleanup : gtk2-2.24.23-6.el6 7/8
Non-fatal POSTUN scriptlet failure in rpm package gtk2
/bin/sh: relocation error: /lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
warning: %postun(gtk2-2.24.23-6.el6.i686) scriptlet failed, exit status 127
Cleanup : gtk2-2.24.23-6.el6 8/8
Non-fatal POSTUN scriptlet failure in rpm package gtk2
/bin/sh: relocation error: /lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
warning: %postun(gtk2-2.24.23-6.el6.x86_64) scriptlet failed, exit status 127
Unable to send message to PackageKit
Verifying : gtk2-immodule-xim-2.24.23-8.el6.x86_64 1/8
Verifying : gtk2-2.24.23-8.el6.i686 2/8
Verifying : gtk2-2.24.23-8.el6.x86_64 3/8
Verifying : libnotify-devel-0.5.0-1.el6.x86_64 4/8
Verifying : gtk2-devel-2.24.23-8.el6.x86_64 5/8
Verifying : gtk2-2.24.23-6.el6.i686 6/8
Verifying : gtk2-2.24.23-6.el6.x86_64 7/8
Verifying : gtk2-immodule-xim-2.24.23-6.el6.x86_64 8/8

Installed:
libnotify-devel.x86_64 0:0.5.0-1.el6

Dependency Installed:
gtk2-devel.x86_64 0:2.24.23-8.el6

Dependency Updated:
gtk2.i686 0:2.24.23-8.el6 gtk2.x86_64 0:2.24.23-8.el6 gtk2-immodule-xim.x86_64 0:2.24.23-8.el6

Complete!
[op@TIM cmd_markdown_linux64]$ ./Cmd\ Markdown
./Cmd Markdown: error while loading shared libraries: libnotify.so.4: cannot open shared object file: No such file or directory
[op@TIM cmd_markdown_linux64]$ whereis libnotify
whereis: relocation error: /lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
[op@TIM cmd_markdown_linux64]$ ls
ls: relocation error: /lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
[op@TIM cmd_markdown_linux64]$ cls
bash: cls: command not found
[op@TIM cmd_markdown_linux64]$ ls
ls: relocation error: /lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
[op@TIM cmd_markdown_linux64]$ dir
dir: relocation error: /lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
[op@TIM cmd_markdown_linux64]$ ll -tlr /lib64/
ls: relocation error: /lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
[op@TIM cmd_markdown_linux64]$

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值