Trouble with PHP bindings
Ian Davis [foaf] asked for PHP Redland bindings on Windows in response to my latest adventures.
Having had other such requests in the past, I decided to give it a shot. PHP is not one my core languages, even though I use applications written in it. Luckily there is a test PHP script in the Redland bindings package that I could use.
Long story short, it’s not happening today. I’m close, but there are still some issues:
error LNK2019: unresolved external symbol _librdf_php_get_world referenced in function __wrap_librdf_php_get_world
error LNK2019: unresolved external symbol _librdf_php_world_finish referenced in function __wrap_librdf_php_world_finish
error LNK2019: unresolved external symbol __imp__compiler_globals referenced in function _zm_startup_redland
php_redland.dll : fatal error LNK1120: 3 unresolved externals
I need to resolve these three symbols before I can get any further. Any advice would be appreciated - I’m especially stumped by the librdf_php ones, as I’ve never seen those functions defined anywhere and would have assumed they were SWIG-generated.