Hi,
I tried the GCC compiler and got nothing but errors:
root@porteus:~# gcc t.c
/usr/libexec/gcc/x86_64-slackware-linux/4.5.1/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory
root@porteus:~# gcc t.c -o t
/usr/libexec/gcc/x86_64-slackware-linux/4.5.1/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory
root@porteus:~# ldd /usr/libexec/gcc/x86_64-slackware-linux/4.5.1/cc1
linux-vdso.so.1 => (0x00007fffe05ff000)
libmpc.so.2 => /usr/lib64/libmpc.so.2 (0x00007fa8d7701000)
libmpfr.so.1 => not found
libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x00007fa8d7494000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fa8d7290000)
libz.so.1 => /usr/lib64/libz.so.1 (0x00007fa8d707a000)
libelf.so.0 => /usr/lib64/libelf.so.0 (0x00007fa8d6e63000)
libc.so.6 => /lib64/libc.so.6 (0x00007fa8d6abd000)
libmpfr.so.4 => /usr/lib64/libmpfr.so.4 (0x00007fa8d686b000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa8d7914000)
So the compiler is missing a library, or have I done anything wrong?
[SOLVED] gcc compiler does not want to run?
[SOLVED] gcc compiler does not want to run?
Last edited by att on 17 May 2011, 09:45, edited 1 time in total.
- fanthom
- Moderator Team
- Posts: 5627
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: gcc compiler does not want to run?
checked v09 and 1.0_rc2 - both version has mpfr package (otherwise i wouldn't be able to compile fglrx, vbox and stuff which is shipped with every release)
did you try to locate missing lib in /usr/lib64? "always fresh" mode? also you can try to run 'ldconfig' to fix missing symlinks.
did you try to locate missing lib in /usr/lib64? "always fresh" mode? also you can try to run 'ldconfig' to fix missing symlinks.
Please add [Solved] to your thread title if the solution was found.
Re: gcc compiler does not want to run?
I'm very sorry - I was running some apparently "old" version ; uname -a said something about #37-7 in the kernal ...
I formatted the HD, got 1.0_rc2 iso, installed it, copied all modules and all rootcopy stuff to it, rebooted and the compiler now works like a charm.
I formatted the HD, got 1.0_rc2 iso, installed it, copied all modules and all rootcopy stuff to it, rebooted and the compiler now works like a charm.
