From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Rainer Bauer <usenet@munnin.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: [psqlODBC 08.02.0401] Compiling fails on VS2005SP1
Date: Fri, 01 Jun 2007 09:45:38 +0900
Message-ID: <465F6C32.5090303@tpf.co.jp> (raw)
In-Reply-To: <107u53hlnagmhmbca8d8hlsosu4p4v9nnk@4ax.com>
References: <gi3u53tiks7ato2604n90acim3tqhdq5tt@4ax.com>
<107u53hlnagmhmbca8d8hlsosu4p4v9nnk@4ax.com>
Rainer Bauer wrote:
> I wrote:
>
>> Linking fails, because ssleay32.lib is not found. I checked the OpenSSL
>> installation and the Visual C++ libraries are located in "C:\OpenSSL\lib\VC"
>> and are named depending on the target (single/multi threaded, release/debug,
>> etc.). But since ssleay32.lib is defined in the linker input project settings
>> this cannot work. Shouldn't the lib name be generated dynamically depending on
>> the target which is build and specified in the source with pragma's?
>
> After manually copying and renaming the lib files
> (C:\OpenSSL\lib\VC\ssleay32MTd.lib -> ~\psqlodbc\ssleay32.lib and
> C:\OpenSSL\lib\VC\libeay32MTd.lib -> ~\psqlodbc\libeay32.lib) I have another
> linker error:
>
> LINK : fatal error LNK1104: cannot open file 'pgenlist.lib'
The pgenlist library is used for MSDTC support and isn't needed
unless _HANDLE_ENLIST_IN_DTC_ is defined. A #pragma in loadlib.c
seems to be the cause. I lready fixed the bug in my local source
for 8.2.0402.
regards,
Hiroshi Inoue
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: inoue@tpf.co.jp, usenet@munnin.com
Subject: Re: [psqlODBC 08.02.0401] Compiling fails on VS2005SP1
In-Reply-To: <465F6C32.5090303@tpf.co.jp>
References: <gi3u53tiks7ato2604n90acim3tqhdq5tt@4ax.com> <107u53hlnagmhmbca8d8hlsosu4p4v9nnk@4ax.com> <465F6C32.5090303@tpf.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox