cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Link issues on Mac OS X

From: Ramesh Nagul <ramesh.nagul_at_protexis.com>
Date: Tue, 16 Sep 2008 12:47:57 -0700

Hi Dan,

I was able to link to the library ok, but when I call
curl_global_init(CURL_GLOBAL_ALL) it crashes on my system. Why would it
crash?

This is the message I get GDB: Program received signal: "EXC_BAD_ACCESS"

Any help?

Ramesh

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Ramesh Nagul
Sent: Thursday, September 04, 2008 4:59 PM
To: 'libcurl development'
Subject: RE: Link issues on Mac OS X

I think I did fall into the config-mac.h pit. I finally came to my senses
and used config.h and was able to build my library and link successfully.

Thx Dan!!! :)

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Dan Fandrich
Sent: Thursday, September 04, 2008 4:22 PM
To: 'libcurl development'
Subject: Re: Link issues on Mac OS X

On Thu, Sep 04, 2008 at 04:03:50PM -0700, Ramesh Nagul wrote:
> Thanks for the hint, now it looks like I am linking to my library, but now
I
> am running into another link error.
> Curl_Handler_ldap even though the statement
>
> #define CURL_DISABLE_LDAP 1
>
> is there in the default config-mac.h

config-mac.h is used for Mac OS 9. OS X uses configure and therefore the
generated lib/config.h file.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-09-16