linking shared libraries
linking shared libraries
- Subject: linking shared libraries
- From: rohan a <email@hidden>
- Date: Tue, 9 Jun 2009 17:23:59 +0530
Hello All,
I have a few shared libraries that I use to create my
executables at link time. During linking they are at a particular
location. The binary is created by taking the shared library from
there.
However, at run time the same binary needs the shared library from
another location (this is post installation, on the user machine)
What option do I need to pass to ld so that it knows what is the link
time path and the run time path?
With Solaris, the -h option is passed to ld.
What is the similar option for Mac OS?
Thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden