php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18325 FreeBSD+Oracle8+Apache+PHP Not Install
Submitted: 2002-07-13 04:06 UTC Modified: 2002-07-14 05:58 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: dmitrytv at mtu-net dot ru Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4.2.1 OS: FreeBSD 4.5
Private report: No CVE-ID: None
 [2002-07-13 04:06 UTC] dmitrytv at mtu-net dot ru
I have:
FreeBSD 4.5(installed)
Oracle8.1.6 Enterprise(installed)
apache 1.3.26(NOT installed)
PHP 4.2.1(NOT installed)
I want to install Apache+PHP with Oracle.
I do:
#cd apache
#./configure --prefix=/www
#cd ../php
#./confugure --enable-sigchild
#make
#./configure --with-oci8 --with-apache=../apache --enable-track-vars
#make
#make install
#cd ../apache
#./configure --activate-module=src/modules/php4/libphp4.a
ERRORRRRRRRR!!!!! Stop in /usr/wwwfiles/apache/src/helpers

If i compile PHP without --with-oci8 - then NOT PROBLEMS

Please, Help me.
Thank You.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-13 04:09 UTC] sniper@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2002-07-13 04:42 UTC] dmitrytv at mtu-net dot ru
Then I:
#./configure --activate-module=src/modules/php4/libphp4.a
I have:
======== Error Output for sanity check ========
cd ..; gcc  -funsigned-char -I/usr/wwwfiles/php-4.2.1 -I/usr/wwwfiles/php-4.2.1/main -I/usr/wwwfiles/php-4.2.1/main -I/usr/wwwfiles/php-4.2.1/Zend -I/usr/wwwfiles/php-4.2.1/Zend -I/usr/wwwfiles/php-4.2.1/TSRM -I/usr/wwwfiles/php-4.2.1/TSRM
-I/usr/wwwfiles/php-4.2.1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`     -o helpers/dummy helpers/dummy.c   -R/usr/oracle/lib  -rdynamic -L/usr/oracle/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4  -lpam
-lm -ldl -lcrypt -lm  -lcrypt -lclntsh   -lcrypt
/usr/libexec/elf/ld: cannot find -ldl
*** Error code 1
Stop in /usr/wwwfiles/apache_1.3.26/src/helpers.
============= End of Error Report =============
 [2002-07-13 05:09 UTC] sniper@php.net
So it fails with not finding libdl.a / libdl.so ?
Try 'find / -name libdl.*' to see where one of those is?

 [2002-07-13 05:31 UTC] dmitrytv at mtu-net dot ru
/usr/local/lib/libdl.a
/usr/local/lib/libdl.so.0
/usr/local/lib/libdl.so
/usr/compat/linux/lib/libdl.so.1
/usr/compat/linux/lib/libdl.so.1.9.5
/usr/compat/linux/lib/libdl.so.2
(but when I don't use --with-oci8 NOT PROBLEMS)
 [2002-07-13 09:41 UTC] dmitrytv at mtu-net dot ru
AND (may be it will help):
If use Apache shared compilation,then:
#cd apache
#./configure --prefix=/www --enable-module=so
#make
#make install
#cd ../php
#./configure --enable-sigchild
#make
#./configure --with-oci8 --with-apxs=/www/bin/apxs
#make
ERROR: stub.lo:file not recognized:File truncated
---------------------------------
 [2002-07-13 09:45 UTC] cynic@php.net
umm, maybe it's just me, but why do you run

./configure --options
make
./configure --different-options

without make distclean inbetween?

 [2002-07-13 16:31 UTC] dmitrytv at mtu-net dot ru
OK. I do:
#cd apache
#./configure --prefix=/www
#cd ../php
#./configure --with-oci8 --with-apache=../apache --enable-sigchuld --enable-track-vars
#make clean
#make
#make install
ERRORRRRRR!!!!:
.......................
Making install in regex
Making install in .
Error code 1
?????????
HELP,please.
 [2002-07-13 22:53 UTC] sniper@php.net
Try this snapshot:

http://snaps.php.net/php4-latest.tar.gz
 [2002-07-14 05:27 UTC] dmitrytv at mtu-net dot ru
snapshot 14.07:

#cd php
#./configure --with-oci8 --with-apache=../apache --enable-sigchild --enable-track-vars
#make clean
#make
ERRORRRRR!!!!:
.....
main/internal_function_cli.lo -lcrypt -lm -lcrypt -ldl -lm -lclntsh -o sapi/cli/php
/usr/libexec/elf/ld: cannot find -ldl

Maybe problem IN Oracle? My system is FreeBSD, Oracle 8.1.6. for LINUX.
 [2002-07-14 05:58 UTC] edink@php.net
This is not a PHP bug. The problem is that you're trying to link two sets of libraries (Linux libs for oracle client and FreeBSD for Apache) and that does not work. If you need to use Oracle you should use an operating system that Oracle supports.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 23:01:28 2024 UTC