From owner-freebsd-questions@FreeBSD.ORG Fri Apr 11 07:45:07 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C159037B401 for ; Fri, 11 Apr 2003 07:45:07 -0700 (PDT) Received: from smtp-out.comcast.net (smtp-out.comcast.net [24.153.64.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46D5043F75 for ; Fri, 11 Apr 2003 07:45:07 -0700 (PDT) (envelope-from tsimmons77@comcast.net) Received: from comcast.net (pcp400229pcs.parkvl01.md.comcast.net [68.34.21.85]) by mtaout11.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HD6005VXOUUOB@mtaout11.icomcast.net> for freebsd-questions@freebsd.org; Fri, 11 Apr 2003 10:42:31 -0400 (EDT) From: "Timothy R. Simmons" To: freebsd-questions@freebsd.org Message-id: <3EBFA476.8070905@comcast.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 Subject: Greetings! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Fri, 11 Apr 2003 14:45:08 -0000 X-Original-Date: Mon, 12 May 2003 09:41:10 -0400 X-List-Received-Date: Fri, 11 Apr 2003 14:45:08 -0000 I have a (hopefully) simple question, so please forgive my ignorance. But heck, we all have to start somewhere. Okay, I've been using FreeBSD for about a month now, and am tinkeringly famliar with C and C++ coding, which is to say, I usetacould. Anyway, I've been installing some programs designed primarily for linux systems, which seem to use an ld.so.conf file in /etc to point to libraries, which updates, I'm guessing, LD_LIBRARY_PATH environment variable. Neither of these seem to exist in the BSD world, so here's my question. How do I update the path where libraries and header files are searched for? BSD seems to like to put things in /usr/lib, /usr/bin, etc.. where as the programs I'm installing are placing these files, by default, in /usr/local/lib, /usr/local/bin, etc., which isn't IN my path for lib and bin files. I can see where it sets the path on boot, but can't manage to figure out how to change it. Any help would be appreciated. - Tim