precice / precice/python-bindings
Installing with pip requires call to ldconfig if preCICE is built from source
まだ誰も着手していません。
- 主要言語
- Cython
- スター
- 30
- フォーク
- 19
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I built preCICE from source yesterday (on Linux Mint, with parameters suggested here) and installed it succesfully, but then, running pip install --user pyprecice generates an error libprecice.so.2 not found. Running sudo ldconfig before running pip is enough to fix it.
The issue doesn't appear if we install a .deb package for libprecice. I noticed that the post-installation script of the .deb does include a call to sudo ldconfig, which explains a lot.
Suggested fix : Either add a call to ldconfig in the installation instructions (on the website) or the the install script (probably hard, since ldconfig requires superuser, it would break install into a user-chosen path without superuser). Unless something is wrong on the binding side, but I doubt it.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この報告は、ソースからのビルドのインストール手順、インストールスクリプト、および .deb のポストインストールスクリプトに関するものです。まず、これらの経路を pip バインディングのインストールと比較してください。ソースからのビルド後に pip install を実行したとき、手動で ldconfig を呼び出さずに動作するか、必要な手順が明確に文書化されていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- linux, python
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100