A programmer here is trying to compile test1.c by typing:
/usr/vac/bin/xlc_r -I/usr/ldap/include test1.c -L/usr/ldap/lib
He gets:
ld: 0711-317 ERROR: Undefined symbol: .ldap_init
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
He states that the ldap_init() function being called in test1.c is included in the ldap.h file (specified by the include path above).
Can someone point me in the right direction on this. I'm not a C programmer. This is on an AIX 5.1 system. Thanks.
/usr/vac/bin/xlc_r -I/usr/ldap/include test1.c -L/usr/ldap/lib
He gets:
ld: 0711-317 ERROR: Undefined symbol: .ldap_init
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
He states that the ldap_init() function being called in test1.c is included in the ldap.h file (specified by the include path above).
Can someone point me in the right direction on this. I'm not a C programmer. This is on an AIX 5.1 system. Thanks.