* [Buildroot] Buildroot shared uclibc native compiler only links statically
@ 2012-03-04 8:03 PHilip RUshik
2012-03-04 11:00 ` Arnout Vandecappelle
0 siblings, 1 reply; 3+ messages in thread
From: PHilip RUshik @ 2012-03-04 8:03 UTC (permalink / raw)
To: buildroot
Hello,
If I build a buildroot system with uClibc as a shared library and with a
native compiler, the resulting native compiler works great most of the
time, but it always links with the static libc.a instead of the shared
library. Why does this happen, anybody know how to fix that?
Thanks
--PHil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120304/9ac1e6f0/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Buildroot shared uclibc native compiler only links statically
2012-03-04 8:03 [Buildroot] Buildroot shared uclibc native compiler only links statically PHilip RUshik
@ 2012-03-04 11:00 ` Arnout Vandecappelle
[not found] ` <CAGmOteMekR4JRMpYBrP2MVxScDwjkRaNU8KuXkXrDH-T3Cy8oA@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Arnout Vandecappelle @ 2012-03-04 11:00 UTC (permalink / raw)
To: buildroot
On Sunday 04 March 2012 09:03:58 PHilip RUshik wrote:
> Hello,
> If I build a buildroot system with uClibc as a shared library and with a
> native compiler, the resulting native compiler works great most of the
> time, but it always links with the static libc.a instead of the shared
> library. Why does this happen, anybody know how to fix that?
This has just been solved on the list (but no patch is committed yet).
Basically, the problem is that the symlink of /usr/lib/libc.so to
/lib/libc.so.0 isn't included in the target directory.
As a workaround, you can create that link manually:
ln -s /lib/libc.so.0 target/usr/lib/libc.so
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Buildroot shared uclibc native compiler only links statically
[not found] ` <CAGmOteMekR4JRMpYBrP2MVxScDwjkRaNU8KuXkXrDH-T3Cy8oA@mail.gmail.com>
@ 2012-03-04 11:14 ` PHilip RUshik
0 siblings, 0 replies; 3+ messages in thread
From: PHilip RUshik @ 2012-03-04 11:14 UTC (permalink / raw)
To: buildroot
On Sun, Mar 4, 2012 at 8:00 PM, Arnout Vandecappelle <arnout@mind.be> wrote:
> On Sunday 04 March 2012 09:03:58 PHilip RUshik wrote:
> > Hello,
> > If I build a buildroot system with uClibc as a shared library and with a
> > native compiler, the resulting native compiler works great most of the
> > time, but it always links with the static libc.a instead of the shared
> > library. Why does this happen, anybody know how to fix that?
>
> This has just been solved on the list (but no patch is committed yet).
> Basically, the problem is that the symlink of /usr/lib/libc.so to
> /lib/libc.so.0 isn't included in the target directory.
>
> As a workaround, you can create that link manually:
> ln -s /lib/libc.so.0 target/usr/lib/libc.so
>
>
> Regards,
> Arnout
>
>
Ok, awesome, I was hoping for something easy like that.
I tried to make a symlink in /usr/lib before, but I called it libc.so.0
like the one in /lib. Oops.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120304/5e2b33d6/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-04 11:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-04 8:03 [Buildroot] Buildroot shared uclibc native compiler only links statically PHilip RUshik
2012-03-04 11:00 ` Arnout Vandecappelle
[not found] ` <CAGmOteMekR4JRMpYBrP2MVxScDwjkRaNU8KuXkXrDH-T3Cy8oA@mail.gmail.com>
2012-03-04 11:14 ` PHilip RUshik
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.