Skip to main content
Topic: xrdb requires libmpfr.so.4 but libmpfr.so.6 is only available from mpfr-4.0.1-1 (Read 215 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

xrdb requires libmpfr.so.4 but libmpfr.so.6 is only available from mpfr-4.0.1-1

As the title.....xrdb wants libmpfr.so.4, but mpfr-4.0.1-1 only supplies libmpfr.so.6
I created a symlink libmpfr.so.4 pointing to libmpfr.so.6.0.1 so xrdb can run....not ideal I know.

Best regards.
We should try to be kind to everyone.....we are all fighting some sort of battle.

Re: xrdb requires libmpfr.so.4 but libmpfr.so.6 is only available from mpfr-4.0.1-1

Reply #1
are you shure? xorg-xrdb-1.1.1 from Artix?

[[email protected] pkg]$ xrdb
/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/cc1: error while loading shared libraries: libmpfr.so.6: cannot open shared object file: No such file or directory
(after pacman -Rdd mpfr), mpfr-4.0.1

Re: xrdb requires libmpfr.so.4 but libmpfr.so.6 is only available from mpfr-4.0.1-1

Reply #2
are you shure? xorg-xrdb-1.1.1 from Artix?

[[email protected] pkg]$ xrdb
/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/cc1: error while loading shared libraries: libmpfr.so.6: cannot open shared object file: No such file or directory
(after pacman -Rdd mpfr), mpfr-4.0.1
I am using xorg-xrdb-1.1.1-1 from Artix "system" repo. When I tried running
Code: [Select]
xrdb -merge ~/.Xresources
It complained about not finding libmpfr.so.4
After creating the symlink it worked fine.

Best regards
We should try to be kind to everyone.....we are all fighting some sort of battle.

Re: xrdb requires libmpfr.so.4 but libmpfr.so.6 is only available from mpfr-4.0.1-1

Reply #3
strange, for me xrdb -merge ~/.Xresources works normally, hmm...

"It complained about not finding libmpfr.so.4" - i am understand, but  on my system need xrdb libmpfr.so.6, not libmpfr.so.4.

Re: xrdb requires libmpfr.so.4 but libmpfr.so.6 is only available from mpfr-4.0.1-1

Reply #4
It is indeed strange. Just to recheck I renamed the symlink to test.
The following is the output of the previous command:
Code: [Select]
[[email protected] Linux ~]$ xrdb -merge ~/.Xresources

/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.0/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory

???

Best regards.
We should try to be kind to everyone.....we are all fighting some sort of battle.