X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_BF,TW_BG,TW_GP,TW_PX,TW_YG X-Spam-Check-By: sourceware.org MIME-Version: 1.0 X-Received: by 10.194.7.131 with SMTP id j3mr21868204wja.23.1362213539549; Sat, 02 Mar 2013 00:38:59 -0800 (PST) Date: Sat, 2 Mar 2013 09:38:59 +0100 Message-ID: Subject: Shouldn't gcc-4 depend on libmpfr4 ? From: Csaba Raduly To: cygwin list Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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