From owner-freebsd-emulation@FreeBSD.ORG Tue May 20 16:42:48 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FCD3106566C for ; Tue, 20 May 2008 16:42:48 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.182]) by mx1.freebsd.org (Postfix) with ESMTP id B589F8FC13 for ; Tue, 20 May 2008 16:42:47 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by ik-out-1112.google.com with SMTP id c30so803351ika.3 for ; Tue, 20 May 2008 09:42:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=Thy7w0fTclFsZvLb2CVl1gmJZVl88xM174o/JdWlICA=; b=gEfmNbDxwY/c8HqzXVlqQ3JMRwLWUZ2ShhPGHlHash0tiQSXuK/QTOdJp2Nt4VMI5W4KTbg9jffethVl/JepGnJUgI2zxzIqC9VAa9a4+xI8HSg41AWL0sDnsOodLSv2xw/kQFu+Dr5fxgYiUPnkT6wrF5rhR8p8qQ+tSMN1HIc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=jHgbE9Ipqm9CgqgcPclQ7/UWuhMJyU2wEUtSzi//0bvtPtgaQTIoPKsPiUwYiM8od22Ni0ASjOqxsZL7BgaZ9jV0EbJxYtUnUqLvTjsiIxUUhKikQ/YwHUE8UA7mCw73IO3LW9tMugwqxKoeqAcai+DbrfTRHt69w/rr6prrchs= Received: by 10.125.80.14 with SMTP id h14mr7459831mkl.41.1211301766064; Tue, 20 May 2008 09:42:46 -0700 (PDT) Received: from acme.spoerlein.net ( [217.172.44.86]) by mx.google.com with ESMTPS id v23sm816686fkd.18.2008.05.20.09.42.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 20 May 2008 09:42:45 -0700 (PDT) Received: from roadrunner.spoerlein.net (e180190187.adsl.alicedsl.de [85.180.190.187]) by acme.spoerlein.net (8.14.2/8.14.2) with ESMTP id m4KGgdxQ062028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 20 May 2008 18:42:40 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: from roadrunner.spoerlein.net (localhost [127.0.0.1]) by roadrunner.spoerlein.net (8.14.2/8.14.2) with ESMTP id m4KG3hxT002593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 May 2008 18:03:43 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from uqs@localhost) by roadrunner.spoerlein.net (8.14.2/8.14.2/Submit) id m4KG3hcG002592; Tue, 20 May 2008 18:03:43 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Tue, 20 May 2008 18:03:43 +0200 From: Ulrich Spoerlein To: Chagin Dmitry Message-ID: <20080520160343.GA1562@roadrunner.spoerlein.net> Mail-Followup-To: Chagin Dmitry , emulation@freebsd.org References: <7ad7ddd90805190825j4ab17560k3b0296ac00c4a4c9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Cc: emulation@freebsd.org Subject: Re: Running IBM DB2 Client V8.1 under FreeBSD X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 16:42:48 -0000 On Mon, 19.05.2008 at 16:10:11 +0400, Chagin Dmitry wrote: > On Mon, 19 May 2008, Ulrich Spoerlein wrote: > > did anyone accomplish this feat? I have a DB/2 Client installation > > copied over to a FreeBSD 6.3 system and while the db2(1) binary > > starts, it runs into an endless loop. > > > > 89938 db2 CALL open(0xbfbfc7e8,0x801,0) > > 89938 db2 NAMI "/compat/linux/home/dtinst/sqllib/tmp/R1116180A8942" > > 89938 db2 NAMI "/home/dtinst/sqllib/tmp/R1116180A8942" > > 89938 db2 RET open JUSTRETURN > > 89938 db2 CALL getdomainname(0xbfbfc930,0xbfbfc938) > > > > JUSTRETURN in linuxolator means ENOENT - 'No such file or directory' error. Thanks for the hint. I should've looked more carefully, turns out this was a permissions problem. (The directory in question was owned by the user, but 755 instead of 775, wtf?) Anyway, the db2 CLI client seems to be working fine, but getting the Perl DBD::DB2 module to work seems to be impossible. It compiles fine, but it will result in a FreeBSD perl library, which itself is linked against a Linux library. Is there a way to make this work? Short of using a linux perl binary+module? Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt.