Link to home
Start Free TrialLog in
Avatar of deluxernd
deluxernd

asked on

Program compilation & installation fundamentals - Part III

Could you answer the below basic questions on program compilation and linking on MAC OS

Given a working executable, how to identify the dependent libraries?
example: I've ffmpeg.org project executable. It is dependent on libraries such as libfreetype and others. How to identify these other libraries?

If I place all the dependent libraries in the same directory as that of its executable, would the executable pick up these libraries instead of the system ones? If not, how to enable such behavior?

~Rider
ASKER CERTIFIED SOLUTION
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of deluxernd
deluxernd

ASKER

Is there a way we could specify relative path for nominated directory ? -Wl, thissrc/lib.

Please advise.