From owner-freebsd-questions Fri Mar 30 4:43: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from neptune.deep-ocean.net (APastourelles-102-1-1-231.abo.wanadoo.fr [193.251.29.231]) by hub.freebsd.org (Postfix) with ESMTP id 8D72437B71A for ; Fri, 30 Mar 2001 04:42:55 -0800 (PST) (envelope-from olive@deep-ocean.net) Received: by neptune.deep-ocean.net (Postfix, from userid 1000) id 28BC5D97A; Fri, 30 Mar 2001 14:44:07 +0200 (CEST) Date: Fri, 30 Mar 2001 14:44:07 +0200 From: Olivier Cortes To: freebsd-questions@freebsd.org Subject: PHP 4.0.4pl1 & Informix Message-ID: <20010330144407.A29346@neptune.deep-ocean.net> Mail-Followup-To: Olivier Cortes , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.3-BETA i386 up 2 days, 18:55 Organization: Deep-Ocean Network X-URL: http://www.deep-ocean.net/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello all, Here is the context: * we have a solaris 2.6 / informix 7.2 on the localnet. * the webservers (2) on the DMZ are FreeBSD 4.2-RELEASE. * i synched the ports, rebuilded apache+mod_ssl-1.3.19+2.8.x * installed informix on a linux * on linux : tar czvf inf.tar.gz /usr/informix * on freebsd : cd /compat/linux/usr && tar xzvf ifx.tar.gz * on fbsd : ln -sf /compat/linux/usr/informix /usr/informix (just in case) * on fbsd (in /etc/profile) : export \ INFORMIXDIR=/compat/linux/usr/informix * in /usr/ports/www/mod_php4/Makefile: CONFIGURE_ARGS= \ --with-informix=/compat/linux/usr/informix \ * make (i added PGSQL, IMAP, OpenLDAP, gettext, sysv*, FTP) * it compiled fine, except that i had to #define IFX_VERSION 720 in the ifx_*.c Here is the problem: $ apachectl configtest Syntax error on line 57 of /usr/local/etc/apache/httpd.conf: Cannot load /usr/local/libexec/apache/libphp4.so into server: /usr/local/libexec/apache/libphp4.so: Undefined symbol "SQLCODE" I know SQLCODE is in /compat/linux/usr/informix/lib/esql/*, but i don't know what to do now. how to load an emulated lib ? isql works perfectly, i cant connect manualy with it to the solaris. ldd complains when i use it with libphp4.so: /usr/local/libexec/apache/libphp4.so: /usr/local/libexec/apache/libphp4.so: Exec format error /usr/local/libexec/apache/libphp4.so: exit status 1 i don't know how to play with objdump (i tried). any help would be *GREATLY* apreciated. humor : cd /usr/ports/informix && make doesn't work, i don't have any sources (damned !) sincerely yours & best regards, --- Olivier Cortes free software admin PS: i know informix is not free software. i must use it because it was here before i came. So please don't blame me. I know the bad situation i'm in ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message