php-install Digest 23 Jan 2003 03:57:05 -0000 Issue 1214
Topics (messages 9791 through 9804):
Re: PHP4.3.0 + AIX4.3.3 compile problems
9791 by: Jose Perez
9794 by: Zhiqiang Feng
Re: PHP4.3.0 + AIX4.3.3 compile problems !!!
9792 by: Thomas Goebel
9793 by: Jose Perez
Re: Call to undefined function: mysql_connect
9795 by: Chris Hewitt
9796 by: Jim Thome
PHP on iPlanet
9797 by: Mike Garner
Trouble Compiling 4.3.0 on Solaris 7
9798 by: Andrew Sanderson
How to use COM
9799 by: William Cheung
solution to AIX "file *.lo contains an incorrect file suffix" error
9800 by: Brandon Craig Rhodes
PHP Install Problem with Oracle 9 and Java
9801 by: John Brayton
9802 by: Jim Thome
9803 by: John Brayton
CGI application misbehaved .... (win):
9804 by: J.S.
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
I'm not sure, because i don't know what is the use of "ingres" support.
But, is clear that if you compile without that module and apache works and
can read php web pages there is your problem and not in php compilation.
----------------------------------------------------------------------------
-
Tu portal de Aix en Espaņol
http://aixpanish.com
----------------------------------------------------------------------------
-
Singer KeyID: 0xC38C7298
----- Original Message -----
From: "Thomas Goebel" <[EMAIL PROTECTED]>
To: "Jose" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 22, 2003 1:00 PM
Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems
> Do you think my problem with php is the result of a wrong apache
> compilation?
>
> Will try to compile apache with --enable-module=so .
>
> !!!
> BTW: If i configure php without ingres support, the "make works fine"
> ./configure --with-apxs=/usr/local/apache/sbin/apxs
> --with-config-file-path=/usr/local/apache --enable-track-vars
>
> Regards,
> Thomas
>
> Jose wrote:
> > On bull, you can find gcc-3.0.1, but it doesn't works fine to me(in some
> > cases), so after i can compile 3.2.1 with gcc-3.0.1, then remove 3.0.1.
> > Download sources of apache and php from http://aixpdslib.seas.ucla.edu
> > I don't know exactly what is the meaning
> > of --enable-module=most --enable-shared=max , but you don't have
anything to
> > lose if you recompiled with --enable-module=so
> > I don't remember exactly my configure options, but they are more or less
so:
> >
./configure --enable-module=so --with-layout=GNU --prefix=/usr/local/apache1
> > 3
> >
> >
> > Regards.
> >
> >
> >
>
> --
>
> --------------------------------------------------------
> [EMAIL PROTECTED]
> --------------------------------------------------------
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
thanks, Jose. It works now.
zhiqiang
At 15:34 22/01/03 +0100, Jose Perez wrote:
>Do you have in your path /usr/local/php4/bin ?
>Do you have rename php.ini-dist to php.ini and copy it in /usr/local/php4
>
>Do you have read your access_log and error_log of apache ?
>
>----------------------------------------------------------------------------
>-
>Tu portal de Aix en Espaņol
>http://aixpanish.com
>----------------------------------------------------------------------------
>-
>Singer KeyID: 0xC38C7298
>----- Original Message -----
>From: "Zhiqiang Feng" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, January 22, 2003 12:59 PM
>Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems
>
>
>> Dear all, I am new to php, postgresql and apache. I intend to run them
>together
>> on RH Linux 7.2 . The installation of RH Linux 7.2 is a complete one on
>the PC.
>> So here are the list of the packages: Apache 1.3.20-16 postgresql 7.1.3-2
>php
>> 4.0.6-7 php-pgsql 4.0.6-7. Now I have tested Apache, and postgreSQL and
>they
>> seem to work fine. I add a few lines in /etc/httpd/conf/httpd.conf:
>loadModule
>> php4_module modules/libphp4.so AddModule mod_php4.c AddType
>> application/x-httpd-php .php4 .php3 .phtml .php AddType
>> application/x-httpd-php-source .phps However, when I try to load a php
>file it
>> displays nothing. Here is the file: # /usr/local/php4/bin/php I
>> assume the
>> php is installed as a CGI interpreter because I can only start httpd and
>could
>> not find the command 'apachectl' on my pc. I also tried to load the file:
>> It displays nothing either. I suppose that I must miss something. Can
>anyone
>> help? Zhiqiang
>
--- End Message ---
--- Begin Message ---
Hi,
Ingres is a database!
And the function is included in the php distribution.
http://www.php.net/manual/en/ref.ingres.php
So it is not my Problem. Or do you think if you have problem compiling
php with DB2 or mysql support it is your problem?
Regards,
Thomas
Jose Perez wrote:
I'm not sure, because i don't know what is the use of "ingres" support.
But, is clear that if you compile without that module and apache works and
can read php web pages there is your problem and not in php compilation.
----------------------------------------------------------------------------
-
Tu portal de Aix en Espaņol
http://aixpanish.com
----------------------------------------------------------------------------
-
Singer KeyID: 0xC38C7298
----- Original Message -----
From: "Thomas Goebel" <[EMAIL PROTECTED]>
To: "Jose" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 22, 2003 1:00 PM
Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems
Do you think my problem with php is the result of a wrong apache
compilation?
Will try to compile apache with --enable-module=so .
!!!
BTW: If i configure php without ingres support, the "make works fine"
./configure --with-apxs=/usr/local/apache/sbin/apxs
--with-config-file-path=/usr/local/apache --enable-track-vars
Regards,
Thomas
Jose wrote:
On bull, you can find gcc-3.0.1, but it doesn't works fine to me(in some
cases), so after i can compile 3.2.1 with gcc-3.0.1, then remove 3.0.1.
Download sources of apache and php from http://aixpdslib.seas.ucla.edu
I don't know exactly what is the meaning
of --enable-module=most --enable-shared=max , but you don't have
anything to
lose if you recompiled with --enable-module=so
I don't remember exactly my configure options, but they are more or less
so:
./configure --enable-module=so --with-layout=GNU --prefix=/usr/local/apache1
3
Regards.
--
--------------------------------------------------------
[EMAIL PROTECTED]
--------------------------------------------------------
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
--------------------------------------------------------
[EMAIL PROTECTED]
--------------------------------------------------------
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
According to my best recollection, I don't remember.
-- Vincent "Jimmy Blue Eyes" Alo
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
--- End Message ---
--- Begin Message ---
My php configuration was more easy :
./configure --with-mysql --with-apxs=/usr/local/apache13/sbin/apxs
It is the only i can tell you. Try apache with --enable-module=so and then
tell me what happen.
Ahh!!. I forgott on apache 2 is very important before execute ./configure ,
execute ./buildconf , you can do the probe.
Regards.
----------------------------------------------------------------------------
-
Tu portal de Aix en Espaņol
http://aixpanish.com
----------------------------------------------------------------------------
-
Singer KeyID: 0xC38C7298
----- Original Message -----
From: "Thomas Goebel" <[EMAIL PROTECTED]>
To: "Jose Perez" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 22, 2003 4:03 PM
Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems !!!
Hi,
Ingres is a database!
And the function is included in the php distribution.
http://www.php.net/manual/en/ref.ingres.php
So it is not my Problem. Or do you think if you have problem compiling
php with DB2 or mysql support it is your problem?
Regards,
Thomas
Jose Perez wrote:
> I'm not sure, because i don't know what is the use of "ingres" support.
> But, is clear that if you compile without that module and apache works and
> can read php web pages there is your problem and not in php compilation.
>
> --------------------------------------------------------------------------
--
> -
> Tu portal de Aix en Espaņol
> http://aixpanish.com
> --------------------------------------------------------------------------
--
> -
> Singer KeyID: 0xC38C7298
> ----- Original Message -----
> From: "Thomas Goebel" <[EMAIL PROTECTED]>
> To: "Jose" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 22, 2003 1:00 PM
> Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems
>
>
>
>>Do you think my problem with php is the result of a wrong apache
>>compilation?
>>
>>Will try to compile apache with --enable-module=so .
>>
>>!!!
>>BTW: If i configure php without ingres support, the "make works fine"
>>./configure --with-apxs=/usr/local/apache/sbin/apxs
>>--with-config-file-path=/usr/local/apache --enable-track-vars
>>
>>Regards,
>>Thomas
>>
>>Jose wrote:
>>
>>>On bull, you can find gcc-3.0.1, but it doesn't works fine to me(in some
>>>cases), so after i can compile 3.2.1 with gcc-3.0.1, then remove 3.0.1.
>>>Download sources of apache and php from http://aixpdslib.seas.ucla.edu
>>>I don't know exactly what is the meaning
>>>of --enable-module=most --enable-shared=max , but you don't have
>
> anything to
>
>>>lose if you recompiled with --enable-module=so
>>>I don't remember exactly my configure options, but they are more or less
>
> so:
>
>
./configure --enable-module=so --with-layout=GNU --prefix=/usr/local/apache1
>
>>>3
>>>
>>>
>>>Regards.
>>>
>>>
>>>
>>
>>--
>>
>>--------------------------------------------------------
>>[EMAIL PROTECTED]
>>--------------------------------------------------------
>>
>>
>>
>>
>>--
>>PHP Install Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
>
>
>
--
--------------------------------------------------------
[EMAIL PROTECTED]
--------------------------------------------------------
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
According to my best recollection, I don't remember.
-- Vincent "Jimmy Blue Eyes" Alo
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Michael Christie wrote:
Hi list ,
I have set up PHP4 on a open bsd box with mysql I was able to
connect, create a database and create a new user, etc.
Another problem has come up. Now, trying to connect to the database I
have created, am using the standard PHP function: mysql_connect, and
am getting the error:
Fatal error: Call to undefined function: mysql_connect() in
/var/www/htdocs/southwest/php/procQuery.php on line 8.
I suspect it is because you did not compile php --with-mysql. Does a
phpinfo() show mysql compiled in?
HTH
Chris
PS Your compute clock is set at 2001.
--- End Message ---
--- Begin Message ---
MySQL support is bundled with PHP 4.x, you don't have to enable it. You can disable it
(--with-mysql=no) or point it to your mysql client libraries
(--with-mysql=/path/to/mysql)
What is your configure line, OS, and PHP version?
--
Jim
>>> Chris Hewitt <[EMAIL PROTECTED]> 01/22/03 09:35AM >>>
Michael Christie wrote:
> Hi list ,
> I have set up PHP4 on a open bsd box with mysql I was able to
> connect, create a database and create a new user, etc.
> Another problem has come up. Now, trying to connect to the database I
> have created, am using the standard PHP function: mysql_connect, and
> am getting the error:
>
> Fatal error: Call to undefined function: mysql_connect() in
> /var/www/htdocs/southwest/php/procQuery.php on line 8.
I suspect it is because you did not compile php --with-mysql. Does a
phpinfo() show mysql compiled in?
HTH
Chris
PS Your compute clock is set at 2001.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi all-
I'm running an iPlanet Enterprise web server ver 6.0 sp2 on Windows 2000
and we've had several request for PHP. How do I go about this? All the
documentation I've found on php.net talks about very old versions of the
Netscape Web Server, which is quite different from the iWS we're
running. Which PHP installer do I need to download? How do I get around
the cgi.force_redirect issue? We've already got 1 shell cgi directory
defined on our web server for housing our PERL cgi. How does that factor
into our config? etc. Does anyone have first hand experience with this or
know where I can find reasonably current documentation?
Thanks in advance!
--------------------------------------------------------------
Mike Garner
Western State College
Email: [EMAIL PROTECTED]
Voice: 970-943-3123
Fax: 970-943-7069
--- End Message ---
--- Begin Message ---
I have been having a very hard time compiling PHP 4.3.0 on Solaris 7 with
Apache 2.0.44 .
First I ran into the 'Output line too long' error, and fixed it by
installing and using gnu sed.
Using gcc 3.0.4 I get the following error:
>gcc: sapi/cli/php_cli.o: No such file or directory
>gcc: sapi/cli/getopt.o: No such file or directory
>*** Error code 1
>make: Fatal error: Command failed for target `sapi/cli/php'
I have tried the --disable-cli option, and get the same error.
Using Sun's pro compiler, I get the following error:
>ild: (bad file) the file ext/ctype/ctype.o is not in a known format
>*** Error code 1
>make: Fatal error: Command failed for target `sapi/cli/php'
adding the -xildoff compiler flag I get the following error:
>ld: elf error: file ext/ctype/ctype.o: unknown type, unable to process
>using elf(3E) libraries
>ld: elf error: file ext/mysql/php_mysql.o: unknown type, unable to
>process
>using elf(3E) libraries
>.
>. 100 or so more....
>.
>.
>ld: elf error: file Zend/zend_execute.o: unknown type, unable to process
>using elf(3E) libraries
>ld: fatal: file sapi/cli/php_cli.o: cannot open file: No such file or
>directory
>ld: fatal: file sapi/cli/getopt.o: cannot open file: No such file or
>directory
>ld: fatal: File processing errors. No output written to sapi/cli/php
>*** Error code 1
>make: Fatal error: Command failed for target `sapi/cli/php'
What is going on? I had no problems installing php 4.2.3 with Apache
2.0.39
Any help is Greatly appreciated!!
Thanks!
Andy
--- End Message ---
--- Begin Message ---
I could use COM() to start up word application. How could I start up outlook
using COM() and also populate the "TO" and "FROM" email addresses?
William Cheung, B.Sc. MCSE MCDBA
Databyte Corp.
--- End Message ---
--- Begin Message ---
Our PHP 4.3.0 build failed to compile sapi/cli/php on our AIX machine,
with over one hundred error messages like:
cc: 1501-218 file ext/ctype/ctype.lo contains an incorrect file suffix
The causes of this are rather subtle:
1. GNU libtool will usually not create static objects under AIX.
2. But the PHP developers want libtool to create static objects.
3. So the PHP developers provide their own ./libtool in the source
tree which will create them, which they run with "/bin/sh libtool".
4. Unfortunately, while "/bin/sh <file>" usually looks for <file> in
the current directory before searching through $PATH, on AIX it
looks through $PATH first; thus the PHP Makefile winds up running
/usr/local/bin/libtool (or wherever you have it installed) instead.
Thus the solution is to modify the PHP Makefile so that the line
LIBTOOL = $(SHELL) libtool --silent
instead reads
LIBTOOL = $(SHELL) ./libtool --silent
Technical notes: When you compile and install libtool, it runs a
script called libtool.m4 which, around line 2363 in the libtool-1.4.3
source, disables AIX static linking with the explanation that:
"On AIX, shared libraries and static libraries use the same
namespace, and are all built from PIC."
It disables static linking by setting enable_static=no when it writes
your libtool script; the ./libtool script in the PHP build directory
works precisely because this variable is set to "yes" instead.
--
Brandon Craig Rhodes [EMAIL PROTECTED] http://rhodesmill.org/brandon
--- End Message ---
--- Begin Message ---
I am trying to compile PHP 4.2.3 with Apache 1.3.27, Oracle 9.0.1, and
Java 1.4.1. I am doing this on Solaris 2.8.
My call to "configure" is:
./configure --prefix=/home/export/brayton/php
--with-apache=../apache_1.3.27 --with-oracle=/opt/oracle/product/9.0.1
--with-java=/opt/j2sdk1.4.1
The output of "configure" gives me the following:
| *** ATTENTION *** |
| |
| Something is likely to be messed up here, because the configure |
| script was not able to detect a simple feature on your platform. |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages. |
| |
| If you are unable to fix this, send the file debug.log to the |
| [EMAIL PROTECTED] mailing list and include appropiate |
| information about your setup. |
The contents of "debug.log" are:
CONFIGURE: './configure' '--prefix=/home/export/brayton/php'
'--with-apache=../apache_1.3.27' '--with-oracle
=/opt/oracle/product/9.0.1' '--with-java=/opt/j2sdk1.4.1'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
INCLUDES: -I/export/home/brayton/apache_1.3.27/src/include
-I/export/home/brayton/apache_1.3.27/src/os/unix
-I$(top_builddir)/Zend
-I/export/home/brayton/php-4.2.3/ext/mysql/libmysql
-I/opt/oracle/product/9.0.1/rdbms
/public -I/opt/oracle/product/9.0.1/rdbms/demo
-I/opt/oracle/product/9.0.1/plsql/public
LDFLAGS: -R/usr/ucblib -L/usr/ucblib
-R/usr/local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1 -L/usr/
local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1
-R/opt/j2sdk1.4.1/./jre/lib/sparc/server -L/opt/j2sdk1.
4.1/./jre/lib/sparc/server
-R/opt/j2sdk1.4.1/./jre/lib/sparc/native_threads
-L/opt/j2sdk1.4.1/./jre/lib/sparc/
native_threads -R/opt/j2sdk1.4.1/./jre/lib/sparc
-L/opt/j2sdk1.4.1/./jre/lib/sparc -R/opt/oracle/product/9.0.1
/lib -L/opt/oracle/product/9.0.1/lib
LIBS: -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket
-lgcc -lcrypt -lnsl -lsocket -lgen -ld
l -lclntsh
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/ucblib
/usr/local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1
/opt/j2sdk1.4.1/./jre/lib
/sparc/server /opt/j2sdk1.4.1/./jre/lib/sparc/native_threads
/opt/j2sdk1.4.1/./jre/lib/sparc /opt/oracle/produ
ct/9.0.1/lib
uname -a: SunOS hera.eng.clearway.com 5.8 Generic sun4u sparc
SUNW,Ultra-60
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib
-L/usr/ucblib -R/usr/local/gcc-3.2.1/lib/gcc
-lib/sparc-sun-solaris2.8/3.2.1
-L/usr/local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1
-R/opt/j2sdk1.4.
1/./jre/lib/sparc/server -L/opt/j2sdk1.4.1/./jre/lib/sparc/server
-R/opt/j2sdk1.4.1/./jre/lib/sparc/native_thr
eads -L/opt/j2sdk1.4.1/./jre/lib/sparc/native_threads
-R/opt/j2sdk1.4.1/./jre/lib/sparc -L/opt/j2sdk1.4.1/./jr
e/lib/sparc -R/opt/oracle/product/9.0.1/lib
-L/opt/oracle/product/9.0.1/lib conftest.c -lcrypt -lresolv -lreso
lv -lm -ldl -lnsl -lsocket -lsocket -lgcc -lcrypt -lnsl -lsocket -lgen
-ldl -lclntsh 1>&5
ld: fatal: library -lclntsh: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
My LD_LIBRARY_PATH variable is
"/opt/oracle/product/9.0.1/lib:/opt/oracle/product/9.0.1/rdbms/lib".
The Oracle home directory is "/opt/oracle/product/9.0.1".
An "ls -l" on the "/opt/oracle/product/9.0.1/lib" directory gives
output that includes the following files:
lrwxrwxrwx 1 oracle dba 16 Jan 21 18:31 libclntsh.so ->
libclntsh.so.9.0
-rwxr-xr-x 1 oracle dba 15185920 Dec 4 12:33 libclntsh.so.9.0
-rw-r--r-- 1 oracle dba 22884596 Dec 4 12:36 libclntst9.a
I believe the "lclntsh" that the debug.log says is missing is these
files above.
Can someone give me some hint as to what I might be doing wrong?
Thanks you!!!
John
--- End Message ---
--- Begin Message ---
Try it again using --with-oci8=/opt/oracle/product/9.0.1 , instead of Oracle.
(if you have already defined ORACLE_HOME, just use --with-oci8.)
Also, check your apxs script against this page.
http://us2.php.net/manual/en/faq.build.php#faq.build.apxs
--
Jim
>>> John Brayton <[EMAIL PROTECTED]> 01/22/03 04:27PM >>>
I am trying to compile PHP 4.2.3 with Apache 1.3.27, Oracle 9.0.1, and
Java 1.4.1. I am doing this on Solaris 2.8.
My call to "configure" is:
./configure --prefix=/home/export/brayton/php
--with-apache=../apache_1.3.27 --with-oracle=/opt/oracle/product/9.0.1
--with-java=/opt/j2sdk1.4.1
The output of "configure" gives me the following:
| *** ATTENTION *** |
| |
| Something is likely to be messed up here, because the configure |
| script was not able to detect a simple feature on your platform. |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages. |
| |
| If you are unable to fix this, send the file debug.log to the |
| [EMAIL PROTECTED] mailing list and include appropiate |
| information about your setup. |
The contents of "debug.log" are:
CONFIGURE: './configure' '--prefix=/home/export/brayton/php'
'--with-apache=../apache_1.3.27' '--with-oracle
=/opt/oracle/product/9.0.1' '--with-java=/opt/j2sdk1.4.1'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
INCLUDES: -I/export/home/brayton/apache_1.3.27/src/include
-I/export/home/brayton/apache_1.3.27/src/os/unix
-I$(top_builddir)/Zend
-I/export/home/brayton/php-4.2.3/ext/mysql/libmysql
-I/opt/oracle/product/9.0.1/rdbms
/public -I/opt/oracle/product/9.0.1/rdbms/demo
-I/opt/oracle/product/9.0.1/plsql/public
LDFLAGS: -R/usr/ucblib -L/usr/ucblib
-R/usr/local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1 -L/usr/
local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1
-R/opt/j2sdk1.4.1/./jre/lib/sparc/server -L/opt/j2sdk1.
4.1/./jre/lib/sparc/server
-R/opt/j2sdk1.4.1/./jre/lib/sparc/native_threads
-L/opt/j2sdk1.4.1/./jre/lib/sparc/
native_threads -R/opt/j2sdk1.4.1/./jre/lib/sparc
-L/opt/j2sdk1.4.1/./jre/lib/sparc -R/opt/oracle/product/9.0.1
/lib -L/opt/oracle/product/9.0.1/lib
LIBS: -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket
-lgcc -lcrypt -lnsl -lsocket -lgen -ld
l -lclntsh
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/ucblib
/usr/local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1
/opt/j2sdk1.4.1/./jre/lib
/sparc/server /opt/j2sdk1.4.1/./jre/lib/sparc/native_threads
/opt/j2sdk1.4.1/./jre/lib/sparc /opt/oracle/produ
ct/9.0.1/lib
uname -a: SunOS hera.eng.clearway.com 5.8 Generic sun4u sparc
SUNW,Ultra-60
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib
-L/usr/ucblib -R/usr/local/gcc-3.2.1/lib/gcc
-lib/sparc-sun-solaris2.8/3.2.1
-L/usr/local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1
-R/opt/j2sdk1.4.
1/./jre/lib/sparc/server -L/opt/j2sdk1.4.1/./jre/lib/sparc/server
-R/opt/j2sdk1.4.1/./jre/lib/sparc/native_thr
eads -L/opt/j2sdk1.4.1/./jre/lib/sparc/native_threads
-R/opt/j2sdk1.4.1/./jre/lib/sparc -L/opt/j2sdk1.4.1/./jr
e/lib/sparc -R/opt/oracle/product/9.0.1/lib
-L/opt/oracle/product/9.0.1/lib conftest.c -lcrypt -lresolv -lreso
lv -lm -ldl -lnsl -lsocket -lsocket -lgcc -lcrypt -lnsl -lsocket -lgen
-ldl -lclntsh 1>&5
ld: fatal: library -lclntsh: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
My LD_LIBRARY_PATH variable is
"/opt/oracle/product/9.0.1/lib:/opt/oracle/product/9.0.1/rdbms/lib".
The Oracle home directory is "/opt/oracle/product/9.0.1".
An "ls -l" on the "/opt/oracle/product/9.0.1/lib" directory gives
output that includes the following files:
lrwxrwxrwx 1 oracle dba 16 Jan 21 18:31 libclntsh.so ->
libclntsh.so.9.0
-rwxr-xr-x 1 oracle dba 15185920 Dec 4 12:33 libclntsh.so.9.0
-rw-r--r-- 1 oracle dba 22884596 Dec 4 12:36 libclntst9.a
I believe the "lclntsh" that the debug.log says is missing is these
files above.
Can someone give me some hint as to what I might be doing wrong?
Thanks you!!!
John
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Try it again using --with-oci8=/opt/oracle/product/9.0.1 , instead of
Oracle.
I get the same error.
Also, check your apxs script against this page.
http://us2.php.net/manual/en/faq.build.php#faq.build.apxs
I had been building PHP as a static module, so I did not have an apxs
script.
But just to try something, I tried building PHP as a DSO, and got the
exact same error. Before building PHP, I opened the APXS file and
verified that it did not have the problems described on that page.
Any other ideas?
Thank you.
John
--- End Message ---
--- Begin Message ---
One solution for this error:
you proably have bad version of msvcrt.dll.
Try run servicepack or replace old file vith new one.
J.S.
--- End Message ---