From owner-freebsd-questions@FreeBSD.ORG Sat Apr 19 14:09:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94F85106564A for ; Sat, 19 Apr 2008 14:09:22 +0000 (UTC) (envelope-from user0@tkgeomap.org) Received: from eastrmmtao101.cox.net (eastrmmtao101.cox.net [68.230.240.7]) by mx1.freebsd.org (Postfix) with ESMTP id 36AD08FC0A for ; Sat, 19 Apr 2008 14:09:22 +0000 (UTC) (envelope-from user0@tkgeomap.org) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao101.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080419140921.VVGI880.eastrmmtao101.cox.net@eastrmimpo01.cox.net>; Sat, 19 Apr 2008 10:09:21 -0400 Received: from localhost.my.domain ([68.97.41.207]) by eastrmimpo01.cox.net with bizsmtp id FS9L1Z00K4UAjD802S9Ll4; Sat, 19 Apr 2008 10:09:21 -0400 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.2/8.14.2) with ESMTP id m3JE9aHH000930; Sat, 19 Apr 2008 09:09:36 -0500 (CDT) (envelope-from user0@tkgeomap.org) Received: (from tkgeomap@localhost) by localhost.my.domain (8.14.2/8.14.2/Submit) id m3JE9aYx000929; Sat, 19 Apr 2008 09:09:36 -0500 (CDT) (envelope-from user0@tkgeomap.org) X-Authentication-Warning: localhost.my.domain: tkgeomap set sender to user0@tkgeomap.org using -f Date: Sat, 19 Apr 2008 09:09:36 -0500 From: Gordon devel To: Mel Message-ID: <20080419140936.GA856@localhost.ok.cox.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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804191121.26955.fbsd.questions@rachie.is-a-geek.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Where to have my .so files install? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2008 14:09:22 -0000 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