Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2001 01:33:09 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Jonathan Fortin <jfortin@akalink.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Ldconfig Issue
Message-ID:  <20010516013309.A26749@dan.emsphone.com>
In-Reply-To: <007601c0ddbf$fbd360c0$020a10ac@node00>; from "Jonathan Fortin" on Wed May 16 00:23:39 GMT 2001
References:  <007601c0ddbf$fbd360c0$020a10ac@node00>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 16), Jonathan Fortin said:
> I got a couple of static librarys in /usr/local/lib (.a) and ldconfig
> is not picking them up for some reason and it works fine when i use
> -L/usr/local/lib -lgd.

ldconfig sets paths for the runtime linker to help it find shared
libraries.  Static libraries are linked at compile time, so ldconfig
doesn't do anything.

Just use -L /usr/local/lib; that's what it's for.

-- 
	Dan Nelson
	dnelson@emsphone.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?20010516013309.A26749>