Hi! I would like to compile the mnogosearch module in a
Debian stable instalation. I donīt want to go and install the unstable
version of apache and PHP for now, although Iīm running mnogosearch-mysql
from unstable. So I did the following:
Download
mnogosearch-3.2.15.tar.gz, compiled and installed in
/usr/local/mnogosearch in order to have all header files (I
couldnīt find a mnogosearch-dev or something on unstable).
Download
php-4.1.2.tar.gz, untarīd and and replaced ext/mnogosearch from
mnogosearchīs newer php extension (4.1.2īs is incompatible with
mnogosearch 3.2.15).
Compiled php-4.1.2 with "./configure
--enable-shared --enable-static=no --with-mnogosearch=shared
--without-mysql". I just wanted a mnogosearch.so, so I didnīt care to
put support to everything else.
make install-modules: it goes
"installing shared modules into
/usr/local/lib/php/extensions/no-debug-non-zts-20010901". Went to that
directory and found a mnogosearch.a file. I was expecting a
mnogosearch.so. Tried to "dl('mnogosearch.a');" and got a message
Warning: Unable to load dynamic library
'/usr/local/lib/php/extensions/no-debug-non-zts-20010901/mnogosearch.a' -
/usr/local/lib/php/extensions/no-debug-non-zts-20010901/mnogosearch.a:
invalid ELF header in - on line 1
Itīs right, a ".a" file is not an
executable. So what should I do to get a mnogosearch.so
file?
Thanks in advance,
Daniel Wey
_______________________
José Daniel Ramos
Wey
Diretor de Tecnologia
ONE2ONE
Interativa
email: [EMAIL PROTECTED]
Tel: (11) 3814-9249
Fax: (11)
3819-5263