title: Conflict between OpenLDAP's libldap and Oracle's occi library
body: <p>I'm writing a small tool to do some checks on the data from one Oracle database and on LDAP.
  Thinking of performance I've decided to go with C/C++, therefore I'm using the open ldap library and the oracle occi library. Now putting together the wrappers for each library I noticed that functions from the ldap library fail if I link my program with the oracle library. Going further I see there are functions defined in the oracle library with the same name as they're defined in the openldap library.
  Now I did not find much on web on this issue, some advise to link first with the ldap library but that doesn't do it, it doesn't fail on init() anymore but it doesn't go past connect().</p>
  
  <p>I'm doing the developing on Linux (Ubuntu), and the libraries I use are all C.
  Does anyone have any advice on this? There must be someone else that have had this issue.</p>
  
  <p>Any thoughts are most welcomed.
  Many thanks</p>