Home > Usr Bin Ld Cannot > Usr/bin/ld Cannot Find /lib/libc.so.6

Usr/bin/ld Cannot Find /lib/libc.so.6

But it builds all three OK using crosstool-ng 1.7.2 The only real difference I see so far is binutil 2.20.1 versus binutil 2.20 (apart from any crosstool patch differences that may Day Re: linking correct libc From: ng Re: linking correct libc From: ng Re: linking correct libc From: Yann E. MORIN wrote: Peter, All, On Tuesday 26 May 2009 07:07:28 [email protected] wrote: CFLAGS="-march=armv4t" CPPFLAGS="-I/back/ts/root2/usr/include" LDFLAGS="-L/back/ts/root2/usr/lib/" make arm-unknown-linux-gnueabi-gcc -march=armv4t -Wall -Wstrict-prototypes -fpie -I/back/ts/root2/usr/include -DHOSTS_ACCESS -DCHECK_PORT -DIGNORE_SIGCHLD -DFACILITY=LOG_DAEMON -c -o portmap.o portmap.c arm-unknown-linux-gnueabi-gcc Of course, passing this path to the C library libc.so may sounds strange and inapropriate, but it's exactly what my configure script is doing: configure:6447: checking for GNU gettext in libintl weblink

When configuring gcc, I used --with-sysroot=/path/to/sysroot, where glibc is installed under usr/. And how to compile this. And all those -L's point to places that clearly aren't /. MORIN. -- For unsubscribe information see http://sourceware.org/lists.html#faq Follow-Ups: Re: linking correct libc From: Yann E.

How can the US electoral college vote be so different to the popular vote? Word for a Fact Believed by a Sub-Culture What is the common, normally open, normally closed? How to handle swear words in quote / transcription?

Polyglot Anagrams Robbers' Thread Possible repercussions from assault between coworkers outside the office Is calling a function with local side-effects twice in the same expression undefined behavior? more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science If the script you're talking about is part of Ubuntu, please report a bug on it and add the multiarch tag. If I can build the cross compiler support both soft/hard float big/little endian, and how to compile it.

Comment 10 progmei 2012-09-07 13:30:13 UTC It's OK now. OBDII across the world? Build me a brick wall! If so, Where can I find it?

share|improve this answer answered Dec 27 '09 at 2:34 t0mm13b 26.2k54883 Just tried export LIBPATH=/home/work/worldcom/filesys/lib and got no joy. The makefile I am using is attached below,Makefile:------------------------------------------------------------------------------------------------------------------------------------# define the C compiler to useCC = /opt/poky/1.4+snapshot/sysroots/i686-pokysdk-linux/usr/bin/cortexa9hf-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc# define any compile-time flagsCFLAGS = -Wall -g# define any directories containing header files other than The system then searches in library paths as defined in /etc/ld.so.conf, including /usr/lib and /lib by default. Anything that hardcodes the path to libc.so must be updated to work properly from Ubuntu 11.04 onwards.

How do unlimited vacation days work? hope that helped. –moritz Dec 27 '09 at 15:06 It's not the makefile that's broken, the absolute paths are contained in linker scripts. See the CrossGCC FAQ for lots more information. Browse other questions tagged libraries or ask your own question.

Is there an actual army in 1984? have a peek at these guys issuing the failing command in the build tree by hand. How can I save a file to a new location from inside Vim? This tool uses JavaScript and much of it will not work correctly without it enabled.

  • linking libobj.so
    arm-none-linux-gnueabi-g++ obj1.o obj2.o obj2.o -o libobj.so -L/home/work/worldcom/filesys/usr -Wl,-O1 -Wl,-z,defs -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=both -L/home/work/worldcom/filesys -L/home/work/worldcom/filesys/lib -L/home/work/worldcom/filesys/usr/lib -lcurl -shared
    /home/lishevita/armv5tel/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6
    /home/lishevita/armv5tel/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld:
  • Follow-Ups: Re: Gcc+binutils+libc cross-compiling: path to libc.so.6 malformed in "ld".
  • Would I risk breaking anything if I put a symlink there?
  • What have I got wrong here?
  • See the CrossGCC FAQ for lots more information.
  • up vote 15 down vote favorite 2 find | grep libc.so.6 reveals that it's in /lib/i386-linux-gnu/libc.so.6, but a script I was running expected it to be directly under /lib, so why

This happened for both my uclibc build for arm and powerpc, (but not a problem building the same buildroot for x86/glibc/nptl build - which is a different ball game). GCC is version 4.1.1 Binutils 2.17 Glibc is CVS head. Thank you! http://rinfix.com/usr-bin-ld-cannot/usr-bin-ld-cannot-find-usr-lib-libc-nonshared-a.html Safety - Improve braking power in wet conditions Boss sends a birthday message.

How do I deal with my current employer not respecting my decision to leave? arm-unknown-linux-gnueabi-gcc -L/back/ts/root2/usr/lib/ -pie portmap.o pmap_check.o from_local.o -lwrap -o portmap All input .o files should be ARM files, they got build just above. Thank you!

Not the answer you're looking for?

Not the answer you're looking for? MORIN Index Nav: [DateIndex] [SubjectIndex] [AuthorIndex] [ThreadIndex] Message Nav: [DatePrev][DateNext] [ThreadPrev][ThreadNext] This is the mail archive of the [email protected] mailing list for the GCC project. Maybe you are right about the gcc compiler being built to point to the /lib path, although that seems weird. Why is the 'You talking to me' speech from the movie 'Taxi Driver' so famous?

What is the significance of the robot in the sand? more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science Ask Ubuntu works best with JavaScript enabled This is the mail archive of the [email protected] mailing list for the crossgcc project. this content But this doesn't happen here.

Furniture name for waist-high floor-sitting shelf cabinet thing Is it possible for a diesel engine computer to detect (and prevent) a runaway condition? However, as this usr/lib/ directory is inside the toolchain sysroot, I thought "ld" was supposed to interpret paths in linker script relative to the sysroot. linker cross-compiling share|improve this question edited Aug 27 '10 at 22:15 ysth 68.9k381167 asked Dec 27 '09 at 1:28 lishevita 18115 You should have a look at the output UNIX is a registered trademark of The Open Group.

Which might be all right, but looks a bit strange. share|improve this answer edited Dec 29 '09 at 20:18 Peter Mortensen 10.3k1370108 answered Dec 27 '09 at 2:00 moritz 2,03211124 Sure, but WHAT in the makefile could be broken? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed How to reply?

Is there anything i am doing wrong?