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
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to