Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Missing libpython2.6 error message

I am using the SDK, ti-sdk-am335x-evm-05.04.01.00, with a NFS mounted file system.

When I try to connect to the target using CCS5.1.1.00033 with Ubuntu 12.04, the process hangs with a message waiting for GDB connect to complete.

When I try to invoke gdb from the command line, I get an error about a missing library, libpython2.6. 

$./arm-arago-linux-gnueabi-gdb

./arm-arago-linux-gnueabi-gdb: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory

13:36:23 $pwd 

/home/mityarm/ti-sdk-am335x-evm-05.04.01.00/linux-devkit/bin 

Any suggestions?

Bob

  • I resolved this error by finding and installing the older, missing library.

    See link, http://askubuntu.com/questions/125342/how-can-i-install-python-2-6-on-12-04, for details

      Install the PPA:

        sudo add-apt-repository ppa:fkrull/deadsnakes

    Run Update:

        sudo apt-get update

    Install your flavor:

        sudo apt-get install python2.6

    14:48:29 $sudo apt-get install libpython2.6

    Bob

  • Robert,

    Ubuntu 12.04 moved to python 2.7 and it not yet supported with our SDK.  That being said you can add the package feeds from Ubuntu 10.04 "lucid" and install libpython2.6 to resolve your issue.  I did this by:

    1. Opening the software center

    2. Selecting "edit" and adding a new "Software Source" under "Other Software".  The source I added was "deb http://archive.ubuntu.com/ubuntu lucid main"

    3. In a terminal I ran sudo apt-get update to pickup the latest package list.

    4. Back in software center (I restarted it) I searched for libpython and installed the 2.6 version.

    I was then able to run the arm-arago-linux-gnueabi-gdb application.

    Chase

  • Hi,

    I had the same error, and installed libpyton2.6 with the "software center", but then I get new error:

    ubuntu@ubuntu-VirtualBox:/usr/lib$ arm-arago-linux-gnueabi-gdb
    arm-arago-linux-gnueabi-gdb: error while loading shared libraries: libpython2.6.so.1.0: wrong ELF class: ELFCLASS64
    ubuntu@ubuntu-VirtualBox:/usr/lib$

    I'm using Ubuntu 14.04 64-bits. Is there anyway to resolve this or does it mean I must move to the old 10.4 32-bit in my 64-bit laptop  ?