From owner-freebsd-emulation@FreeBSD.ORG Tue May 20 18:27:30 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 4213D106568C for ; Tue, 20 May 2008 18:27:30 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id CABB38FC28 for ; Tue, 20 May 2008 18:27:29 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by ug-out-1314.google.com with SMTP id q2so950522uge.37 for ; Tue, 20 May 2008 11:27:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:subject:in-reply-to:message-id:references:user-agent:mime-version:content-type:from; bh=KSxZe7EOvmvEYaTO/JQeJPucjgxBv/v0m17/UqQqA9A=; b=KXZgg834wCT+RG1rMozvT0vSJe36BZSDhshzjGu2k9uhrhHGUhimWNuwGAZAvcp7ThZLZFretb9At3sEnLwiE0tg2dwPC/sMZYytRjQ2Bfgz4j3dcSGrzZImEOTA6cBUnsp6Yycu5GO+8QBfweII42Afi2oHKKZ0RK+Ijk6CpLo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:in-reply-to:message-id:references:user-agent:mime-version:content-type:from; b=gh/JBAPI+L7oMhgm14PiykuoHnr9kSx/EO2IEFZcNWyxApsGgL3AwXI8e8X9RO54MKndSVcYjGl/VUqbAISGGXFCNcGLCBS5HlEmicWSTUhGjNDvxHDVc/B5YhEF9llhCqYV17L3TZGrs7eZcjW7eT35CdDZDJSF9jojfnzqoVg= Received: by 10.125.111.14 with SMTP id o14mr7557384mkm.3.1211308047979; Tue, 20 May 2008 11:27:27 -0700 (PDT) Received: from ora.chd.net ( [81.200.6.196]) by mx.google.com with ESMTPS id 4sm478074fge.5.2008.05.20.11.27.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 20 May 2008 11:27:23 -0700 (PDT) Date: Tue, 20 May 2008 22:27:18 +0400 (MSD) To: Chagin Dmitry , emulation@freebsd.org In-Reply-To: <20080520160343.GA1562@roadrunner.spoerlein.net> Message-ID: References: <7ad7ddd90805190825j4ab17560k3b0296ac00c4a4c9@mail.gmail.com> <20080520160343.GA1562@roadrunner.spoerlein.net> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Chagin Dmitry Cc: 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 18:27:30 -0000 On Tue, 20 May 2008, Ulrich Spoerlein wrote: > 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? > i think that you need to make at first linux-perl port. -- Have fun! chd