--- owfs-2.9p5/module/swig/php/Makefile.am.orig 2014-04-26 15:48:46.000000000 +0000 +++ owfs-2.9p5/module/swig/php/Makefile.am 2014-07-05 22:09:44.209962135 +0000 @@ -8,7 +8,7 @@ lib_LTLIBRARIES = libowphp.la libowphp_la_LIBADD = ../../owlib/src/c/libow.la libowphp_la_DEPENDENCIES = ../../owlib/src/c/libow.la -libowphp_la_LDFLAGS = -shared -shrext .so +libowphp_la_LDFLAGS = -shared -module -avoid-version # Older php installations doesn't handle owfs_config.h filename, and tries # to include non-existing config.h if HAVE_CONFIG_H is defined.