Build and Run problem in xcode...

Clark Cox clarkcox3 at gmail.com
Thu Feb 8 10:08:11 PST 2007


On 2/8/07, Charles E. Heizer <heizer1 at llnl.gov> wrote:
> Hello,
> I'm brand new to C and ObjC using xcode, i've been in java land for a
> while and I wanted to do something new.
>
> So, I found some example code on using ldap api and wrote my little
> test tool which connects to our ldap(AD) server and will do a query.
> The app appears to compile just fine but when I run it I get a error:
>
> ZeroLink: unknown symbol '_ldap_open'

One unfortunate side-effect of using ZeroLink is that many linktime
errors become runtime errors due to the way that parts of the code are
dynamically linked at runtime. Had you built this without using
ZeroLink, you would've gotten an error at buildtime.

Essentially, you haven't linked against the library that contains the
ldap_open function.

-- 
Clark S. Cox III
clarkcox3 at gmail.com


More information about the MacOSX-dev mailing list