midgardproject / midgard-php5

PHP5 API for Midgard persistent storage framework
http://www.midgard-project.org/api-docs/midgard/php/ratatoskr/
GNU Lesser General Public License v2.1
9 stars 2 forks source link

Extension loading fails under PHP 5.4 #94

Closed flack closed 12 years ago

flack commented 12 years ago

I just tried installing php 5.4 from a PPA on Ubuntu 12.04. Afterwards, I compiled midgard-php5 with pake re && pake install. Afterwards, I get the following error when running any PHP code:

 PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/midgard2.so' - /usr/lib/php5/20100525/midgard2.so: undefined symbol: midgard_sql_query_constraint_get_holder in Unknown on line 0

Not sure if it has something to do with my local configuration, so if there's something I did wrong, please let me know!

piotras commented 12 years ago

Duplicates https://github.com/midgardproject/midgard-core/issues/165. Already fixed.