anonymous wrote :
LD_LIBRARY_PATH=/jboss/jboss-4.0.2/PHP/lib:jboss/jboss-4.0.2/bin/native;
| export LD_LIBRARY_PATH;
and
anonymous wrote : java.lang.UnsatisfiedLinkError:
/usr/lib/jdk1.5.0_15/jre/lib/i386/server/libphp5servlet.so:
/usr/lib/jdk1.5.0_15/jre/lib/i386/server/libphp5.so: undefined symbol:
xmlTextReaderSchemaValidate, no libphp5servlet in
java.library.path(/usr/lib/jdk1.5.0_15/jre/lib/i386/server:/usr/lib/jdk1.5.0_15/jre/lib/i386:/usr/lib/jdk1.5.0_15/jre/../lib/i386:/jboss/jboss-4.0.2/PHP/lib:/jboss/jboss-4.0.2/bin/native)
That looks fishy: The libphp5.so is in one place and you set LD_LIBRARY_PATH to another
one. Follow the doc and don't try to put the bundle insde the JVM installation path.
1 - Check if you have a libxml2.so in the php bundle. If not something went wrong will
building.
2 - Use ldd libphp5.so and LD_LIBRARY_PATH to find the right value for LD_LIBRARY_PATH
3 - Use nm on libxml2.so to check that xmlTextReaderSchemaValidate is an exported
symbol.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194221#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...