[Paraview] undefined symbol: PyUnicodeUCS2_AsEncodedString

Shawn Waldon shawn.waldon at kitware.com
Fri Feb 2 10:57:45 EST 2018


Hi Fabian,

It looks to me like you built against a Python that was configured with
UCS2 unicode objects and are linking to a Python that was configured with
UCS4 unicode objects.  Python is not ABI-compatible with other Pythons that
were built with a different kind of unicode support.

Shawn

On Fri, Feb 2, 2018 at 10:55 AM, Fabian Wein <fabian.wein at fau.de> wrote:

> It get's (for me) strange:
>
> nm /home/fwein/code/cfs_paraview/build_python/build/install/lib
> 64/python2.7/lib-dynload/_struct.so | grep PyUni
>                  U PyUnicodeUCS2_AsEncodedString
>
> nm -D /usr/lib64/python2.7/lib-dynload/_struct.so | grep PyUnico
>                  U PyUnicodeUCS4_AsEncodedString
>
> This is as I would expect it. So, I don't understand the error message:
>
> ImportError: /home/fwein/code/cfs_paraview/build_python/build/install/lib
> 64/python2.7/lib-dynload/_struct.so: undefined symbol:
> PyUnicodeUCS2_AsEncodedString
>
> Is the error message wrong with the filename?
>
> Mabye the path are set wrong?!
>
>
> Fabian
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://paraview.org/pipermail/paraview/attachments/20180202/0be2cc31/attachment.html>


More information about the ParaView mailing list