/usr/bin/perl: symbol lookup error: /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/Tk/Tk.so: undefined symbol: SvIV_nomg
OS: CentOS 4.8 (install everything)
Tk: install via "cpan -i Tk"
Try 1: 強制重新安裝,無效。
cpan -f -i Tk
http://stackoverflow.com/questions/5406322/how-to-rebuild-reinstall-dependencies-of-an-up-to-date-cpan-module
Try 2: 安裝舊版 Tk module,OK.
1. download 舊版 Tk module.
2. install Tk module
tar zxvf Tk-804.030.tar.gz
cd Tk-804.030/
perl Makefile.PL
make install
2021/6/24 update:
查詢 Tk version 指令:perldoc -m Tk | grep VERSION
Reference:
沒有留言:
張貼留言