delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/07/07:46:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 7 Jan 2002 13:36:52 +0100
From: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
X-Mailer: The Bat! (v1.53t) Business
Reply-To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Organization: convey Information Systems GmbH
X-Priority: 3 (Normal)
Message-ID: <13611269104.20020107133652@familiehaase.de>
To: A Hossain <ahossain1999 AT yahoo DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Installing DBD-DB2 on cygwin running on Windows NT
In-Reply-To: <20020107025341.97937.qmail@web10106.mail.yahoo.com>
References: <20020107025341 DOT 97937 DOT qmail AT web10106 DOT mail DOT yahoo DOT com>
MIME-Version: 1.0

 A,

2002-01-07 13:33:10, du schriebst:

> I am trying install perl DBD-DB2 driver on cygwin
> running on Windows NT. I installed DBI module
> successfully. But having errors installing DBD-DB2
> module.

> My Operating System: Windows NT 4.0
> Database: IBM DB2 7.0
> 1. While generating makefile, there is a warning
> regarding no library found -ldb2. 

You need to create an import library for db2.dll named libdb2.dll.a

> 2. In SQLLIB\lib db2api.lib and db2cli.lib are found.
> How GNU gcc comilper links with IBM db2api.lib and
> db2cli.lib files?

This is not possible.

> 3. make is failing to generate dll file.

Sure.  No undefined symbols allowed on windows.

> Please help me out to install perl DBD-DB2 driver on
> cygwin.

Create an import lib of the IBM db2.dll and link against it.
I don't have db2 here, but I did this successfull with a
windows version of Oracle.


Gerrit
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019