Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Problems with uClicbc and libc.so.6
Date: Thu, 9 Oct 2014 13:54:27 +0200	[thread overview]
Message-ID: <20141009135427.63f010b0@free-electrons.com> (raw)
In-Reply-To: <CA+TH9VnNeLUgYs5yahr3FNz6+bcz8A_KR_6390kcWUXv7LVxOA@mail.gmail.com>

Dear Angelo Compagnucci,

On Thu, 9 Oct 2014 12:35:38 +0200, Angelo Compagnucci wrote:

> I'm having hard times with some software packages I'm adding to
> buildroot. When choosing uClibc, libc.so.6 is missing, so a lot of
> software doesn't work.

If something depends on libc.so.6, it means it was built against glibc,
and cannot work against uClibc. So either it's something built from
source, and you should rebuilt it with the uClibc toolchain. Or it's
something available as a pre-built binary for which you don't have the
source, in which case you have no other choice than using glibc.

> Right now I'm mostly working on my mono package, it works well with
> glibc, but when compiled with uClibc, this is the error:
> 
> Unhandled Exception:
> System.Net.WebException: An error occurred performing a WebClient
> request. ---> System.DllNotFoundException: libc.so.6
> 
> Clearly, making a soft link between libc.so.0 and libc.so.6 makes
> things working again. I'm on the master git branch.

I am a bit surprised that it works. It is in any case completely wrong,
and there is absolutely no guarantee that uClibc and glibc are ABI
compatible.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2014-10-09 11:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-09 10:35 [Buildroot] Problems with uClicbc and libc.so.6 Angelo Compagnucci
2014-10-09 11:54 ` Thomas Petazzoni [this message]
2014-10-09 12:58   ` Angelo Compagnucci
2014-10-09 13:07     ` Thomas Petazzoni
2014-10-09 15:58       ` Angelo Compagnucci
2014-10-09 16:02         ` Thomas Petazzoni
2014-10-09 16:40           ` Angelo Compagnucci
2014-10-09 20:20             ` Thomas Petazzoni
2014-10-10  7:46               ` Angelo Compagnucci
2014-10-10 10:34                 ` Thomas Petazzoni
2014-10-10 10:45                   ` Angelo Compagnucci
2014-10-10 11:06                     ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141009135427.63f010b0@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox