Subject: Re: cyrus compile linker problem
To: Ryan La Riviere <larz@cbis.ece.drexel.edu>
From: Johnny C. Lam <jlam@netbsd.org>
List: port-mac68k
Date: 12/14/2001 10:34:01
On Thu, Dec 13, 2001 at 11:28:09AM -0500, Ryan La Riviere wrote:
> 
> My error is the following:
> ---
> Running Mkbootstrap for Cyrus::IMAP ()
> chmod 644 IMAP.bs
> rm -f blib/arch/auto/Cyrus/IMAP/IMAP.so
> LD_RUN_PATH="/usr/local/src/pkgsrc/mail/cyrus-imapd/work/cyrus-imapd-2.0.16/perl/imap/../../lib:/usr/local/src/pkgsrc/mail/cyrus-imapd/work/.buildlink/lib" ld  -Bshareable  -L/usr/local/lib -L/usr/local/src/pkgsrc/mail/cyrus-imapd/work/.buildlink/lib  -Wl,-R/usr/pkg/lib IMAP.o  -o blib/arch/auto/Cyrus/IMAP/IMAP.so   -L/usr/local/src/pkgsrc/mail/cyrus-imapd/work/cyrus-imapd-2.0.16/perl/imap/../../lib -lcyrus -L/usr/local/src/pkgsrc/mail/cyrus-imapd/work/.buildlink/lib -lsasl -lssl -lcrypto 
> ld: invalid command option `-Wl,-R/usr/pkg/lib'
> *** Error code 1
> ---

How recent is your pkgsrc?  This is the problem described in pkg/14907, and
I committed a possible fix for this in rev. 1.8 of lang/perl5/buildlink.mk
on 11 December 2001, but I haven't gotten any feedback yet on whether it
fixes the problem.

	Cheers,

	-- Johnny Lam <jlam@netbsd.org>