Date: Tue, 20 May 2008 18:03:43 +0200 From: Ulrich Spoerlein <uspoerlein@gmail.com> To: Chagin Dmitry <chagin.dmitry@gmail.com> Cc: emulation@freebsd.org Subject: Re: Running IBM DB2 Client V8.1 under FreeBSD Message-ID: <20080520160343.GA1562@roadrunner.spoerlein.net> In-Reply-To: <alpine.BSF.1.10.0805191608210.6106@ora.chd.net> References: <7ad7ddd90805190825j4ab17560k3b0296ac00c4a4c9@mail.gmail.com> <alpine.BSF.1.10.0805191608210.6106@ora.chd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080520160343.GA1562>