From owner-freebsd-questions Thu Jun 11 17:39:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA14266 for freebsd-questions-outgoing; Thu, 11 Jun 1998 17:39:02 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns1.lex.gob.gt (ns1.lex.gob.gt [168.234.110.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA14253 for ; Thu, 11 Jun 1998 17:38:52 -0700 (PDT) (envelope-from victor@mp.lex.gob.gt) Received: from mp-dbs.mp.intralex (mp-dbs.mp.intralex [192.168.1.3]) by ns1.lex.gob.gt (8.8.7/8.8.7) with ESMTP id SAA02816 for ; Thu, 11 Jun 1998 18:38:43 -0600 (CST) (envelope-from victor@mp.lex.gob.gt) Received: from localhost (victor@localhost) by mp-dbs.mp.intralex (8.8.7/8.8.7) with SMTP id SAA29046 for ; Thu, 11 Jun 1998 18:38:33 -0600 (CST) (envelope-from victor@mp.lex.gob.gt) X-Authentication-Warning: mp-dbs.mp.intralex: victor owned process doing -bs Date: Thu, 11 Jun 1998 18:38:33 -0600 (CST) From: "Victor M. Carranza G." X-Sender: victor@mp-dbs.mp.intralex To: FreeBSD Questions mailing list Subject: SCO library: bad magic? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am trying to install PHP3 3.0 with Oracle support, building it as an apache 1.3.0 module. Oracle 7.3.2 is running, Apache compiles just perfectly out-of-the-box, PHP3 compiles with no problem too... but when trying to build a new apache, including the php3 module, I get this: # ./configure --prefix=/usr/local/apache --activate-module=src/modules/php3/libphp3.a Configuring for Apache, Version 1.3.0 + activated php3 module (modules/php3/libphp3.a) Creating Makefile Creating Configuration.apaci in src Creating Makefile in src + configured for FreeBSD 3.0 platform + setting C compiler to gcc + adding selected modules o php3_module uses ConfigStart/End ld: /vol1/oracle/app/oracle/product/7.3.2/lib/libclient.a(): bad magic + doing sanity check on compiler and options ** A test compilation with your Makefile configuration ** failed. This is most likely because your C compiler ** is not ANSI. Apache requires an ANSI C Compiler, such ** as gcc. The above error message from your compiler ** will also provide a clue. Aborting! I suspect Oracle's libclient.a is in SCO format or something like that. Is there any workaround for this problem? Thanks in advance for your help! Cheers, Victor Carranza P.S. I am running FreeBSD 3.0-971006-SNAP To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message