Hi everybody!
Some days ago, I asked about a problem making "configure" in PHP
4.1.1. When I try to configure PHP + Oracle:
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
--with-openssl=/usr/local/ssl --with-zlib=/usr --with-curl=/usr/local
--with-oci8=/usr/local/oracle/8.0.5 --with-gd
this message appears:
| *** 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. |
| |
and if I look the debug.log, the error is:
gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208105 -DUSE_HSREGEX -DEAPI
-Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib
-L/usr/local/lib -Wl,-rpath,/usr/local/oracle/8.0.5/lib -L/usr/local/oracle/8.0.5/lib
conftest.c -lclntsh -lpsa -lcore4 -lnsl -lgd -lcurl -ldl -lcrypto -lssl -lcurl -lz
-lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5
/usr/bin/ld: cannot find -lm
collect2: ld returned 1 exit status
Everything looks strange, because I know that libm is in my system
(Linux RH 7.2) and the other test (if I look config.log) that used libm
didn't have problems.
BUT, the other day I used vi to see the debug.log, and the error
appears like this:
gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208105 -DUSE_HSREGEX -DEAPI
-Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib
-L/usr/local/lib -Wl,-rpath,/usr/local/oracle/8.0.5/lib -L/usr/local/oracle/8.0.5/lib
conftest.c -lclntsh -lpsa -lcore4 -lnlsrtl3 -lm^M -lnsl -lgd -lcurl -ldl -lcrypto
-lssl -lcurl -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5
/usr/bin/ld: cannot find -lm^M
collect2: ld returned 1 exit status
You will notice that there is a ^M after -lm ! And, of course, ld
didn't find -lm^M . :-)
Obviously, I edited the configure file, but there's no ^M.
Now, the question: somebody had the same problem? Somebody had a
solution for this? Somebody can help me?!?!?!? :-)
Thanks in advance...
--
Andres Plaza R.
[EMAIL PROTECTED]
http://la.mafia.cl/aplaza
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php