
mesa
私はシステムに apt を使用してインストールしました。この mesa/usr/lib/arm-linux-gnueabihf
はディレクトリにインストールされています。現在、最新バージョンの mesa をソースから手動でコンパイルしてインストールし、にインストールしました/usr/local/lib/arm-linux-gnueabihf
。しかし、私のシステムではパッケージ マネージャーによってインストールされた mesa がまだ使用されています。
ソースからコンパイルされた新しいバージョンの mesa をシステムで使用するように強制するにはどうすればよいですか?
答え1
ld.so.conf(.d) と LD_LIBRARY_PATH 変数を試してみてください。このトピックの詳細については、ld.so(8) のマニュアル ページを参照してください。
If a shared object dependency does not contain a slash,
then it is searched for in the following order:
(...)
Using the environment variable LD_LIBRARY_PATH
(unless the executable is being run in secure-execution
mode; see below). in which case it is ignored.
(...)