View Single Post

   
  #3 (permalink)  
Old 01-17-2008, 07:02 AM
Rick Jones
 
Posts: n/a
Default Re: Unable to compile PHP 5.2.4 with mysql extension on Hp-UX 11.11

> > #/usr/local/mysql/bin/mysql --version
> > /usr/local/mysql/bin/mysql Ver 14.12 Distrib 5.0.37, for hp-hpux11.11
> > (hppa2.0w) using readline 5.0
> > #
> >
> > anyideas? I've searched all over and haven't found anything on
> > t'internet.



> Offhand I would say your xml2 library is not the correct format for
> your compiler.


Sounds like something worth checking via the file command.

PA2.0W implies 64-bit so the /usr/local/mysql/bin/mysql binary and
anything it has as a dependency is likely 64-bit (one cannot mix
32-bit and 64-bit objects in the same running image).

The HP ANSI C compiler defaults to making a 32-bit binary, even on a
system running a 64-bit kernel. I don't use gcc on UX so I'm not sure
if a purportedly 64-bit gcc compiler produces 64-bit objects by
default or not, but I suppose a quick "Hello World" test could check
that via the file command on the resulting a.out.

rick jones
--
portable adj, code that compiles under more than one compiler
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
Reply With Quote