Date: Sun, 23 Apr 2006 04:15:44 +0300 From: "ph rhole oper" <slitbit@fastmail.fm> To: "Andrew Pantyukhin" <infofarmer@gmail.com>, freebsd-questions@freebsd.org Subject: Re: port building & linking Message-ID: <1145754944.27350.259695638@webmail.messagingengine.com> In-Reply-To: <cb5206420604220926h1d9b7d1j57ec22ab92a375e9@mail.gmail.com> References: <1145613149.19574.259591981@webmail.messagingengine.com> <cb5206420604220926h1d9b7d1j57ec22ab92a375e9@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 22 Apr 2006 20:26:28 +0400, "Andrew Pantyukhin" <infofarmer@gmail.com> said: > On 4/21/06, ph rhole oper <slitbit@fastmail.fm> wrote: > > I need to build a port (mail/cyrus-imapd23) and add support for the > > mit-kerberos implementation to it. > > It needs to link to the -lkrb5 library.There are two libkrb5*.so in my > > system: > > the heimdal one (/usr/lib/libkrb5*.so) and the mit one > > (/usr/local/lib/libkrb5*.so). > > The configure script, searching for -lkrb5, finds /usr/lib/libkrb5.so > > first, and links to the heimdal implementation. > > Is there any way i can force it to only link against > > /usr/local/lib/libkrb5.so?I need the mit implementation. > > > > > > simon. > > > > -- > > http://www.fastmail.fm - Access your email from home and the web > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > Are you talking about cyrus-imapd or cyrus-sasl? cyrus-sasl cyrus-imapd23 > has some options in its Makefile, like KRB5_HOME. interesting option but i didnt see anything like this for cyrus-imapd.I solved the problem with a rather drastic way though: cd /usr/lib && for i in *krb5* *com_err* *gss*;do mv -v $i heimdal.$i;done && ldconfig -R && export LDFLAGS="-L/usr/local/lib -lkrb5 -lkrb5support -lcom_err -lgssapi" && cd /usr/ports/cyrus-imapd23/ && make install just temporarily to force it use the /usr/local/lib/* libraries. simon. -- http://www.fastmail.fm - Accessible with your email software or over the web
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1145754944.27350.259695638>