Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Installing a library



Hello,

I hope this is not a FAQ; I can't find it if it is.

I have a library that I build and install on various Unix machines (Sun, SGI, Linux/x86) and I've ported it to OS/X. A very simple task, mostly. I have made a .pkg package and it looks really nice, but I'm installing in /usr/local/{bin,lib,sbin,...} and then installing a second package that depends on the library. If users have /usr/local/bin on PATH, it all works great, but most users don't.

Where should a library be installed? Is it a 'Framework?' If so, where can I get documentation about their organization? I looked at the Frameworks installed on my machine and only one (stuffit) actually had the libs in there.

Suppose I do put the lib in Library (seems reasonable), what about any executable scripts that are really part of it (for example, I have a -config script that reports the version, et c.). Will executables in Library be found?

Thanks,
James
--
James Gallagher                jgallagher at opendap.org
OPeNDAP, Inc                   406.723.8663

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.