Closing
]]>btw. I'm on Arch x86_64, using python3.7 in anaconda environment.
The detail of this problem could be found at:
https://github.com/mrjbq7/ta-lib/issues/260
Why do you want to use the third-party binaries if the official Arch version already fixed this issue long time ago?
Actually not, I meet the same bug when compiling the python wrapper of ta-lib on binutils 2.32-2, but binutils 2.30 works fine. May be we should reopen the closed bug report?
]]>sudo pacman -U http://archlinux.arkena.net/archive/packages/e/elfutils/elfutils-0.174-1-x86_64.pkg.tar.xz http://archlinux.arkena.net/archive/packages/l/libelf/libelf-0.174-1-x86_64.pkg.tar.xz
sudo pacman -U http://archlinux.arkena.net/archive/packages/b/binutils/binutils-2.30-5-x86_64.pkg.tar.xz
pip install ujson
The problem solved by downgrading binutils.
]]>sudo pacman -U https://archive.archlinux.org/packages/e/elfutils/elfutils-0.174-1-x86_64.pkg.tar.xz https://archive.archlinux.org/packages/l/libelf/libelf-0.174-1-x86_64.pkg.tar.xz
sudo pacman -U https://archive.archlinux.org/packages/b/binutils/binutils-2.30-5-x86_64.pkg.tar.xz
Also helped me solve this issue
]]>I encounter this problem during installation of python package
What command were you using to install the python package and what output did it produce?
]]>sudo pacman -U https://archive.archlinux.org/packages/e/elfutils/elfutils-0.174-1-x86_64.pkg.tar.xz /var/cache/pacman/pkg/libelf-0.174-1-x86_64.pkg.tar.xz
sudo pacman -U https://archive.archlinux.org/packages/b/binutils/binutils-2.30-5-x86_64.pkg.tar.xz
Thanks too much for osandov's reply, I have solved the problem by installing binutils-2.30
https://bugs.archlinux.org/task/61151 bug is fixed so you don't need to downgrade binutils anymore.
]]>