Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi there,

I'm having trouble building the latest 3.5 branch on Windows.  First,
the postgresql module failed to build due to it not finding ldap.h
from mozilla.  I had mozilla entirely disabled (I always had).  So I
decided to enable it to see if it would solve this.  But because I
didn't want to build it from the sources, I simply stashed the
pre-built mozilla zips into moz/zipped.

Now the postgresql module builds, but it fails in connectivity due to
unresolved symbols (as follows).

/MAP /OPT:NOREF -safeseh -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE
-DEBUG -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL
-out:../../../wntmsci12.pro/bin/postgresql-sdbc-impl.uno.dll
-map:../../../wntmsci12.pro/misc/postgresql-sdbc-impl.uno.map
-def:../../../wntmsci12.pro/misc/postgresql-sdbc-impl.uno.def
-implib:../../../wntmsci12.pro/lib/ipostgresql_t2.lib
../../../wntmsci12.pro/slo/postgresql-sdbc-impl.uno_version.obj
../../../wntmsci12.pro/slb/postgresql-sdbc-impl.uno.lib icppu.lib
icppuhelper.lib isal.lib isalhelper.lib
C:/libo/libreoffice-3-5/solver/wntmsci12.pro/lib/libpq.lib ws2_32.lib
secur32.lib advapi32.lib shell32.lib ssleay32.lib libeay32.lib
msvcrt.lib msvcprt.lib uwinapi.lib kernel32.lib user32.lib
oldnames.lib ../../../wntmsci12.pro/misc/postgresql-sdbc-impl.uno.res

   Creating library ../../../wntmsci12.pro/lib/ipostgresql_t2.lib and
object ../../../wntmsci12.pro/lib/ipostgresql_t2.exp

libpq.lib(fe-connect.obj) : error LNK2019: unresolved external symbol
_ldap_value_free_len@4 referenced in function _ldapServiceLookup

libpq.lib(fe-connect.obj) : error LNK2019: unresolved external symbol
_ldap_get_values_len@12 referenced in function _ldapServiceLookup

libpq.lib(fe-connect.obj) : error LNK2019: unresolved external symbol
_ldap_first_entry@8 referenced in function _ldapServiceLookup

libpq.lib(fe-connect.obj) : error LNK2019: unresolved external symbol
_ldap_count_entries@8 referenced in function _ldapServiceLookup

libpq.lib(fe-connect.obj) : error LNK2019: unresolved external symbol
_ldap_unbind@4 referenced in function _ldapServiceLookup

libpq.lib(fe-connect.obj) : error LNK2019: unresolved external symbol
_ldap_err2string@4 referenced in function _ldapServiceLookup

libpq.lib(fe-connect.obj) : error LNK2019: unresolved external symbol
_ldap_search_st@32 referenced in function _ldapServiceLookup

libpq.lib(fe-connect.obj) : error LNK2019: unresolved external symbol
_ldap_msgfree@4 referenced in function _ldapServiceLookup

libpq.lib(fe-connect.obj) : error LNK2019: unresolved external symbol
_ldap_result@20 referenced in function _ldapServiceLookup

libpq.lib(fe-connect.obj) : error LNK2019: unresolved external symbol
_ldap_simple_bind@12 referenced in function _ldapServiceLookup

libpq.lib(fe-connect.obj) : error LNK2019: unresolved external symbol
_ldap_init@8 referenced in function _ldapServiceLookup

../../../wntmsci12.pro/bin/postgresql-sdbc-impl.uno.dll : fatal error
LNK1120: 11 unresolved externals

dmake:  Error code 96, while making
'../../../wntmsci12.pro/bin/postgresql-sdbc-impl.uno.dll'

Any idea how I could get this issue resolved?  Do I now need to build
mozilla from sources on Windows, or ...?  How do others build 3.5 on
Windows these days?

Help appreciated.

Kohei

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.