Shouldn't gcc-4 depend on libmpfr4 ?

Csaba Raduly rcsaba@gmail.com
Sat Mar 2 08:39:00 GMT 2013


Hi all,
I installed cygwin on a new machine and running gcc failed with

/usr/lib/gcc/i686-pc-cygwin/4.5.3/cc1.exe: error while loading shared
libraries: cygmpfr-4.dll: cannot open shared object file: No such file
or directory

$ ldd /usr/lib/gcc/i686-pc-cygwin/4.5.3/cc1.exe
        ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x76ec0000)
        kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x75af0000)
        KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll
(0x75650000)
        cygcloog-0.dll => /usr/bin/cygcloog-0.dll (0x6fed0000)
        cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0x6f9c0000)
        cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
        cyggmp-3.dll => /usr/bin/cyggmp-3.dll (0x6f940000)
        cygppl_c-2.dll => /usr/bin/cygppl_c-2.dll (0x6ecb0000)
        cygppl-7.dll => /usr/bin/cygppl-7.dll (0x6ef20000)
        cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x6e910000)
        cyggmpxx-4.dll => /usr/bin/cyggmpxx-4.dll (0x6f930000)
        cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x6f700000)
        cygintl-8.dll => /usr/bin/cygintl-8.dll (0x6f6a0000)
        cygmpc-1.dll => /usr/bin/cygmpc-1.dll (0x6f410000)
        cygmpfr-1.dll => /usr/bin/cygmpfr-1.dll (0x6f3c0000)
        cygmpfr-4.dll => /usr/bin/cygmpfr-4.dll (0x68f40000)
        cygz.dll => /usr/bin/cygz.dll (0x6e4c0000)
        ??? => ??? (0x1010000)

This appears to be due to the fact that gcc4-core depends on both
libmpfr1 and libmpfr4, but only libmpfr1 is listed as a dependency in
setup.ini:

@ gcc4-core
sdesc: "Core C compiler subpackage"
category: Devel
requires: alternatives binutils w32api libgcc1 libgomp1 libssp0
libffi4 libgmp3 libintl8 libmpfr1 libcloog0 libmpc1 libppl
_update-info-dir
version: 4.5.3-3


Installing libmpfr4 fixed the problem, but shouldn't this be automatic?

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list