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


On Thu, Jan 05, 2012 at 02:28:14AM -0500, Kohei Yoshida wrote:

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).

That's a bug that is now fixed (was reported to me over dinner at
FOSDEM). If Mozilla is entirely disabled, PostgreSQL should not try to
use it.

So I decided to enable it to see if it would solve this.

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


That's yet another problem :-(

It seems the build variable LDAPSDKLIB is not (properly) set in
your build... It is supposed to contain "nsldap32v50.lib", which
provides these symbols. Could I see your build environment? (In
particular what is the value of "WITH_LDAP", "LDAPSDKLIB",
"WITH_OPENLDAP").

-- 
Lionel

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.