From owner-freebsd-questions@FreeBSD.ORG Fri Nov 2 11:48:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0CA876AD for ; Fri, 2 Nov 2012 11:48:33 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id AAE7F8FC08 for ; Fri, 2 Nov 2012 11:48:31 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id qA2BmcxO098099; Fri, 2 Nov 2012 06:48:38 -0500 (CDT) Date: Fri, 2 Nov 2012 06:48:38 -0500 (CDT) From: Robert Bonomi Message-Id: <201211021148.qA2BmcxO098099@mail.r-bonomi.com> To: crankycyclops@gmail.com, freebsd-questions@freebsd.org Subject: Re: Autotools, libraries and man pages: oh my! In-Reply-To: <5093539C.8090406@gmail.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2012 11:48:33 -0000 > From owner-freebsd-questions@freebsd.org Fri Nov 2 00:03:38 2012 > Date: Thu, 01 Nov 2012 22:01:16 -0700 > From: James Colannino > To: freebsd-questions@freebsd.org > Subject: Re: Autotools, libraries and man pages: oh my! > > On 11/01/12 21:44, James Colannino wrote: > > [...]I'm able to use autotools on FreeBSD to > > generate configure and Makefile.in, and can use gmake to compile and > > install it. > > > > Unfortunately, the man pages are installed to /usr/local/share/man > > instead of to /usr/local/man, which I thought the tools would've taken > > care of. Also, even though I see my library was successfully compiled > > and installed to /usr/local/lib, when I try to compile a program with > > gcc source.c -ldstring, I get: > > > > /usr/bin/ld: cannot find -ldstring > > Update: I can compile against my dstring library by using the following > line: > gcc source.c -L/usr/local/lib -ldstring. I guess it didn't know to > search /usr/local/lib. man ldconfig