Parrot-Developers/olympe

I'm having issues with "Not a shared object file" during the build

Opened this issue · 0 comments

Traceback (most recent call last):
File "/home/zhang26/code/parrot-groundsdk/build/alchemy/scripts/patchrunpath.py", line 537, in
sys.exit(main(sys.argv[1:]))
File "/home/zhang26/code/parrot-groundsdk/build/alchemy/scripts/patchrunpath.py", line 519, in main
patcher = RunpathPatcher(
File "/home/zhang26/code/parrot-groundsdk/build/alchemy/scripts/patchrunpath.py", line 123, in init
self._load_elf(src_path)
File "/home/zhang26/code/parrot-groundsdk/build/alchemy/scripts/patchrunpath.py", line 151, in _load_elf
self._sanity_check()
File "/home/zhang26/code/parrot-groundsdk/build/alchemy/scripts/patchrunpath.py", line 157, in _sanity_check
raise ValueError("Not a shared object file")
ValueError: Not a shared object file
/home/zhang26/code/parrot-groundsdk/build/alchemy/classes/BUNDLE/rules.mk:93: recipe for target 'olympe-deps-bundle-system-deps' failed
make: *** [olympe-deps-bundle-system-deps] Error 1
/home/zhang26/code/parrot-groundsdk/build/alchemy/main.mk:311: recipe for target '/home/zhang26/code/parrot-groundsdk/out/olympe-linux/build/olympe-deps/olympe_deps.py' failed

MAKE ERROR DETECTED
[E] Command failed (returncode=254)

The "src_path" causing this problem is ~/code/parrot-groundsdk/out/olympe-linux/staging/usr/lib/python/site-packages/olympe_deps/protoc.The system I use is ubuntu16.04, and there is a dependency "libgdbm_compat_dev" that has not been installed successfully. Is this the reason that caused this problem?