Skip to content

Commit

Permalink
Added hardcoded path for libswipl.so (#43)
Browse files Browse the repository at this point in the history
The path added was where the so file was found when installing from swi-prolog/stable apt repo on Ubuntu 18.04
  • Loading branch information
Abhinav2812 authored Jun 8, 2024
1 parent a91a899 commit 5961f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyswip/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def _findSwiplLin():
return (path, swiHome)

# Our last try: some hardcoded paths.
paths = ['/lib', '/usr/lib', '/usr/local/lib', '.', './lib']
paths = ['/lib', '/usr/lib', '/usr/local/lib', '.', './lib', '/usr/lib/swi-prolog/lib/x86_64-linux']
names = ['libswipl.so', 'libpl.so']

path = None
Expand Down

0 comments on commit 5961f87

Please sign in to comment.