KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have built an app on Ubuntu 12.04 and have tried running it on an embedded system. I ran apt-cache show libc6 on my dev machine which shows (amongst other things) Package: libc6 Priority: required Section: libs Architecture: i386 Source: eglibc Version: 2.15-0ubuntu10 Replaces: belocs-locales-bin, libc6-i386 Provides: glibc-2.13-1, libc6-i686 The version of libc6 that exists on the embedded device is 2.8.90. In the \lib directory on the device I have 2 libs libc-2.8.90.so libc.so.6 When I copy my application onto the embedded device I get the following errors /usr/lib/libc.so.6: version `GLIBC_2.15` not found (required by ./ServerSocketApp) I know that if possible I when I build the application on my dev maching I need to force it to link to the same version of libc6 as exists on the embedded device. The problem I have is that I simply do not know how to do this. Any answers that I have found are meaningless to me right now. Is there some option that I need to pass to g++ to get this to link to version 2.8.90 ?? In desperation I am thinking is it possible to copy the libc on my dev machine onto the embedded device in place of what is there already and hope for the best??? I just cannot seem to find any documentation online that explains in simple terms how you even go about this so any advice at all would be really really welcome as I am tearing my hair out here.
Tags (comma-separated)
Save Edits
Cancel