On Sat, Nov 5, 2011 at 4:33 AM, Alistair Lowe
<alistair.l...@resonance-systems.com> wrote:
> Hi guys,
>
>
> I've just set-up an angstrom SDK on Ubuntu 11.10 x86_64 and configured the
> ARM cross-compiler in Code::Blocks.
>
> However, when compiling a basic template I receive the following error:
>
> 'error while loading shared libraries: libmpfr.so.1: cannot open shared
> file: No such file or directory'
>
> Looking for the library in
> /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/lib I can find only
> libmpfr.so, libmpfr.so.4 and libmpfr.so.4.0.0. I have attempted to create a
> symbolic link called libmpfr.so.1 but this does not help. The directory is
> in the Code::Blocks Search Directories -> Linker tab.

In this case, it's looking for libmpfr.so.1 for the host, not the
target.  There should be a copy in /usr/local/angstrom/x86_64/... or
so, but it should also have been found automatically.  Did you build
this SDK yourself, or download it from somewhere?  If you built it,
what build target exactly did you use?  Also, did you load the
environment-setup file into your shell before starting to build?
Thanks!

-- 
Tom

_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to