This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error while loading shared libraries: libstdc++.so ------ confused ..???


On Mon, Feb 4, 2013 at 3:18 AM, allan George <gorge.alan.sw@gmail.com> wrote:
> when i run this command :---------  >>>    whereis libstdc++.so
> it shows the library
> [SB2 simple armhf] ignite@ignite testing $ whereis libstdc++.so
> libstdc++:

The result of this test demonstrates the 'whereis' command has not
found your library.

For example:
$ whereis bash
bash: /bin/bash /etc/bash.bashrc /usr/share/bash /usr/share/man/man1/bash.1.gz

This demonstrates the 'whereis' utility finding what I'm looking for. Whereas:
$ whereis blah
blah:

...is an example of it not finding what I'm looking for (which looks
like the output you received when you ran this test).

> Even i run ldconfig -v same error is there :-----

When I look through the list of DSOs that 'ldconfig' can find on your
system I don't see the C++ shared object in the list.

It doesn't appear as though your c++ shared object is in your target
filesystem. Confirm this required library is in your target
filesystem, preferably in a common location such as /lib or /usr/lib.

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]