Skip to content

Instantly share code, notes, and snippets.

@shunkino
Last active November 2, 2019 01:57
Show Gist options
  • Save shunkino/6c8241ccc725e9b2fd8c88e43797d0c0 to your computer and use it in GitHub Desktop.
Save shunkino/6c8241ccc725e9b2fd8c88e43797d0c0 to your computer and use it in GitHub Desktop.
Perl_Istack_sp_ptrが見つからないって言われる問題

Perlのモジュールが使えないって言われる問題

概要

Centos 7.3でdrbd-utilsのautogen.shを実行すると,Perl_Istack_sp_ptrが見つからないって言われる.

エラーメッセージ

/usr/bin/perl: symbol lookup error: /usr/local/lib64/perl5/auto/List/Util/Util.so: undefined symbol: Perl_Istack_sp_ptr

解決方法

参考リンクにあるとおりに行えばできる.

# mv /usr/local/lib64/perl5 /tmp
# yum list | grep perl | cut -d\  -f1 > installed-perl-modules.txt
# yum remove perl
# yum install $(cat installed-perl-modules.txt)
# yum install autoconf
# yum install automake

done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment