From owner-freebsd-questions Tue Sep 3 23:34:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADB8437B400 for ; Tue, 3 Sep 2002 23:34:25 -0700 (PDT) Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B7F943E4A for ; Tue, 3 Sep 2002 23:34:24 -0700 (PDT) (envelope-from martin.kahlert@infineon.com) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.sbs.de (8.11.6/8.11.6) with ESMTP id g846YH710748; Wed, 4 Sep 2002 08:34:17 +0200 (MEST) Received: from mail-l.muc.infineon.com (mail-l.muc.infineon.com [172.29.174.210]) by mail1.siemens.de (8.11.6/8.11.6) with ESMTP id g846YGx14710; Wed, 4 Sep 2002 08:34:16 +0200 (MEST) Received: from keksy.muc.infineon.com (keksy [172.29.174.218]) by mail-l.muc.infineon.com with ESMTP id g846YEuY024679; Wed, 4 Sep 2002 08:34:14 +0200 (MET DST) Received: (from kahlert@localhost) by keksy.muc.infineon.com (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) id g846YGo05831; Wed, 4 Sep 2002 08:34:16 +0200 Date: Wed, 4 Sep 2002 08:34:15 +0200 From: Martin Kahlert To: Alexander@Leidinger.net Cc: kris@obsecurity.org, freebsd-questions@FreeBSD.org Subject: Re: first icc did not start, now it does not stop... Message-ID: <20020904083415.A5569@keksy.muc.infineon.com> Reply-To: martin.kahlert@infineon.com References: <20020903081616.A12893@keksy.muc.infineon.com> <20020903151528.GB77952@xor.obsecurity.org> <20020903185957.301810ec.Alexander@Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020903185957.301810ec.Alexander@Leidinger.net>; from Alexander@Leidinger.net on Tue, Sep 03, 2002 at 06:59:57PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! Thanks all for trying to help. On Tue, Sep 03, 2002 at 06:59:57PM +0200, Alexander@Leidinger.net wrote: > On Tue, 3 Sep 2002 08:15:30 -0700 Kris Kennaway > wrote: > > > > 'icc anything' gave me an error like symbol not found: GLIBC-2.1_3 > > > or something like that at startup. > > > > Don't be vague about error messages, we can't diagnose accurately if > > you don't paste the exact error message. > > For this part of his messages it was enough info for me. Yes, everyone who programmed before will know what that means. But nevertheless here is the exact wording: /usr/local/intel/compiler60/ia32/bin/iccbin: /lib/libc.so.6: version `GLIBC_2.1.3' \ not found (required by /usr/local/intel/compiler60/ia32/bin/iccbin) /usr/local/intel/compiler60/ia32/bin/iccbin: /lib/libc.so.6: version `GLIBC_2.1.3' \ not found (required by /usr/local/intel/compiler60/ia32/lib/libcxa.so.1) I got this message with linux_base-6.1_1.tgz. > The second part of his message (icc doesn't stop) is strange (and > there's no message he can quote). Here is some more information: $ pkg_info | grep linux linux-netscape-navigator-4.79 Linux Netscape navigator web-surfboard linux_base-7.1 The base set of packages needed in Linux mode Can i just copy my Linux /lib/libc.so.6 over to */compat/linux*/where_libc.so.6_is? I do not understand, how Linux compatibility works in FreeBSD: How does the runtime linker know that the executable is a Linux executable and translate /lib/libc* into /compat/linux/libc*? IIRC even ldd tells me that icc uses /lib/libc.so.6. Very strange... As Alexander suggested, i played a bit with the license manager. I explicitly started it using the command $ lmgrd.linux -c /usr/local/intel/licenses/ and it told me: no SERVER line found - which i must admit is correct. So i prepended the license lines obtained from Intel by these two lines: SERVER keksy 0010dc50cacb DAEMON INTEL /usr/local/intel/compiler60/ia32/bin/INTEL (keksy is the hostname of the box and 0010dc50cacb is its hostid obtained from 'lmutil lmhostid') After that $ lmgrd.linux -c /usr/local/intel/licenses/ seemed to work, but 'icc -o t t.c' continues to loop inside mcpcom. Alexander, did you set LM_LICENSE_FILE to anything? I tried it with and without exporting that variable set to my license file but without any success. BTW: What is FreeBSD's equivalent command to Linux's strace -f? This command follows subprocesses and gives information for them, too. I actually want to get socket information and the like. truss seems to be quite limited in contrast to Linux's strace. Thanks again for your help! Kind regards, Martin. -- The early bird catches the worm. If you want something else for breakfast, get up later. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message