Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ldconfig equivalent in Mac OS X?

Is there a parallel command to Linux's LDCONFIG for Mac OS X's Terminal?

like image 613
Tomer Lichtash Avatar asked Sep 20 '09 13:09

Tomer Lichtash


People also ask

Does OSX use BSD?

FreeBSD (an open source Unix-like OS) and Apple's Mac OS use similar BSD functionality but take different approaches. FreeBSD implements a traditional compact monolithic Unix kernel, whereas Mac OS builds the BSD Unix functionality on top of the Mach microkernel.

Is Mac OS X based on FreeBSD?

The core of Apple's Mac OS X (and its predecessor NextStep) is Darwin, which contains a lot of BSD code, especially FreeBSD 5 code.

Which BSD is Mac based on?

Mac OS X, in turn, gave rise to the mobile iOS. Both Apple operating systems still include code files tagged with the NeXt name -- and both are directly descended from a version of UNIX called the Berkeley System Distribution, or BSD, created at the University of California, Berkeley in 1977. >

What is LDD on Mac?

ldd uses ld to load executable files, and recursively loads dynamically-linked libraries. So using ldd requires being on the target system (e.g., Linux). Thus, ldd cannot be used for ELF files on macOS.


1 Answers

Yes. Just run:

sudo update_dyld_shared_cache

like image 121
Gal Bracha Avatar answered Sep 20 '22 11:09

Gal Bracha