[lug] Library locations
Ben Whaley
bwhaley at gmail.com
Wed Feb 6 16:53:26 MST 2008
Jeff,
You should probably would refer to the Filesystem Hierarchy Standard:
http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
If your library is architecture independent, it should go in
/usr/share/lib. If the binaries will live in /usr/bin/ or /usr/sbin/,
put the library in /usr/lib. Otherwise, /usr/local/lib is probably the
right place.
- Ben
On Feb 6, 2008 4:32 PM, Jeffrey Haemer <jeffrey.haemer at gmail.com> wrote:
> I'm building a package: my company's commercial product, so it's our code,
> not something off the web.
>
> It includes a shared library, which I eventually need to install on target
> machines. Off-hand, I'd have guessed it should go into /usr/local/lib, or
> maybe /usr/share/lib. Still, every rpm or Debian package installed on the
> boxes I have at hand installs libraries right into /usr/lib, which makes me
> suspect I'm probably wrong.
>
> Can someone explain where I should install my library and why? I seem to be
> thinking about it fuzzily.
>
> --
> Jeffrey Haemer <jeffrey.haemer at gmail.com>
> 720-837-8908 [cell]
> http://goyishekop.blogspot.com
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
>
More information about the LUG
mailing list