From owner-freebsd-questions Thu Aug 22 5:50:26 2002 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 A977E37B400 for ; Thu, 22 Aug 2002 05:50:21 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 3010B43E75 for ; Thu, 22 Aug 2002 05:50:20 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 26264 invoked from network); 22 Aug 2002 12:50:12 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 22 Aug 2002 12:50:12 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 03741133; Thu, 22 Aug 2002 14:50:07 +0200 (CEST) Date: Thu, 22 Aug 2002 14:50:07 +0200 From: Roman Neuhauser To: Pascal Giannakakis Cc: freebsd-questions@freebsd.org Subject: Re: Can't Compile PHP with OCI Message-ID: <20020822125007.GD21595@freepuppy.bellavista.cz> Mail-Followup-To: Pascal Giannakakis , freebsd-questions@freebsd.org References: <30362.1030018861@www29.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <30362.1030018861@www29.gmx.net> User-Agent: Mutt/1.5.1i 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 > Date: Thu, 22 Aug 2002 14:21:01 +0200 (MEST) > From: Pascal Giannakakis > To: freebsd-questions@freebsd.org > Subject: Can't Compile PHP with OCI > > Lo ppl, > > i managed to compile PHP 4.3.0 dev with Apache 2.0.40, but i cannot > compile PHP (includes prior Versions down to 4.1) with --with-oci8. first, i don't think you can mix linux and freebsd libraries together. > gcc -o conftest -g -O2 -R/usr/local/oracle/lib -L/usr/local/oracle/lib > -R/usr/local/pgsql/lib -L/usr/local/pgsql/lib conftest.c -lpq -lcrypt > -lm -lcrypt -ldl -lm -lclntsh >&5 > /usr/libexec/elf/ld: cannot find -ldl > > What does it mean? that means that configure cannot find libdl. (IIRC) that's because this library doesn't exist in freebsd, and the functionality is in libc. > Could it be, that the cause of this problem is, > that i installed OCI8 via the ported linux bash? i don't think your shell has anything to do with it. -- FreeBSD 4.6-STABLE 2:46PM up 1 day, 20:39, 10 users, load averages: 0.01, 0.04, 0.04 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message