| From: | Denis <babichev_denis(at)mail(dot)ru> |
|---|---|
| To: | pgsql-interfaces(at)postgresql(dot)org |
| Subject: | Can not compile libpq version 9.3 |
| Date: | 2013-09-09 18:01:10 |
| Message-ID: | 1574906243.20130909220110@mail.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-interfaces |
I tried to compile libpq version 9.3 in Visual Studio 2010 and got the following linker errors:
libpq.lib(dirmod.obj) : error LNK2019: unresolved external symbol _pstrdup referenced in function _pgfnames
libpq.lib(dirmod.obj) : error LNK2019: unresolved external symbol _repalloc referenced in function _pgfnames
libpq.lib(dirmod.obj) : error LNK2019: unresolved external symbol _palloc referenced in function _pgfnames
libpq.lib(dirmod.obj) : error LNK2019: unresolved external symbol _pfree referenced in function _pgfnames_cleanup
I run the command:
nmake /f win32.mak USE_SSL=1 SSL_INC=%OPENSSL_DIR%\include SSL_LIB_PATH=%OPENSSL_DIR%\lib\Release
in the directory src\interfaces\libpq
Version 9.2.4 I have compiled without problems.
--
Best regards,
Denis mailto:babichev_denis(at)mail(dot)ru
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sebastien FLAESCH | 2013-09-10 12:07:07 | libpq compatibility policy across versions |
| Previous Message | mohank524 | 2013-09-06 12:49:16 | gtk glade with postgresql in c pogramming compiling on debian gives database problem |