Running IBM DB2 Client V8.1 under FreeBSD

Chagin Dmitry chagin.dmitry at gmail.com
Tue May 20 18:27:30 UTC 2008


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


More information about the freebsd-emulation mailing list