View Single Post

   
  #2 (permalink)  
Old 04-17-2008, 04:19 PM
Rainer Bauer
 
Posts: n/a
Default Re: [psqlODBC 08.02.0401] Compiling fails on VS2005SP1

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'

Where do I get that from?

Rainer
Reply With Quote