LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2008, 01:52 PM   #1
LinuxTexan
LQ Newbie
 
Registered: Oct 2008
Posts: 21

Rep: Reputation: 15
version GLIBC_2.3.4 not found. How do I install on embedded sys w/o gcc?


I'm working on an embedded system that has only 128MB on a flash disk. It doesn't have a CD. I can boot it from either the flash disk or a USB memory stick. It came preloaded with Linux. I have successfully updated the kernel to agree with the one on my development system computer.

My application I wrote runs correctly on the development computer. Now I'm trying to move it to the target embedded system.

Running produces errors of "libc.so.6: version 'GLIBC_2.3.4' not found (required by /lib/libX11.so.6)" and the same for libcXau.so.6 and libcXext.co.6

Both systems are running kernel 2.6.22.15. The development system is PCLinuxOS 2007. The embedded computer has a minimal system originally based on Slackware 9.1 but the vendor modified it and can't provide the changes. My USB stick has PCLinuxOS MiniMe 2008 on it but I only use it to reboot when 'kernel panic' occurs because I broke something 8=)

I have the GLIBC in an rpm file but...
rpm and gcc are not loaded onto the embedded system and there isn't space for them. I have attempted to install rpm but it fails to allow me to install GLIBC package because it fails to find the Packages database. There aren't any packages loaded on the embedded computer.

My questions are: how can I determine what file(s) need to be updated and is there a way to install the glibc files? I thought about installing them from the USB drive to the flash disk except I don't know how to get rpm (or some other tool) to install them on a different drive.

Any help would be appreciated. I'll keep trying to figure it out in the mean time.
 
Old 10-17-2008, 06:24 PM   #2
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 675

Rep: Reputation: 136Reputation: 136
If rpm doesn't work in your environment you can use rpm2cpio to convert rpm to cpio and then just extract cpio's content on your embedded system.
But usually messing with glibc is a bad idea - you can end up with totally unusable system and will have to re-install it.

Another possible approach: on the development system where your application is working pack your application using either Ermine (http://magicErmine.com) or statifier (http://statifier.sf.net).
Both of them create from executable and all needed shared libraries self-contained executable. This executable can be copied virtually to any Linux system (with same processor and run. No need to install any additional shared libraries.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/lib/libc.so.6: version 'GLIBC_2.4' not found blviper Linux - Software 2 05-22-2010 11:29 AM
version GLIBC_2.3 not found when starting Apache proco Linux - Software 3 09-23-2006 07:08 AM
ntop: /lib/libc.so.6: version `GLIBC_2.4' not found jayakrishnan Linux - Software 4 02-07-2006 05:43 AM
/lib/libpthread.so.): version 'GLIBC_2.3.2' not found solutionseeker Linux - Newbie 21 01-29-2005 10:02 PM
version 'GLIBC_2.3' not found BadGuy Linux - Software 2 02-24-2003 08:50 AM


All times are GMT -5. The time now is 11:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration