Linuxシンボル検索エラー未定義シンボルを解決する方法

Linuxシンボル検索エラー未定義シンボルを解決する方法

未定義のシンボルルックアップエラーに関連する同様の質問がウェブ上に多数ありますが、エラーの処理方法についての説明はありません。

私はRHEL7を使用しており、mysql-workbench-community-6.3.10-1.el7.x86_64.rpmコマンドを使用してパッケージからMySQL-workbenchをインストールしようとしていますrpm

いくつかの依存関係の問題があり、1つずつ解決しようとしています。何度もパッケージpython-cryptoに問題が発生し、python2-crypto python-paramiko何とか依存関係を解決しました。何度もPython関連のパッケージを削除する必要がありました。

最後に、ワークベンチがインストールされましたが、次のシンボル検索エラーが発生します。

Found /lib64/libproj.so.0

/usr/libexec/mysql-workbench/mysql-workbench-bin: symbol lookup error: /usr/lib64/mysql-workbench/liblinux_utilities.so.6.3.10: undefined symbol: g_application_add_main_option_entries

いくつかのフォーラムを検索しましたが、いくつかの議論は私が理解できないものでした。私はコマンドを使用してこれに関する情報を見つけようとしましたが、nmこれは専門家がこの問題を理解するのに役立つと思います。


nm: /usr/lib64/mysql-workbench/liblinux_utilities.so.6.3.10: no symbols

[root@MYSQLTEST sqladmin]# nm -A /usr/libexec/mysql-workbench/mysql-workbench-bin | grep g_application_add_main_option_entries

nm: /usr/libexec/mysql-workbench/mysql-workbench-bin: no symbols

[root@MYSQLTEST sqladmin]# nm -u /usr/libexec/mysql-workbench/mysql-workbench-bin | grep g_application_add_main_option_entries

nm: /usr/libexec/mysql-workbench/mysql-workbench-bin: no symbols

[root@MYSQLTEST sqladmin]# nm -n /usr/libexec/mysql-workbench/mysql-workbench-bin | grep g_application_add_main_option_entries

nm: /usr/libexec/mysql-workbench/mysql-workbench-bin: no symbols

root@MYSQLTEST sqladmin]# file /usr/libexec/mysql-workbench/mysql-workbench-bin

/usr/libexec/mysql-workbench/mysql-workbench-bin: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0xae7dc55c9352d44d2fe6ef881c4d019211d4c69d, stripped```

Please help me out with how should I go about resolving it. Please if possible provide steps to resolve it. I will be glad to provide if any more info is required.

Thank you.

ベストアンサー1

おすすめ記事