pip3 throws undefined symbol: XML_SetHashSalt
libexpat.so.1
pointing to wrong location. Fixed it with
export LD_LIBRARY_PATH=/lib64/:${LD_LIBRARY_PATH}
ldd /usr/lib64/python3.6/lib-dynload/pyexpat.cpython-36m-x86_64-linux-gnu.so
linux-vdso.so.1 => (0x00007fff073f1000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f9ba53ce000)
libpython3.6m.so.1.0 => /lib64/libpython3.6m.so.1.0 (0x00007f9ba4ea9000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9ba4c8d000)
libc.so.6 => /lib64/libc.so.6 (0x00007f9ba48bf000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f9ba46bb000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007f9ba44b8000)
libm.so.6 => /lib64/libm.so.6 (0x00007f9ba41b6000)
/lib64/ld-linux-x86-64.so.2 (0x00007f9ba5807000)
Matlab-Python compiler SDK fails with undefined symbol: XML_SetHashSalt
I'm having the same issue. Solved:
cd /full_path_to_matlab_mcrroot/v94/bin/glnxa64
mv libexpat.so.1 libexpat.so.1.NOFIND
Thanks to https://bbs.archlinux.org/viewtopic.php?pid=1112017#p1112017
- Explanation:
/full_path_to_matlab_mcrroot/v94/bin/glnxa64/libexpat.so.1
pointed to libexpat.so.1.5.0
but
/lib/x86_64-linux-gnu/libexpat.so.1
pointed to libexpat.so.1.6.0
Related Topics
Python Threading with Queue: How to Avoid to Use Join
Tutorial or Guide for Scripting Xcode Build Phases
Writing a Pandas Dataframe to CSV File
How to Convert an Xml File to Nice Pandas Dataframe
What Should I Do with "Unexpected Indent" in Python
Beautifulsoup Grab Visible Webpage Text
How to Parse a Yaml File in Python
Common Elements Comparison Between 2 Lists
How to Get Multiline Input from the User
How to Rotate an Image Around an Off Center Pivot in Pygame
Check If One Package Is Installed in My System with Python
Can't Start Foreman in Heroku Tutorial Using Python
How to Print the Full Numpy Array, Without Truncation
Removing Elements That Have Consecutive Duplicates
Fast Punctuation Removal with Pandas