P2040: Issue with libtinfo.so.5

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

P2040: Issue with libtinfo.so.5

545 Views
gouravjain
Contributor IV

Hi all,

In my card, based on P2041rdb,  i'm using software "Linux-3.8.13-rt9-QorIQ-SDK-V1.4". 

Facing below error after some time around 2-3 mins, while running application which is using IPC concepts, like shared memory and semaphore.

sh: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: Error 24 

Can anyone pls let me know what is the exact meaning by above error. And how to get this package ??

thanks,

Gourav

0 Kudos
1 Reply

470 Views
Pavel
NXP Employee
NXP Employee

We have tested SDK v1.4 using Ubuntu 12 32bit.

The following command sequence was used:

 

  1. sudo apt-get install ubuntu-minimal ubuntu-standard patch vim-common sed wget subversion git-core coreutils libbonobo2-common unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk python-pysqlite2 diffstat make gcc build-essential xz-utils g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake groff libtool xterm libncurses5-dev cvs tofrodos

 

  1. a) command: ls -l /bin/sh

                Message:  /bin/sh -> dash

  1. b) command: sudo dpkg-reconfigure dash

                Answer after password – No

                Message:

                Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'

                Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'

                Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'

                Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'

  1. c) command for checking: ls -l /bin/sh

                Message: /bin/sh -> bash

 

  1. mount SDK 1.4 .iso file
  2. cd <sdk-install-dir>.
  3. ./scripts/host-prepare.sh

Usually Linux recommends also run the following command: sudo usr/sbin/visudo

  1. bitbake fsl-image-minimal


Have a great day,
Pavel Chubakov

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos