From owner-freebsd-ports@FreeBSD.ORG Wed May 14 12:24:07 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9640437B401 for ; Wed, 14 May 2003 12:24:07 -0700 (PDT) Received: from thuis.piwebs.com (t-indiv5-84.athome.tue.nl [131.155.241.84]) by mx1.FreeBSD.org (Postfix) with SMTP id 0F31243F75 for ; Wed, 14 May 2003 12:24:05 -0700 (PDT) (envelope-from avleeuwen@piwebs.com) Received: (qmail 79362 invoked by uid 85); 14 May 2003 19:25:22 -0000 Received: from avleeuwen@piwebs.com by thuis.piwebs.com by uid 82 with qmail-scanner-1.15 (uvscan: v4.1.60/v4210. spamassassin: 2.x. Clear:SA:0(-2.6/5.0):. Processed in 11.002427 secs); 14 May 2003 19:25:22 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Received: from unknown (HELO 192.168.0.109) (192.168.0.109) by 0 with SMTP; 14 May 2003 19:25:10 -0000 From: Arjan van Leeuwen To: ports@FreeBSD.ORG Date: Wed, 14 May 2003 21:23:52 +0200 User-Agent: KMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305142123.52161.avleeuwen@piwebs.com> Subject: Problems with Perl port on -CURRENT X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 19:24:07 -0000 I'm trying to upgrade my lang/perl5 port on -CURRENT, but the port fails in the configure phase. It seems to want to use -ldl (why?). Is there an easy way to fix this? Checking for optional libraries... What libraries to use? [-ldl -lm -lc -lcrypt -lutil] What optimizer/debugger flag should be used? [-O2 -pipe -mfpmath=sse -march=athlon-xp] Any additional cc flags? [-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing -I/usr/local/include] Let me guess what the preprocessor flags are... Any additional ld flags (NOT including libraries)? [-Wl,-E -L/usr/local/lib] Checking your choice of C compiler and flags for coherency... I've tried to compile and run the following simple program: #include int main() { printf("Ok\n"); exit(0); } I used the command: /usr/local/bin/gcc -o try -O2 -pipe -mfpmath=sse -march=athlon-xp -DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing -I/usr/local/include -Wl,-E -L/usr/local/lib try.c -ldl -lm -lc -lcrypt -lutil ./try and I got the following output: /usr/bin/ld: cannot find -ldl I can't compile the test program. You have a BIG problem. Shall I abort Configure [y] Ok. Stopping Configure. Arjan