B
bash
Hello,
I am compiling a CPP code using Visual studion .net 2003. I get the
following error, despite having windldap.h and wldap32.dll in my include and
lib paths. Here is the error.
uuid.lib rpcrt4.lib ole32.lib oleaut32.lib uuid.lib
Creating library libsq00.lib and object libsq00.exp
libq00.lib(ootb.obj) : error LNK2019: unresolved external symbol
_ldap_unbind@4
referenced in function _q00UsrStatGetUsrStatObject
libq00.lib(LdapAuth.obj) : error LNK2001: unresolved external symbol
_ldap_unbin
d@4
libq00.lib(sig.obj) : error LNK2001: unresolved external symbol _ldap_unbind@4
libq00.lib(ootb.obj) : error LNK2019: unresolved external symbol
_ldap_simple_bi
nd@12 referenced in function _q00UsrStatGetUsrStatObject
libq00.lib(LdapAuth.obj) : error LNK2001: unresolved external symbol
_ldap_simpl
e_bind@12
libq00.lib(sig.obj) : error LNK2001: unresolved external symbol
_ldap_simple_bin
d@12
libq00.lib(ootb.obj) : error LNK2019: unresolved external symbol
_ldap_init@8 re
ferenced in function _q00UsrStatGetUsrStatObject
libq00.lib(LdapAuth.obj) : error LNK2001: unresolved external symbol
_ldap_init@
8
libq00.lib(sig.obj) : error LNK2001: unresolved external symbol _ldap_init@8
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_ber_f
ree@8 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_memfr
ee@4 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_value
_free@4 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_get_v
alues@12 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_next_
attribute@12 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_first
_attribute@12 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_first
_entry@8 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_msgfr
ee@4 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_resul
t@20 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_perro
r@8 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_get_l
derrno@12 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_searc
h@24 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_set_o
ption@12 referenced in function _q00q0LDQryq0DoLDAP
libsq00.dll : fatal error LNK1120: 16 unresolved externals
Here is what i have in my lib and include environment variables.
lib ->c:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\Lib\;C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\;C:\Program Files\VC98\lib\;C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\PlatformSDK\Lib\
include ->c:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\include\;c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\;C:\Program Files\VC98\Include\;C:\Program Files\Microsoft
Visual Studio .NET 2003\Vc7\PlatformSDK\Include\
Thanks for your help
I am compiling a CPP code using Visual studion .net 2003. I get the
following error, despite having windldap.h and wldap32.dll in my include and
lib paths. Here is the error.
uuid.lib rpcrt4.lib ole32.lib oleaut32.lib uuid.lib
Creating library libsq00.lib and object libsq00.exp
libq00.lib(ootb.obj) : error LNK2019: unresolved external symbol
_ldap_unbind@4
referenced in function _q00UsrStatGetUsrStatObject
libq00.lib(LdapAuth.obj) : error LNK2001: unresolved external symbol
_ldap_unbin
d@4
libq00.lib(sig.obj) : error LNK2001: unresolved external symbol _ldap_unbind@4
libq00.lib(ootb.obj) : error LNK2019: unresolved external symbol
_ldap_simple_bi
nd@12 referenced in function _q00UsrStatGetUsrStatObject
libq00.lib(LdapAuth.obj) : error LNK2001: unresolved external symbol
_ldap_simpl
e_bind@12
libq00.lib(sig.obj) : error LNK2001: unresolved external symbol
_ldap_simple_bin
d@12
libq00.lib(ootb.obj) : error LNK2019: unresolved external symbol
_ldap_init@8 re
ferenced in function _q00UsrStatGetUsrStatObject
libq00.lib(LdapAuth.obj) : error LNK2001: unresolved external symbol
_ldap_init@
8
libq00.lib(sig.obj) : error LNK2001: unresolved external symbol _ldap_init@8
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_ber_f
ree@8 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_memfr
ee@4 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_value
_free@4 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_get_v
alues@12 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_next_
attribute@12 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_first
_attribute@12 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_first
_entry@8 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_msgfr
ee@4 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_resul
t@20 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_perro
r@8 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_get_l
derrno@12 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_searc
h@24 referenced in function _q00q0LDQryq0DoLDAP
libq00.lib(LdapAuth.obj) : error LNK2019: unresolved external symbol
_ldap_set_o
ption@12 referenced in function _q00q0LDQryq0DoLDAP
libsq00.dll : fatal error LNK1120: 16 unresolved externals
Here is what i have in my lib and include environment variables.
lib ->c:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\Lib\;C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\;C:\Program Files\VC98\lib\;C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\PlatformSDK\Lib\
include ->c:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\include\;c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\;C:\Program Files\VC98\Include\;C:\Program Files\Microsoft
Visual Studio .NET 2003\Vc7\PlatformSDK\Include\
Thanks for your help