[uClibc]std[out|err|in] problem

Robert Schwebel robert at schwebel.de
Wed Sep 5 19:40:38 UTC 2001


On Wed, 5 Sep 2001, Robert Schwebel wrote:
> Ah, ok, I've just tested it with the static library and this _works_. So
> the problem must be specific to the dynamic lib or to the dynamik
> linker...?

After a very unsuccessful day of digging around all parts of my system I
found out that there have been some fragments of old installations of
uClibc lying around somewhere. Now that it seems like I've found all that
stuff things seem to work again. Sorry for the confusion...

Two odd things are left now: first is that I cannot look at the library
dependencies with the "normal" ldd. uClibc's version is a binary, whereas
the "conventional" one is a shell script which mainly sets some
environment variables; the output comes from the binary itself. But as
/usr/i386-linux-uclibc/bin/ldd works as expected it is no problem - would
just be interesting to understand.

The other thing is that using "PATH=/usr/i386-linux-uclibc/bin:$PATH make"
results in busybox/tinylogin being linked against

  robert at callisto:~/embedded/rootfs/bin ! /usr/i386-linux-uclibc/bin/ldd \
  busybox
          libc.so.0 => /usr/i386-linux-uclibc/lib/libc.so.0
          /usr/i386-linux-uclibc/lib/ld-uClibc.so.0 =>
  /usr/i386-linux-uclibc/lib/ld-uClibc.so.0

Which means that the dynamik linker is searched in the full path as it is
on the development system, so I have to make a link on the embdded machine
for being recognized correctly. I hope this is not another oddity of my
disturbed machine...

Cheerio,
Robert
-- 
 +--------------------------------------------------------+
 |             Dipl.-Ing. Robert Schwebel                 |
 |      Linux Solutions for Science and Industry          |
 |  Braunschweiger Straße 79, 31134 Hildesheim, Germany   |
 |     Phone: +49-5121-28619-0  Fax: +49-5121-28619-4     |
 +--------------------------------------------------------+






More information about the uClibc mailing list