From owner-freebsd-emulation@FreeBSD.ORG Wed May 21 06:08:27 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 19781106566B for ; Wed, 21 May 2008 06:08:27 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id C5C5D8FC1C for ; Wed, 21 May 2008 06:08:26 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A57836.dip.t-dialin.net [84.165.120.54]) by redbull.bpaserver.net (Postfix) with ESMTP id C12FC2E0D6; Wed, 21 May 2008 08:08:23 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id A55F910576A; Wed, 21 May 2008 08:08:20 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m4L68KBC076928; Wed, 21 May 2008 08:08:20 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 21 May 2008 08:08:20 +0200 Message-ID: <20080521080820.427629jjtsoea6ac@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 21 May 2008 08:08:20 +0200 From: Alexander Leidinger To: Ulrich Spoerlein References: <7ad7ddd90805190825j4ab17560k3b0296ac00c4a4c9@mail.gmail.com> <20080520160343.GA1562@roadrunner.spoerlein.net> In-Reply-To: <20080520160343.GA1562@roadrunner.spoerlein.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.2-RC2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.3, required 6, BAYES_00 -15.00, J_CHICKENPOX_66 0.60, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@freebsd.org 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: Wed, 21 May 2008 06:08:27 -0000 Quoting Ulrich Spoerlein (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