From owner-freebsd-questions Sat Jul 13 2:17:56 2002 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 A2AF537B400 for ; Sat, 13 Jul 2002 02:17:52 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5411443E3B for ; Sat, 13 Jul 2002 02:17:52 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (localhost [127.0.0.1]) by vectors.cx (8.12.4/8.12.4) with ESMTP id g6D9Hs2Q083247; Sat, 13 Jul 2002 02:17:54 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.4/8.12.4/Submit) id g6D9HsmH083246; Sat, 13 Jul 2002 02:17:54 -0700 (PDT) Date: Sat, 13 Jul 2002 02:17:54 -0700 From: Adam Weinberger To: Peter Ulrich Kruppa Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to find libs ? Message-ID: <20020713091754.GB65887@vectors.cx> References: <20020713101155.V30483-100000@small.pukruppa.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020713101155.V30483-100000@small.pukruppa.de> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG find where the library is located. without loss of generality, let the library be in /usr/include/lib. when you compile the port, or run configure or make or whatever, try: CFLAGS+=-L/usr/include/lib make/configure/whatever command if that doesn't work (i.e. the makefile doesn't honor CFLAGS or overwrites it, edit the Makefile and find where it sets the flags for the particular part of the build it's b0rking on. add -L/usr/include/lib to that section. you can go through Makefiles yourself. the only important piece of information is: you can tell it to look in a dir for a library by passing it -L/path/to/libs -Adam >> (07.13.2002 @ 0318 PST): Peter Ulrich Kruppa said, in 0.6K: << > Hi, > > this is sort of general question. > Sometimes configure / make fails and complains about a > missing library, which definitely exists on my system. > > How can I make it visible for the installation process? > Is there some sort of path variable I can set? > Do I have to edit the Makefile? > > Thanks for your answers. > > Uli. > > *-----------------------------------* > * Peter Ulrich Kruppa * > * - Wuppertal - * > * Germany * > *-----------------------------------* > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > >> end of "How to find libs ?" from Peter Ulrich Kruppa << -- "Oh good, my dog found the chainsaw." -Lilo Adam Weinberger adam@vectors.cx http://www.crackula.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message