[<<][nixos][>>][..]
Sun Oct 27 09:57:13 EDT 2019

jack build error

ImportError: /home/tom/exo/br/target/i586/host/lib/python2.7/lib-dynload/operator.so: undefined symbol: _PyUnicodeUCS2_AsDefaultEncodedString

Can this be bypassed?

This has the same error:

https://github.com/NixOS/nixpkgs/issues/9186

Why is it trying to run host python?
Maybe remove python from the nix file?

So it seems the buildroot pythong doesn't pick up the correct libs.


exo-env-chrootenv:tom@phoo:~/exo/br$ ldd target/i586/host/bin/python2.7
        linux-vdso.so.1 (0x00007ffc288fb000)
        libpython2.7.so.1.0 => /lib/libpython2.7.so.1.0 (0x00007f2fcdd35000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f2fcdd14000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f2fcdd0f000)
        libutil.so.1 => /lib/libutil.so.1 (0x00007f2fcdd0a000)
        libm.so.6 => /lib/libm.so.6 (0x00007f2fcdb74000)
        libc.so.6 => /lib/libc.so.6 (0x00007f2fcd9be000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f2fcd7a6000)
        /nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/ld-linux-x86-64.so.2 => /nix/store/xvj2l5llpmcgx99cl37v5xqpazs38195-glibc-multi-2.27/lib/ld-linux-x86-64.so.2 (0x00007f2fcdf5c000)




exo-env-chrootenv:tom@phoo:~/exo/br$ LD_LIBRARY_PATH=$(readlink -f ./target/i586/host/lib) ldd target/i586/host/bin/python2.7
        linux-vdso.so.1 (0x00007ffd621c8000)
        libpython2.7.so.1.0 => /home/tom/exo/br/target/i586/host/lib/libpython2.7.so.1.0 (0x00007f7546a52000)
        libpthread.so.0 => /nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/libpthread.so.0 (0x00007f7546a31000)
        libdl.so.2 => /nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/libdl.so.2 (0x00007f7546a2c000)
        libutil.so.1 => /nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/libutil.so.1 (0x00007f7546a27000)
        libm.so.6 => /nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/libm.so.6 (0x00007f7546891000)
        libc.so.6 => /nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/libc.so.6 (0x00007f75466db000)
        /nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/ld-linux-x86-64.so.2 => /nix/store/xvj2l5llpmcgx99cl37v5xqpazs38195-glibc-multi-2.27/lib/ld-linux-x86-64.so.2 (0x00007f7546c74000)


Ok by setting those paths it seems fine except the post build scripts
which can be fixed later.



[Reply][About]
[<<][nixos][>>][..]