Re: SCO O/S 5.0.5, php-4.0.3pl1, mysql-3.23-27 - symbolnot found: pow
| From: | Frank S. Bernhardt | Date: | Sat, 11 Nov 2000 18:05:46 +0000 |
| Subject: | Re: SCO O/S 5.0.5, php-4.0.3pl1, mysql-3.23-27 - symbolnot found: pow | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-733@lists.php.net to get a copy of this message | ||
Your reply got me thinking and reading. I'm sure you're right that there is a
conflict between gcc and non-gcc. So I started all over with apache. I had a
problem with mod_auth_dbm so I downloaded gdbm and made and tested it. Beauty.
I then tried apache again. Damn thing still says I have a problem with dbopen
in the auth_dbm module. OK, comment that out. Then I get an error in the
rewrite module. Comment it out. Apache works. Back to PHP. I re-made it with
the changes you requested.........same error; can't find symbol pow.
At this point I'm giving up. I've spent over 3 days working on this and I'm no
further ahead. It doesn't help that I don't have a clue what I'm doing. All
the documentation is wonderful if you understand the terms and concepts (I
don't). I've probably messed up my libraries or whatever with all the
downloads I've done. If SCO (now Caldera) is serious about this product they
better get their act together and come out with compiled versions that work.
I'm going back to my Mandrake system for web work, and so will my customers.
Thanks for all your help.
Rasmus Lerdorf wrote:
> > This is getting frustrating....
> >
> > I've downloaded the lastest sources for apache-1.3.14, php-4.0.3pl,
> > mysql-3.23-27, gcc-2.95.2pl1, gnu make-3.78.1, glib-1.5.
> >
> > All to no avail. Apache works, mysql works, but when I run:
> >
> > ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
> > --enable-libgcc
> > make
> > make install
> > apachectl configtest
> >
> > I get:
> >
> > Syntax error on line 241 of /usr/local/apache/conf/httpd.conf:
> > Cannot load /usr/local/apache/libexec/libphp4.so into server: dynamic
> > linker: /usr/local/apache/bin/httpd: relocation error: symbol not found:
> >
> > pow
>
> Sounds like you are missing a -lm somewhere. Try:
>
> CFLAGS=-lm ./configure --with-mysql ...
>
> > I was also getting this under apache 1.3.12 pre-compiled from skunkware.
> >
> > The php3 was working ok but did not have mysql support in it. With the
> > php3 installed as well under apache-1.3.12 the symbol was different:
> > symbol __udivdi3:
> > When I removed php3 then I got the pow symbol not found error.
>
> The divdi3 problem happens when you are mixing libraries compiled with a
> non-gcc compiler with libraries compiled and linked with gcc. Adding
> --enable-libgcc to the PHP configure line should work around this.
>
> -Rasmus
--
Regards
Frank S. Bernhardt
b.c.s.i.
14 Halton Court
Markham, ON.
L3P 6R3
905-471-1691 Voice
905-471-3016 FAX
frank@bcsi.ca
Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s
Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s