Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2002 14:50:07 +0200
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        Pascal Giannakakis <CapM@gmx.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Can't Compile PHP with OCI
Message-ID:  <20020822125007.GD21595@freepuppy.bellavista.cz>
In-Reply-To: <30362.1030018861@www29.gmx.net>
References:  <30362.1030018861@www29.gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Thu, 22 Aug 2002 14:21:01 +0200 (MEST)
> From: Pascal Giannakakis <CapM@gmx.net>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020822125007.GD21595>