掌機 - Pandora(Rebirth) - SuperZaxxon - 解決libmpfr.so.1, needed by /usr/local/lib/libmpc.so, may conflict with libmpfr.so.6問題



問題如下:

configure:5725: gcc -o conftest -g -O2 -I/usr/local/include -I/usr/local/include -I/usr/local/include    conftest.c  -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lmpc -lmpfr -lgmp     >&5
/usr/lib/gcc/arm-angstrom-linux-gnueabi/4.3.6/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: libmpfr.so.1, needed by /usr/local/lib/libmpc.so, may conflict with libmpfr.so.6
/usr/lib/gcc/arm-angstrom-linux-gnueabi/4.3.6/../../../../arm-angstrom-linux-gnueabi/bin/ld: __gmpfr_emax: TLS definition in /usr/local/lib/libmpfr.so section .tdata mismatches non-TLS d    efinition in /usr/lib/libmpfr.so.1 section .data
/usr/lib/libmpfr.so.1: could not read symbols: Bad value
collect2: ld returned 1 exit status
configure:5725: $? = 1

解法如下:

$ sudo rm /usr/lib/libmpfr.so.1
$ sudo ln -s /usr/local/lib/libmpfr.so.6.2.1 /usr/lib/libmpfr.so.1