Install path setting for dylibs in /usr/local/lib?
Install path setting for dylibs in /usr/local/lib?
- Subject: Install path setting for dylibs in /usr/local/lib?
- From: Xochitl Lunde <email@hidden>
- Date: Wed, 2 Jun 2010 14:27:14 -0500
When I create a BSD dynamic library
in a blank project, Xcode assigns the default Installation Directory as
/usr/local/lib. Is this really where I should be putting my daemon's
shared libraries? I don't even have that folder on my system, so
I guess nothing else that I've installed has tried to do that, which doesn't
make me very confident about choosing that for my own project.
I had a thread on the installer dev
list awhile back about where daemons should reside on the file system,
and the result I ended up with is from the 'hier' man page, in /usr/libexec.
I'm not sure if I should make a /usr/local/libexec, this seems weird
but I'm inexperienced at the general rules of the linux file system. I
have reviewed the software deployment documentation and read over the TN
2083 Daemons and Agents many times, as well as the launchd and launchctl
man pages, but I haven't noted any advice on where to put daemons and their
libraries other than the 'hier' man page.
I have inspected many application packages
from downloaded programs, and I see that some of them have their shared
libraries inside the bundle in the MacOS folder, sometimes under a 'lib'
folder, sometimes just there with the executable. Most of the 'background'
programs that I've been able to download look like they use the deprecated
StartupItems method to start their daemons. I want to put my libraries
with my daemon, but it again seems like it would be weird to put them in
/usr/libexec.
1. Should I really put my daemon's
libraries in /usr/local/lib?
2. Is there a way to tell
Xcode that I'm making a daemon specifically?
3. Does Xcode have other default
rules about where to put things that I might be able to reference?
Sorry if this is too off topic, but
I am really curious about Xcode's path choice for /usr/local/lib.
Thanks,
Xo _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden