From owner-freebsd-questions@FreeBSD.ORG Fri Apr 11 17:54:03 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 7353137B401 for ; Fri, 11 Apr 2003 17:54:03 -0700 (PDT) Received: from mail.destar.net (240-7-237-24.gci.net [24.237.7.240]) by mx1.FreeBSD.org (Postfix) with SMTP id 6698843F75 for ; Fri, 11 Apr 2003 17:54:02 -0700 (PDT) (envelope-from jonr@destar.net) Received: (qmail 98834 invoked by uid 5000); 12 Apr 2003 00:47:37 -0000 Received: from unknown (HELO ?192.168.1.101?) (192.168.1.1) by mail.destar.net with SMTP; 12 Apr 2003 00:47:37 -0000 From: Jon Reynolds To: freebsd-questions@freebsd.org In-Reply-To: <3EBFA476.8070905@comcast.net> References: <3EBFA476.8070905@comcast.net> Content-Type: text/plain Organization: Message-Id: <1050108564.1495.41.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3 Date: 11 Apr 2003 16:49:24 -0800 Content-Transfer-Encoding: 7bit Subject: Re: 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: , X-List-Received-Date: Sat, 12 Apr 2003 00:54:03 -0000 On Mon, 2003-05-12 at 05:41, Timothy R. Simmons wrote: > 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 > Have you tried using the linux compatibility emulator? It is in /usr/ports/emulators/linux_base. Maybe that is what your are looking for. -- Jon Reynolds