Hey I installed obsoleted PHP extension

…which is mhash. On OpenSolaris.

It’s detected to cause SIGSEGV when running. And I’ve struggled to make it running few days ago…

And I just read that it’s obsoleted, replaced by hash (which doesn’t need lulz parameter to compile).

If you’re interested, when compiling mhash and php (with mhash – but why do you want to do it is beyond me), make sure to pass “-D__const=const” to CC environment variable so it looks like “CC=cc -D__const=const” – assuming you have cc in your $PATH.

On relatively unrelated note, I hate 64/32-bit library mixing. Well, not mix, but I hate running in dual mode.

Leave a Reply

Your email address will not be published. Required fields are marked *