Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2008 09:09:36 -0500
From:      Gordon devel <user0@tkgeomap.org>
To:        Mel <fbsd.questions@rachie.is-a-geek.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Where to have my .so files install?
Message-ID:  <20080419140936.GA856@localhost.ok.cox.net>
In-Reply-To: <200804191121.26955.fbsd.questions@rachie.is-a-geek.net>
References:  <480938D0.8040100@crackmonkey.us> <48093BA9.1050800@gmail.com> <20080418184728.0cb51e60@epia-2.farid-hajji.net> <200804191121.26955.fbsd.questions@rachie.is-a-geek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080419140936.GA856>