Date: Sat, 13 Jul 2002 02:17:54 -0700 From: Adam Weinberger <adam@vectors.cx> To: Peter Ulrich Kruppa <root@pukruppa.de> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to find libs ? Message-ID: <20020713091754.GB65887@vectors.cx> In-Reply-To: <20020713101155.V30483-100000@small.pukruppa.de> References: <20020713101155.V30483-100000@small.pukruppa.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020713091754.GB65887>