Re: Bizarre problem.
| From: | Murray Chamberlain | Date: | Thu, 21 Feb 2002 16:46:37 +0000 |
| Subject: | Re: Bizarre problem. | ||
| References: | 1 | Groups: | php.general php.install |
| Request: | Send a blank email to php-general+get-85746@lists.php.net to get a copy of this message | ||
I have had similar problems with compiling GMP on win32 under cygwin.
I only have two suggestions put the oracle library under /usr/mingw I saw
this on a google group forum. The other thing is, that in the manual you
will probably need some additional files for SSL. BTW I think mysql is
natively supported. in php 4.1.1
"Andres Plaza R." <apl@mafia.cl> wrote in message
news:Pine.LNX.4.33.0202201730440.713-100000@gloria...
> 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
onftest -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/lo
cal/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 -lcu
rl -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
onftest -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/lo
cal/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 -lc
rypto -lssl -lcurl -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lres
olv -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.
> apl@mafia.cl
> http://la.mafia.cl/aplaza
>
>
>
>