Where to have my .so files install?

Gordon devel user0 at tkgeomap.org
Sat Apr 19 14:09:22 UTC 2008


On Sat, Apr 19, 2008 at 11:21:25AM +0200, Mel wrote:
> > > Adam J Richardson wrote:
> > > > Hi all.
> > > >
> > > > I'm writing a program which uses .so files as plugins. Now I need
> > > > to decide where on the filesystem to install the plugins. I don't
> > > > want to clutter the system locations like /lib and /usr/lib. Can
> > > > anyone suggest a decent install location? Google doesn't help much
> > > > with this.

When I'm developing stuff, I often put everything in ${HOME}/local.  You
will probably have to set LD_LIBRARY_PATH to ${HOME}/local/lib for the
linker to see the libraries.  When I am satisfied that I have a mature
application or libary, I install to /usr/local.

Happy coding!
Gordon


More information about the freebsd-questions mailing list