Identifying dependencies used via dlopen()
Identifying dependencies used via dlopen()
Posted Apr 24, 2024 9:11 UTC (Wed) by farnz (subscriber, #17727)In reply to: Identifying dependencies used via dlopen() by Cyberax
Parent article: Identifying dependencies used via dlopen()
I was referring not to dlopen, but to libraries that are lazily linked in to the binary via Mach-O dynamic linking; at the first use of a symbol from the library, the library's deferred dynamic initialization code is run.
Posted Apr 24, 2024 11:00 UTC (Wed)
by Cyberax (✭ supporter ✭, #52523)
[Link]
https://developer.apple.com/forums/thread/131252
> That feature has been removed from the linker. The only work around is to not link with library and instead dlopen() it at runtime and then use dlsym() to find the functions you want from it.
So yes, it's was a horrible feature that was barely used. So Apple did the right thing and removed it.
Identifying dependencies used via dlopen()