FedoraForum.org - Fedora Support Forums and Community
Results 1 to 1 of 1
  1. #1
    Join Date
    Nov 2017
    Location
    Texas
    Posts
    1

    f26 DNF error undefined symbol: _Py_CoerceLegacyLocale

    running dnf I get: /usr/libexec/system-python: symbol lookup error: /usr/libexec/system-python: undefined symbol: _Py_CoerceLegacyLocale

    There was one other post about this error but no resolution.

    Update - fixed by removing/renaming libs that were not owned by a package, e.g.

    ~ ls /usr/local/lib | grep python
    libpython3.6m.a
    libpython3.6m.so.1.0
    libpython3.6m.so
    libpython3.so

    ~ rpm -qf /usr/local/lib/libpython3.6m.a
    file /usr/local/lib/libpython3.6m.a is not owned by any package

    ~ rpm -qf /usr/local/lib/libpython3.6m.so
    file /usr/local/lib/libpython3.6m.so is not owned by any package

    ~ rpm -qf /usr/local/lib/libpython3.6m.so.1.0
    file /usr/local/lib/libpython3.6m.so.1.0 is not owned by any package

    ~ rpm -qf /usr/local/lib/libpython3.so
    file /usr/local/lib/libpython3.so is not owned by any package

    ~ mv /usr/local/lib/libpython3.6m.a /usr/local/lib/libpython3.6m.a~
    ~ mv /usr/local/lib/libpython3.6m.so /usr/local/lib/libpython3.6m.so~
    ~ mv /usr/local/lib/libpython3.6m.so.1.0 /usr/local/lib/libpython3.6m.so.1.0~
    ~ mv /usr/local/lib/libpython3.so /usr/local/lib/libpython3.so~
    Last edited by jpoirier; 28th December 2017 at 10:30 AM.

Similar Threads

  1. Replies: 2
    Last Post: 9th September 2009, 05:05 PM
  2. undefined symbol: _ZN2Qt9lightGrayE
    By koelho in forum Using Fedora
    Replies: 0
    Last Post: 22nd August 2005, 03:20 PM
  3. Undefined symbol error with yum
    By Samson in forum Using Fedora
    Replies: 0
    Last Post: 23rd July 2005, 09:30 PM
  4. FC2->FC4 ::= GTK/Undefined Symbol
    By slick in forum Using Fedora
    Replies: 0
    Last Post: 16th June 2005, 07:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •