ltib installation

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

ltib installation

1,055 Views
Vishnu
Contributor I

hi i have downloaded "ltib-mpc8610hpcd-20090213" file and i am trying to install this 

initally i have got error as  like this

 

 

-----------------------------------------------------------------------------------------------------

ltib cannot be run because one or more of the host packages needed
to run it are either missing or out of date.

Please install/upgrade these packages and then re-try.

Package                Minimum ver   Installed info
-------                -----------   ---------------
rpm-build              0             not installed
Died at ./ltib line 1242.

Started: Sat Sep  3 04:11:03 2011
Ended:   Sat Sep  3 04:11:06 2011
Elapsed: 3 seconds

Build Failed

------------------------------------------------------------------------------------------------------

 

then i modified ltib file in line 92  i have disabled  #           rpm-build       0

after that i have got another other i am here including log file. here  and the error is

 

====================================================================================================================================
Processing: fake-provides
===========================
rpmbuild --dbpath /opt/freescale/ltib/var/lib/rpm --target i686 --define '_unpackaged_files_terminate_build 0' --define '_target_cpu i686' --define '__strip strip' --define '_topdir /opt/freescale/ltib/usr/src/rpm' --define '_prefix /opt/freescale/ltib/usr' --define '_tmppath /data/vishnu/development/freescale/installed_path/ltib-mpc8610hpcd-20090213/tmp' --define '_mandir /opt/freescale/ltib/usr/share/man' --define '_sysconfdir /opt/freescale/ltib/etc' --define '_localstatedir /var' -bb --clean --rmsource  /data/vishnu/development/freescale/installed_path/ltib-mpc8610hpcd-20090213/dist/lfs-5.1/fake-provides/fake-provides.spec
rpmbuild: error while loading shared libraries: librpmio-4.0.4.so: cannot enable executable stack as shared object requires: Permission denied
Build time for fake-provides: 0 seconds

Failed building fake-provides
Died at ./ltib line 1226.

Started: Sat Sep  3 04:12:06 2011
Ended:   Sat Sep  3 04:12:07 2011
Elapsed: 1 seconds

These packages failed to build:
fake-provides
Build Failed
====================================================================================================================================

i am unable to solve this problem how to fix this?

0 Kudos
1 Reply

322 Views
Manavendra
Contributor I

You need to enable executable stack in librpmio-4.0.4.so by using 'execstack' command to resolve this.

 

Mark binary or shared library as requiring executable stack.

bash# execstack -s /opt/freescale/ltib/usr/lib/librpmio-4.0.4.so

 

Mark binary or shared library as not requiring executable stack.

bash# execstack -c /opt/freescale/ltib/usr/lib/librpmio-4.0.4.so

 

Query  executable  stack  marking  of  binaries  and shared libraries.

bash# execstack -q /opt/freescale/ltib/usr/lib/librpmio-4.0.4.so

 

For the same problem, I gave '-c' option to execstack on Fedora14 and it worked for me.

 

--

Manavendra Nath Manav

Honeywell, Bangalore

0 Kudos