Re: Compilation on Windows - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Compilation on Windows
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E43065F5@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Compilation on Windows  (Alexander Borkowski <alexander.borkowski@abri.une.edu.au>)
Responses Re: Compilation on Windows
List pgadmin-hackers

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of
> Alexander Borkowski
> Sent: 22 September 2004 04:53
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] Compilation on Windows
>
> Dear all,
>
> I am trying to build 1.2.0 beta1 on Windows XP with MSVC++
> 6.0 and after a while am almost there (I think). Everything
> compiles fine, but linking fails with the following error
>
> pgAdmin3.obj : error LNK2001: unresolved external symbol
> _SSL_version_str Unicode_SSL_Release/pgAdmin3.exe : fatal
> error LNK1120: 1 unresolved externals
>
> The SSL_version_str is defined in ssl/ssl_lib.c in the
> OpenSSL (0.9.7d) source, but it apparently does not get
> exported in ssleay32.lib or in libeay32.lib by the OpenSSL
> VC-WIN32 build process. So my question is:
> Am I missing something or is there anything special I need to
> take care of when building OpenSSL for use with pgAdmin III?

I've run into that before - you need to use the static SSL libs, not the
import libs for the dll. They do (should) contain that symbol.

You can download the precompiled versions of the SSL and libpq libs from
http://www.pgadmin.org/snapshots/postgresql/libs-win32-20040906.zip if
you don't want to build them yourself.

Regards, Dave.

pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: CVS Commit by andreas: todo update
Next
From: Ivan Nejgebauer
Date:
Subject: Repost: Patch: view data for tables/views on double click