Hi
I'm in the process of trying to install the oggvorbis php extension.
I started on my Ubuntu dapper drake machine and install php5, php-pear, libogg and libvorbis per the php.net manual then tried to install using the suggested command "pear install oggvorbis" but pear could not find it. After a couple of hours I managed to track down the oggvorbis library at pecl.php.net. However, when I tried to install it I got a compilation error; managed to work it out - the switch statement was missing a break;
I finally got it installed off of a package locally on my machine and wrote a simple php script that read the metadata from a ogg file. However, I got the following error;
php: symbol lookup error: /usr/lib/php5/20050922/oggvorbis.so: undefined symbol: ogg_sync_init
with the following line;
$fp = fopen('ogg:///home/.../....ogg', 'r');
I tried adjusting the php.ini directives including include and extension_dir but to no avail.
I then tried the above on CentOS4 but got a different error at the same line;
PHP Notice: fopen(): Unable to find the wrapper "ogg" - did you forget to enable it when you configured PHP? in /....
Any help would be appreciated.