curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Problem linking on mac-os

From: Ben Greear via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 16 Nov 2019 07:12:38 -0800

I have a program called l4helper, that links against a libcurl (and lib-cares) that
I have compiled myself.

The library is in my LD_LIBRARY_PATH, and at any rate was never in /usr/local/lib/libcares.2.dylib

Anyone know why it is trying to load that specific location and how to make it look
in ./local/lib or something like that?

ct-mini1:~ lanforge$ ./l4helper --help
dyld: Library not loaded: /usr/local/lib/libcares.2.dylib
   Referenced from: /Users/lanforge/./l4helper
   Reason: image not found
Abort trap: 6

Thanks,
Ben

-- 
Ben Greear <greearb_at_candelatech.com>
Candela Technologies Inc  http://www.candelatech.com
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2019-11-16