× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.

I'm trying (unsuccessfully) to install pyodbc. I posted this issue to Rvyer last week. I have gotten responses but no fix, so I'm widening my search.

I have these RPMs installed:
libgcc-aix.fat 6.3.0-24 @ibm/$releasever
libgcc_s1.ppc64 6.3.0-24 @ibm/$releasever
libstdcplusplus-aix.fat 6.3.0-24 @ibm/$releasever
libstdcplusplus-devel.ppc64 6.3.0-24 @ibm
libstdcplusplus6.ppc64 6.3.0-24 @ibm/$releasever
python3-devel.ppc64 3.6.8-1 @ibm
unixODBC.ppc64 2.3.4-2 @ibm
unixODBC-devel.ppc64 2.3.4-2 @ibm

Here's the error from pip3 (within a virtual environment & system-wide give the same error):
ld: 0711-317 ERROR: Undefined symbol: __gxx_personality_v0
ld: 0711-317 ERROR: Undefined symbol: ._Unwind_Resume
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: error: ld returned 8 exit status
error: command '/QOpenSys/pkgs/lib/python3.6/config-3.6m/ld_so_aix' failed with exit status 1
ERROR: Command "/home/JUSTIN/src/Python3/env/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-ypokxhmq/pyodbc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-hd51z4_a/install-record.txt --single-version-externally-managed --compile --install-headers /home/JUSTIN/src/Python3/env/include/site/python3.6/pyodbc" failed with error code 1 in /tmp/pip-install-ypokxhmq/pyodbc/

The pyodbc team says those two undefined symbols are part of the C++ Standard Library, and would seem to indicate a problem with the build environment.

Any thoughts?

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2023 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.