From owner-freebsd-questions Sat Jul 13 7:53:31 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 67EFC37B400 for ; Sat, 13 Jul 2002 07:53:26 -0700 (PDT) Received: from moutvdom00.kundenserver.de (moutvdom00.kundenserver.de [195.20.224.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 338B743E42 for ; Sat, 13 Jul 2002 07:53:25 -0700 (PDT) (envelope-from root@pukruppa.de) Received: from [212.227.126.180] (helo=mrvdomng5.kundenserver.de) by moutvdom00.kundenserver.de with esmtp (Exim 2.12 #3) id 17TOGu-0006vP-00; Sat, 13 Jul 2002 16:53:20 +0200 Received: from [217.1.114.12] (helo=pD901720C.dip.t-dialin.net) by mrvdomng5.kundenserver.de with esmtp (Exim 3.35 #2) id 17TOGu-0007VT-00; Sat, 13 Jul 2002 16:53:20 +0200 Date: Sat, 13 Jul 2002 16:53:22 +0000 (GMT) From: Peter Ulrich Kruppa To: Adam Weinberger Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to find libs ? In-Reply-To: <20020713091754.GB65887@vectors.cx> Message-ID: <20020713164256.G13946-100000@small.pukruppa.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Hi Adam! On Sat, 13 Jul 2002, Adam Weinberger wrote: > 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 Thanks for your hint. Actually I have to use something like # env LDFLAGS=-L/usr/include/lib ./configure or # ./configure LDFLAGS=-L/usr/include/lib I found these things described in # man make I think I can work out the rest on my own - sooner or later :-) Regards, Uli. > 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 > *-----------------------------------* * Peter Ulrich Kruppa * * - Wuppertal - * * Germany * *-----------------------------------* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message