linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "David de Andrés Martínez" <ddandres@disca.upv.es>
To: linuxppc-embedded@lists.linuxppc.org
Subject: libc.so.6 error but not in Montavista
Date: Fri, 21 Sep 2001 10:22:07 +0200	[thread overview]
Message-ID: <3BAAF8AF.3C29A886@disca.upv.es> (raw)


 I am trying to build a ramdisk for a TQM823L module using the LinuxPPC
 (2.4.4) and CDK provided by DENX.

 I have built the CDK withouth any problems and so the ramdisk.
 But when I try to boot the system, I obtain the following error:
 ....
 EXT2-fs warning: checktime reached, running e2fsck is recommended
 VFS: Mounted root (ext2 filesystem).
 Freeing unused kernel memory: 52k init
 init: error in loading shared libraries: libc.so.6: cannot open shared
 object fi
 le: No such file or directory
 Kernel panic: Attempted to kill init!
 Rebooting in 180 seconds..

 I have been searching the lists for a solution but it seems that people
 with the same problem were using the Montavista version, not the DENX
 one.
 The proposed solution for Montavista is:
 --------
 If your shared libraries are (as usual) in the "/lib" directory, add
the
 following option to the GCC command line when linking your binary:
 -Wl,-R/lib
 --------
 In fact, I don't know where to add this option.

 The /lib/libc.so in the ramdisk shows the following code:
 ---------------------
 /* GNU ld script
    Use the shared library, but some functions are only in
    the static library, so try that secondarily.  */
 GROUP ( /LinuxPPC/CDK/lib/libc.so.6 /LinuxPPC/CDK/lib/libc_nonshared.a
)
 ---------------------
 I think that this isn't right.

 Any help would be great.

--
----------------------------------------------------------------------
| David de Andrés Martínez   | Fault Tolerant Systems research Group |
|                            |                                       |
| Computer Science Engineer  | Email: ddandres@disca.upv.es          |
| Doctorate Student          | Phone: +34 96 387.75.74 Ext 75774     |
|                            | Fax: +34 96 387.75.79                 |
-------Address--------------------------------------------------------
|                 DISCA-EUI                                          |
|                 Universidad Politécnica de Valencia                |
|                 Campus de Vera #14                                 |
|                 Valencia E-46021                                   |
|                 Spain                                              |
----------------------------------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2001-09-21  8:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-21  8:22 David de Andrés Martínez [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-04-14  7:23 libc.so.6 error but not in Montavista David de Andrés Martínez
2001-09-23 18:00 ` Wolfgang Denk

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=3BAAF8AF.3C29A886@disca.upv.es \
    --to=ddandres@disca.upv.es \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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;
as well as URLs for NNTP newsgroup(s).