From owner-freebsd-questions@FreeBSD.ORG Tue Oct 4 12:54:01 2005 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2404016A41F for ; Tue, 4 Oct 2005 12:54:01 +0000 (GMT) (envelope-from mark@antsclimbtree.com) Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BB0D43D45 for ; Tue, 4 Oct 2005 12:54:00 +0000 (GMT) (envelope-from mark@antsclimbtree.com) Received: from pimout4-ext.prodigy.net (pimout4-int.prodigy.net [207.115.4.203]) by ylpvm29.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id j94CsGt7007566 for ; Tue, 4 Oct 2005 08:54:16 -0400 X-ORBL: [69.232.30.131] Received: from lilbuddy.antsclimbtree.com (adsl-69-232-30-131.dsl.snfc21.pacbell.net [69.232.30.131]) by pimout4-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id j94CrwEr130654 for ; Tue, 4 Oct 2005 08:53:59 -0400 Received: from ip193-65-51-96.cust.eunet.fi ([193.65.51.96]) by lilbuddy.antsclimbtree.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.53 (FreeBSD)) id 1EMmJ9-000DfV-7Z for questions@FreeBSD.org; Tue, 04 Oct 2005 05:54:19 -0700 Mime-Version: 1.0 (Apple Message framework v734) In-Reply-To: <44achq3cnw.fsf@be-well.ilk.org> References: <54DDCDA4-B94A-4B26-A01A-C1BFD85D40C7@antsclimbtree.com> <44fyrjqysc.fsf@be-well.ilk.org> <44achq3cnw.fsf@be-well.ilk.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9374A25E-6869-4E10-B701-1DEC6F82ECE4@antsclimbtree.com> Content-Transfer-Encoding: 7bit From: Mark Edwards Date: Tue, 4 Oct 2005 14:53:59 +0200 To: questions@FreeBSD.org X-Mailer: Apple Mail (2.734) Cc: Subject: Re: Perl / Webmin: ld-elf.so.1 issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2005 12:54:01 -0000 On Oct 3, 2005, at 4:20 PM, Lowell Gilbert wrote: > Mark Edwards writes: > > >> On Oct 3, 2005, at 1:33 AM, Lowell Gilbert wrote: >> >> >>> Mark Edwards writes: >>> >>> >>> >>>> I am getting the following error in the browser when trying to use >>>> webmin's crontab editing feature: >>>> >>>> /usr/libexec/ld-elf.so.1: /usr/local/bin/perl: Undefined symbol >>>> "PL_exit_flags" >>>> crontab: "/usr/local/lib/webmin/cron/cron_editor.pl" exited with >>>> status 1 >>>> >>>> I am running perl 5.8.7 from ports, and I have done the whole >>>> routine >>>> with setting use.perl port and perl_after_upgrade. >>>> >>>> I notice that there are two /usr/libexec/ld-elf.so.1 files on my >>>> machine: >>>> >>>> -r-xr-xr-x 1 root wheel 85940 Feb 11 2005 ld-elf.so.1 >>>> -r-xr-xr-x 1 root wheel 85908 Jun 29 2004 ld-elf.so.1.old >>>> >>>> Is that normal? I reinstalled the perl port to no avail. >>>> >>>> >>> >>> Are your ports up to date? >>> [From an up-to-date ports tree?] >>> >> >> Yes, up to date from cvs as of a week ago or so. Can anyone suggest >> a way for me to troubleshoot what exactly the problem is? >> > > Well, that symbol is definitely supposed to be present in your perl > executable. > > [E.g., > [ > strings /usr/local/bin/perl|grep exit_fl > [ PL_exit_flags > [ > > > Do you have any perl-related knobs in make.conf, or in pkgtools.conf > (if you used portupgrade for installing)? Well, I get the same result when I run the above command. I suspect that it isn't perl itself that is the problem, but rather another port or an issue with my system. One thing I wonder is about how I did my last system upgrade. I did it long-distance, and so was unable to boot into single-user mode, so I just shut everything down and did the make installworld live, and then rebooted. I wonder if something wasn't done correctly then, although I didn't get any complaints from the process, that I was aware of. The other possibility is that this is a problem with webmin, although that doesn't seem likely since this error seems to indicate something broken with perl. Still, why is this the only place where the error is showing up? Lots of other stuff uses perl on my machine -- exim, spam-assassin, etc. My /etc/make.conf is pretty simple: lilbuddy:/usr/src paimin$ cat /etc/make.conf CFLAGS= -O -pipe NOPROFILE= true # Avoid compiling profiled libraries MAKE_IDEA= YES # IDEA (128 bit symmetric encryption) USA_RESIDENT= YES #WITH_GTK=yes WITH_OPENSSL_BASE=yes # port settings .if ${.CURDIR:M*/mail/exim} WITH_AUTH_SASL=yes .endif # added by use.perl 2005-09-30 16:58:27 PERL_VER=5.8.7 PERL_VERSION=5.8.7 NOPERL=yes -- Mark Edwards mark@antsclimbtree.com cell: +46704070332