NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP segmentation fault with custom-compiled binaries -Zen Cart

Tim Gales tgales at tgaconnect.com
Sun Feb 13 15:49:29 EST 2005


Jayesh Sheth writes:
> Do I need to build the shared object on a Debian system if it 
> is going to be copied to a Debian system 
> ... 
> Do shared object work just like dlls on Windows - 
> i.e. they can be copied from system to system and just 
> "swapped in"?

You would need to build the libraries on a machine 
with exactly the same dependencies. The various executables 
and intermediary libs often depend on version specific shared libraries 
and sometimes in very intricate ways -- so you are more than 
likely going to mess up somewhere if you try copying things around.

A package manager can keep track of all those dependencies for you.

Assuming you can use apt-get (or some other package manager).
which will take care of the dependencies, you should use that   
to install MySQL and then rebuild against that installation.

e.g.
http://www.privaterra.org/blog-rg/fixing_the_php_mysql_apache_segfault.htm
l


T. Gales & Associates
'Helping People Connect with Technology'

http://www.tgaconnect.com





More information about the talk mailing list