From owner-freebsd-ports Wed Feb 27 6: 7:34 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mail.27in.tv (roc-66-24-112-7.rochester.rr.com [66.24.112.7]) by hub.freebsd.org (Postfix) with ESMTP id EBEB137B402; Wed, 27 Feb 2002 06:07:16 -0800 (PST) Received: (from root@localhost) by mail.27in.tv (8.11.6/8.11.6) id g1RE7Ec92702; Wed, 27 Feb 2002 09:07:14 -0500 (EST) (envelope-from cjm2@earthling.net) Received: from 27in.tv (roc-66-24-112-7.rochester.rr.com [66.24.112.7]) by mail.27in.tv (8.11.6/8.11.6av) with SMTP id g1RE7D092693; Wed, 27 Feb 2002 09:07:13 -0500 (EST) (envelope-from cjm2@earthling.net) Received: from 216.153.201.252 (SquirrelMail authenticated user cjm2) by www1.27in.tv with HTTP; Wed, 27 Feb 2002 09:07:13 -0500 (EST) Message-ID: <1506.216.153.201.252.1014818833.squirrel@www1.27in.tv> Date: Wed, 27 Feb 2002 09:07:13 -0500 (EST) Subject: Re: mod_php4 port woes... From: "C J Michaels" To: In-Reply-To: <5D750988561203468C18A37D1FC0362F02FF1B@dkcphntex01.infopaq.net> References: <5D750988561203468C18A37D1FC0362F02FF1B@dkcphntex01.infopaq.net> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: X-Mailer: SquirrelMail (version 1.2.5 [cvs]) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [CC: -ports] Thom, Some time in the recent past Thomas Gravgaard scribbled: > Tried this on Questions but didn't get useful response, maybe someone > here has a clue : I would suggest that you would get a better response from freebsd-ports (as it's a port related question). I'm sorry someone on questions didn't help you but this issue doesn't belong on -stable. > > I have just tried to upgrade my mod_php4 port to version 4.1.1. As part > of the installation I installed XSLT support, which in turn installs > iconv. When I try to start my apache server I now get this error : > > Cannot load /usr/local/libexec/apache/libphp4.so into server: > /usr/local/libexec/apache/libphp4.so: Undefined symbol > "iconv_module_entry" > > I tried deinstalling iconv and mod_php4, and reinstalling it, but to na > avial. So I had to degrade mod_php4 again to get my apache running. I just rebuilt my php-4.1.1 module (I needed to do it anyway) with XSLT, XML, iconv, and several other things. FWIW I get the exact same error. Rebuilt both iconv and libiconv then rebuilt php4 again. Same. Wish I could help more. Did some searching (google is your friend) and there are currently open PR's at php.net from other people with this same/similar problems. http://bugs.php.net/bug.php?id=14423 There's also an open FreeBSD PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=33541 Going by some of those I also noted the following in the output of 'ldconfig -r': 130:-lgiconv.2 => /usr/local/lib/libgiconv.so.2 171:-liconv.2 => /usr/local/lib/libiconv.so.2 Though, to be quite honest, I don't know if this is what php4 is looking for. I also noted this in the config.log: /tmp/cclOFSw7.o: In function `main': /tmp/cclOFSw7.o(.text+0x7): undefined reference to `libiconv_open' > > I have looked in the archives, and found a similar question - > unfortunately unanswered... But I try again : Does anybody know what > happened to either the iconv port or more likely the mod_php4 port that > broke the dependency in some way? I know this doesn't solve your problem, but hopefully it'll point you in the right direction for finding a solution. I would suggest following up with the php.net and/or the freebsd.org PRs. I get the feeling that php- 4.1.1 isn't properly linking to libiconv but I don't know enough to fix it. > > +---------------------------------------------------------------------+ > | Thomas Gravgaard | "The Scarlet Pimpernel is the most (__) | > | Software developer | overrated human being since Judas \\\ <\\\> > '',) | | Infopaq ApS | Iscariot won the AD 31 best disciple > \/ \ ^| | fehaar@infopaq.dk | competition." Black Adder > .\._/_)| > +---------------------------------------------------------------------+ > | FC København. Danske mestre 2000/2001! | > +---------------------------------------------------------------------+ -- Chris "I'll defend to the death your right to say that, but I never said I'd listen to it!" -- Tom Galloway with apologies to Voltaire To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message