ubuntu Compile libxml2-2.9.1
./configure & make & make install
Error Messages:
lto1: fatal error: bytecode stream in file ‘/home/…/anaconda3/envs/rasa/lib/python3.6/config-3.6m-x86_64-linux-gnu/libpython3.6m.a’ generated with LTO version 6.2 instead of the expected 8.1 compilation terminated. lto-wrapper: fatal error: gcc returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status make[4]: *** [Makefile:519: libxml2mod.la] Error 1 make[4]: Leaving directory ‘/home/…/libxml2-2.9.1/python’ make[3]: *** [Makefile:607: all-recursive] Error 1 make[3]: Leaving directory ‘/home/…/libxml2-2.9.1/python’ make[2]: *** [Makefile:450: all] Error 2 make[2]: Leaving directory ‘/home/…/libxml2-2.9.1/python’ make[1]: *** [Makefile:1304: all-recursive] Error 1 make[1]: Leaving directory ‘/home/…/libxml2-2.9.1’ make: *** [Makefile:777: all] Error 2
Solution:
conda install -c anaconda gcc_linux-64
Read More:
- Python PIP TypeError: expected str, bytes or os.PathLike object, not int
- An error is reported in the requirements code of the generated project
- ValueError: Found array with dim 4. Estimator expected and ValueError: Expected 2D array, got 1D array i
- Pytorch ValueError: Expected more than 1 value per channel when training, got input size [1, 768
- [Solved] Pdfplumber Read PDF Sheet Error: AttributeError: function/symbol ‘ARC4_stream_init‘ not found in library
- [Solved] RuntimeError: unexpected EOF, expected 73963 more bytes. The file might be corrupted.
- [Solved] ansible Command Error: Error -5 while decompressing data: incomplete or truncated stream
- How to Solve Spyder Version incompatible error
- [Solved] Pytorch c++ Error: Error checking compiler version for cl: [WinError 2] System cannot find the specified file.
- [leetcode] 295. Find Median from Data Stream Python
- [Solved] AttributeError: module ‘distutils‘ has no attribute ‘version‘
- [Solved] bushi RuntimeError: version_ <= kMaxSupportedFileFormatVersion INTERNAL ASSERT FAILED at /pytorch/caffe2/s
- Raspberry pie compilation and installation opencv error: fatal error: bootdesc_bgm.i: No such file or directory
- [How to Solve] Reason: Incompatible library version
- [Solved] Jupyter Notebook Start Error: Fatal error in launcher: Unable to create process using
- [Solved] Python Error: IndentationError: expected an indented block
- Linux Fatal Python error: Py_Initialize Unable to get the locale encoding
- [Solved] Error: [email protected]: wrong number of arguments (given 1, expected 0)
- Typeerror in Python regular expression: expected string or bytes like object