From owner-freebsd-questions Thu Jun 17 19:34: 2 1999 Delivered-To: freebsd-questions@freebsd.org Received: from icicle.winternet.com (icicle.winternet.com [198.174.169.13]) by hub.freebsd.org (Postfix) with ESMTP id D1D6A155BA for ; Thu, 17 Jun 1999 19:33:58 -0700 (PDT) (envelope-from nrahlstr@mail.winternet.com) Received: from tundra.winternet.com (nrahlstr@tundra.winternet.com [198.174.169.11]) by icicle.winternet.com (8.9.3/8.9.3) with ESMTP id VAA00728; Thu, 17 Jun 1999 21:33:57 -0500 (CDT) SMTP "HELO" (ESMTP) greeting from tundra.winternet.com But _really_ from :: nrahlstr@tundra.winternet.com [198.174.169.11] SMTP "MAIL From" = nrahlstr@mail.winternet.com (Nathan Ahlstrom) SMTP "RCPT To" = Received: (from nrahlstr@localhost) by tundra.winternet.com (8.8.7/8.8.4) id VAA13762; Thu, 17 Jun 1999 21:33:40 -0500 (CDT) Message-ID: <19990617213340.A13740@winternet.com> Date: Thu, 17 Jun 1999 21:33:40 -0500 From: Nathan Ahlstrom To: Dan Nelson , Brandon Fosdick Cc: FreeBSD Questions Subject: Re: Linking libraries on 3.2-S Mail-Followup-To: Dan Nelson , Brandon Fosdick , FreeBSD Questions References: <37697EC6.4FA99E8@glue.umd.edu> <19990617183928.A44151@portage.winternet.com> <376996EE.887EADCB@glue.umd.edu> <19990617213029.B9746@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990617213029.B9746@dan.emsphone.com>; from Dan Nelson on Thu, Jun 17, 1999 at 09:30:29PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Oh yeah, duh! ;-) So for compiling his only option is the -L flag? That clears some confusion up hopefully. Thanks, Nathan > You're confusing run-time link paths with compile-time link paths. > ldconfig is only used at runtime, to resolve shared library > dependencies. -L flags on the gcc line are only used at link time, to > resolve both shared and static library dependencies. > > ldconfig paths can be specified in /etc/rc.conf. Unfortunately, > there's no place to add compile-time library paths. Most software uses > autoconf to scan common directories for the libraries it needs. > > -Dan Nelson > dnelson@emsphone.com -- Nathan Ahlstrom FreeBSD: http://www.FreeBSD.org/ nrahlstr@winternet.com PGP Key ID: 0x67BC9D19 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message