[Date Prev][Date Next]
LDAP Programming (ITS#1802)
Full_Name: Cam Minh Luong
OS: SuSE 7.1 and RedHat 7.1
Submission from: (NULL) (126.96.36.199)
I am attempt wrote a simple LDAP example. That content 9 line below:
and compile it using:
gcc test.c -o test /with test.c is this source file/
But they have a error:
/tmp/cc6Bk4vA.o: In function 'main':
/tmp/cc6Bk4vA.o(.text+0x14): undefined reference to 'ldap_open'
collect2: ld returned 1 exit status.
This message will arrival agian with any ldap function. I had test it on SuSE
7.1 and RedHat 7.1 but the result is the same like above. Please help me if you
now why this happen.
Thank you very much