Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2008 08:08:20 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Ulrich Spoerlein <uspoerlein@gmail.com>
Cc:        emulation@freebsd.org
Subject:   Re: Running IBM DB2 Client V8.1 under FreeBSD
Message-ID:  <20080521080820.427629jjtsoea6ac@webmail.leidinger.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
Quoting Ulrich Spoerlein <uspoerlein@gmail.com> (from Tue, 20 May 2008 =20
18:03:43 +0200):

> 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?

AFAIK a perl module is just some kind of a library (from a compiler =20
point of view), so it depends on which symbols the linux library uses =20
and if you are willing to write some compat-shims. In the icc port we =20
have some black magic to be able to link the linux-libs which come =20
with icc to create a native FreeBSD program, maybe you can borrow some =20
of this (objcpy in the Makefile and some stuff in files/). Feel free =20
to ask here if you have some specific questions regarding the icc =20
black magic.

Bye,
Alexander.

--=20
Don't ever slam a door; you might want to go back.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID =3D 72077137



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