From owner-freebsd-questions Wed May 1 14:52:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.kpnqwest.ch (mail.eunet.ch [146.228.10.7]) by hub.freebsd.org (Postfix) with ESMTP id 82AF337B416 for ; Wed, 1 May 2002 14:52:16 -0700 (PDT) Received: from eurisco.e-link.ch (mail.e-link.ch [193.72.189.2]) by mail.kpnqwest.ch (8.9.3/1.34) via ESMTP id XAA03922; Wed, 1 May 2002 23:52:14 +0200 (CEST) env-from (cleto@eurisco.com) Received: from thor.e-link.ch (thor.e-link.ch [193.72.189.8]) by eurisco.e-link.ch (8.11.3/8.11.3) with ESMTP id g41LqE669749; Wed, 1 May 2002 23:52:14 +0200 (CEST) (envelope-from cleto@eurisco.com) Date: Wed, 1 May 2002 23:52:39 +0200 (CEST) From: Cleto Pescia X-X-Sender: cleto@thor.e-link.ch To: "Christopher J. Umina" Cc: questions@freebsd.org Subject: Re: PHP4 & Apache_1.3.24 In-Reply-To: <009901c1f0bc$69460940$0301a8c0@uminafamily.com> Message-ID: <20020501234716.J3906-100000@thor.e-link.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Okay, this is pissing me off.. When I build PHP4 with the IMAP enabled and > pointed at /usr/local so it picks up c-client I get this error. > > ---------------------------------------------------------------------------- > ---------------------------------------- > my > helpers/dummy.c -R/usr/local/lib -rdynamic -L/usr/local/lib -Lmodules/php > 4 > -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lc-client4 -lmm - > lcry > pt -lpam -lcrypt -lm -lcrypt -lcrypt -lssl -lcrypto > /usr/local/lib/libc-client4.so: undefined reference to `mm_expunged' > /usr/local/lib/libc-client4.so: undefined reference to `mm_diskerror' > /usr/local/lib/libc-client4.so: undefined reference to `mm_lsub' > /usr/local/lib/libc-client4.so: undefined reference to `mm_flags' > /usr/local/lib/libc-client4.so: undefined reference to `mm_fatal' > /usr/local/lib/libc-client4.so: undefined reference to `mm_nocritical' > /usr/local/lib/libc-client4.so: undefined reference to `mm_notify' > /usr/local/lib/libc-client4.so: undefined reference to `mm_searched' > /usr/local/lib/libc-client4.so: undefined reference to `mm_status' > /usr/local/lib/libc-client4.so: undefined reference to `mm_login' > /usr/local/lib/libc-client4.so: undefined reference to `mm_list' > /usr/local/lib/libc-client4.so: undefined reference to `mm_critical' > /usr/local/lib/libc-client4.so: undefined reference to `mm_exists' > /usr/local/lib/libc-client4.so: undefined reference to `mm_log' > /usr/local/lib/libc-client4.so: undefined reference to `mm_dlog' > *** Error code 1 > > Stop in /root/Webserver/apache_1.3.24/src/helpers. > ============= End of Error Report ============= > > Aborting! > ---------------------------------------------------------------------------- > ---------------------------------------- > > Has anybody had this problem? I can't figure it out at all.. I'm not sure if this applies to your case as well, but I ran into a similar situation while compiling Apache 1.3.x & PHP 4.1.x from their sources and had the IMAP support in PHP activated ("--with-imap"). Move the *.so versions of the c-client lib out of their directories while building Apache & PHP, so the static versions are used instead. That did the trick for me. Cleto To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message