[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: [Python-Dev] libxml2 installation/binding issue

Perhaps look over (or use) http://stromberg.dnsalias.org/~strombrg/cpythons/ ?

It defaults to building many versions of CPython, but can build just
one if you prefer.

It knows how to build GTK+ as well, for some newer versions of CPython.

---------- Forwarded message ----------
From: Priest, Matt <matt.priest at intel.com>
Date: Mon, Feb 5, 2018 at 2:41 PM
Subject: [Python-Dev] libxml2 installation/binding issue
To: "python-dev at python.org" <python-dev at python.org>


I am not sure if this is the correct place to post an issue/question
like this, but here goes?

I?ve successfully (?) installed Python 3.6.4 and libxml2, with the
ultimate goal of installing GTK+ 3.22.0.

However, I?m running into this error:


Python 3.6.4 (default, Feb  5 2018, 13:28:04)

[GCC 4.7.2] on linux

Type "help", "copyright", "credits" or "license" for more information.

>>> import libxml2

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "/nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/sfwr/lib/python3.6/site-packages/libxml2.py",
line 1, in <module>

    import libxml2mod

ImportError: /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/sfwr/lib/python3.6/site-packages/libxml2mod.so:
undefined symbol: _PyVerify_fd

Here are the details on the version, cflags, and ldflags.

python3 --version ;

Python 3.6.4

python3-config --cflags











python3-config ?ldflags;











Anyhelp or hint would be appreciated?


Python-Dev mailing list
Python-Dev at python.org
Unsubscribe: https://mail.python.org/mailman/options/python-dev/drsalists%40gmail.com