From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6250 invoked by alias); 18 Aug 2012 17:03:32 -0000 Received: (qmail 6242 invoked by uid 22791); 18 Aug 2012 17:03:31 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 18 Aug 2012 17:03:18 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M8Y00I00N2REM00@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Sat, 18 Aug 2012 20:03:16 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M8Y00IWWNDFBZ20@a-mtaout23.012.net.il>; Sat, 18 Aug 2012 20:03:16 +0300 (IDT) Date: Sat, 18 Aug 2012 17:03:00 -0000 From: Eli Zaretskii Subject: Re: Failure to link GDB 7.5 In-reply-to: <20120818155136.GG2798@adacore.com> To: Joel Brobecker Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83628ggmji.fsf@gnu.org> References: <83boi8gynf.fsf@gnu.org> <20120818155136.GG2798@adacore.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00514.txt.bz2 > Date: Sat, 18 Aug 2012 08:51:36 -0700 > From: Joel Brobecker > Cc: gdb-patches@sourceware.org > > > What is wrong with my libiconv? (There's no other libiconv on this > > system, which is why I built my own some time ago.) > > I do not think it's your libiconv. It looks like the link command is > missing the reference to libiconv (something like -liconv, or /path/to/ > libiconv.so in your case [which I find a little unusual on a Unix system]). > It is probably a consequence of how you configured GDB. I think that > if you configure with --with-libiconv-prefix=/path/to/libiconv/prefix, > everything should work (famous last words). It didn't work (note that in the original build, I showed a line from the configure script output that found my libiconv). But your suggestion pointed me in the right direction: I eventually succeeded by running "make INTL='-L/home/e/eliz/lib -liconv'". I wonder why the default command didn't work. Let me know if you need me to dig deeper. Thanks.