GCC 4.4.2 fails to build on Tru64 UNIX
Ian Lance Taylor
iant@google.com
Wed Dec 30 03:38:00 GMT 2009
RUMI Szabolcs <rumi_ml@rtfm.hu> writes:
> Hi!
>
> On Tue, 29 Dec 2009 16:46:14 -0800
> Ian Lance Taylor <iant@google.com> wrote:
>
>> RUMI Szabolcs <rumi_ml@rtfm.hu> writes:
>>
>> > 48801:/usr/src/gcc/obj/./gcc/cc1: /sbin/loader: Fatal Error: Cannot map library libmpfr.so.1
>>
>> Throw away your current MPFR build and rebuild it, but this time use
>> --disable-shared when you run configure.
>
> Apart from the obvious reason of going down the easier path, why
> would I want to give up on shared libs so easily? The platform
> does support shared libs, native ld also supports -rpath and even
> GNU-style library lookup order, so theoretically it should work,
> or am I wrong?
>
> References:
> http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN1/0668____.HTM
It can work but you will have to tell the dynamic linker where to find
the MPFR shared library.
Ian
More information about the Gcc-help
mailing list