RUMI Szabolcs <rumi_ml@xxxxxxx> writes: > Hi! > > On Tue, 29 Dec 2009 16:46:14 -0800 > Ian Lance Taylor <iant@xxxxxxxxxx> wrote: > >> RUMI Szabolcs <rumi_ml@xxxxxxx> 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