Ticket #156 (closed defect: fixed)

Opened 5 months ago

Last modified 2 months ago

missing dll export for function encrypt_password in win32 build

Reported by: boto Assigned to: jtv
Priority: normal Milestone: 3.0
Component: portability Version:
Severity: major Keywords:
Cc:

Description

hi,

first of all big thanks for the great library. i use it on linux and win32 and it really does a good job.

i use the version 3.0 beta, downloaded today.

while on linux there were no problem building and using the lib, on win32 there were some problems in building and using it.

1) the function encrypt_password has a missing dll export and a ifdef clause with

PQXX_HAVE_PQENCRYPTPASSWORD

in header connection_base.hxx. so an application trying to use it cannot get that function linked.

2) furthermore the make file for vc uses wrong paths for pq lib and header when postgres is installed from binary, not build yourself. i use postgres version 8.2. in such postgres instalation there is no 'interface' folder, but 'include'.

3) the postgres has also no debug dll version when not build self, so trying to copy libpqd.dll fails.

in attached file i have the necessary fixes and binaries built with msvc 8.0 sp1.

keep up the good work.

cheers boto

Attachments

Change History

08/25/08 13:08:31 changed by jtv

  • status changed from new to assigned.

Thanks! I don't have time to look at the patches right now, but yes, there's definitely an export directive missing for encrypt_password. That part is fixed in [1386].

11/02/08 01:41:28 changed by jtv

  • status changed from assigned to closed.
  • resolution set to fixed.

The main problem reported should be solved, so I'll close this one and leave the other Windows tweaks to Kirit.


Add/Change #156 (missing dll export for function encrypt_password in win32 build)




Change Properties
Action