precice / precice/python-bindings

Installing with pip requires call to ldconfig if preCICE is built from source

Offen
#136 9 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Cython
Sterne
30
Forks
19
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Der Bericht betrifft die Installationsanweisungen für den Build aus dem Quellcode, das Installationsskript und das .deb-Post-Installationsskript; beginne damit, diese Pfade mit der Installation der pip-Bindings zu vergleichen. Als erledigt gilt die Aufgabe, wenn ein Build aus dem Quellcode gefolgt von pip install ohne einen manuellen Aufruf von ldconfig funktioniert oder der erforderliche Schritt eindeutig dokumentiert ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
linux, python
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.