Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2008 22:27:18 +0400 (MSD)
From:      Chagin Dmitry <chagin.dmitry@gmail.com>
To:        Chagin Dmitry <chagin.dmitry@gmail.com>, emulation@freebsd.org
Subject:   Re: Running IBM DB2 Client V8.1 under FreeBSD
Message-ID:  <alpine.BSF.1.10.0805202219290.6399@ora.chd.net>
In-Reply-To: <20080520160343.GA1562@roadrunner.spoerlein.net>
References:  <7ad7ddd90805190825j4ab17560k3b0296ac00c4a4c9@mail.gmail.com> <alpine.BSF.1.10.0805191608210.6106@ora.chd.net> <20080520160343.GA1562@roadrunner.spoerlein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.1.10.0805202219290.6399>