From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1904 invoked by alias); 29 Oct 2011 19:45:20 -0000 Received: (qmail 1896 invoked by uid 22791); 29 Oct 2011 19:45:18 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_LG X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 29 Oct 2011 19:45:03 +0000 From: "titu_senapati at yahoo dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/50915] New: gcc fails at run time due to undefined libintl_textdomain Date: Sat, 29 Oct 2011 19:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: titu_senapati at yahoo dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-10/txt/msg03089.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50915 Bug #: 50915 Summary: gcc fails at run time due to undefined libintl_textdomain Classification: Unclassified Product: gcc Version: 3.4.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: titu_senapati@yahoo.com Installed GCC 3.4.3 in one x86_64 machine with OS as Suse Linux SP1 I have configured as follows: ./configure --prefix=[path to installation] --host=x86_64-suse-linux --build=x86_64-suse-linux target=x86_64-suse-linux --with-included-gettext reason I have mentioned host, build and target is during configure it is not able to detect the os type hence it is setting target as x86_64-unknown-linux Now the problem is when I am invoking gcc after installation, it is throwing error /vobs/tsp/tools/GCC/LINUX/3.4.3_SLES11/bin/gcc -nodefaultlibs -m32 -o genbin genbin.o -lstdc++ -lgcc -lc /vobs/tsp/tools/GCC/LINUX/3.4.3_SLES11/lib/gcc/x86_64-suse-linux/3.4.3/../../../../lib/libstdc++.so: undefined reference to `libintl_textdomain' /vobs/tsp/tools/GCC/LINUX/3.4.3_SLES11/lib/gcc/x86_64-suse-linux/3.4.3/../../../../lib/libstdc++.so: undefined reference to `libintl_bindtextdomain' collect2: ld returned 1 exit status *** Error code 1 In my system there is a libintl.so available at /usr/local/lib. can it be a problem. Can you please suggest any solution.