Build and Run problem in xcode...
Charles Heizer
heizer1 at llnl.gov
Thu Feb 8 11:00:47 PST 2007
Huh,
I did the import of ldap header "#import <ldap.h>" in my code and
xcode does the autofill ( code by multiple choice :-) ). Is there a
good/easy way to find out what I'm missing?
Thanks,
Charles
On Feb 8, 2007, at 10:08 AM, Clark Cox wrote:
> 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