Autotools, libraries and man pages: oh my!

Robert Bonomi bonomi at mail.r-bonomi.com
Fri Nov 2 11:48:33 UTC 2012


> From owner-freebsd-questions at freebsd.org  Fri Nov  2 00:03:38 2012
> Date: Thu, 01 Nov 2012 22:01:16 -0700
> From: James Colannino <crankycyclops at gmail.com>
> To: freebsd-questions at 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



More information about the freebsd-questions mailing list