From owner-freebsd-current Fri Sep 4 15:06:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA13710 for freebsd-current-outgoing; Fri, 4 Sep 1998 15:06:48 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA13705 for ; Fri, 4 Sep 1998 15:06:45 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.8/8.8.7) id IAA12946 for current@FreeBSD.org; Sat, 5 Sep 1998 08:19:12 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199809042219.IAA12946@cimlogic.com.au> Subject: ELF build problems with perl5 To: current@FreeBSD.ORG Date: Sat, 5 Sep 1998 08:19:12 +1000 (EST) X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you are trying to build world on an elf system and you use NOPERL and a symbolic link from /usr/bin/perl to /usr/local/bin/perl5, your build _will_ barf. The problem is that perl5 configures itself for a particular library path (libpth in it's configure) at build time and appends extra search paths from LD_LIBRARY_PATH at runtime. If perl5 is executed during a `make world', it will definititely use the wrong path to load shared objects. Our build system goes to a lot of trouble to set the paths so that tools like ld DTRT. AFAIK there is no way to tell perl5, in the amount of detail required, how to behave at runtime. This is the problem that Mark Murray has been having with the integration of the contribified perl5 into the main tree. I believe it is a software design issue that should be solved in the perl DynaLoader code before we adopt perl5 for main stream use. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message