freebsd3 "bad magic number" error
| From: | Peter Vysotin | Date: | Mon, 07 May 2001 15:19:24 +0000 |
| Subject: | freebsd3 "bad magic number" error | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3051@lists.php.net to get a copy of this message | ||
Hello,
I want to install PHP 4.0.5 on FreeBSD 3 using DSO, Apache version 1.3.4:
./configure --with-apxs=/usr/local/sbin/apxs --with-mysql
make
make install
It's all works OK, but when I try to restart Apache, I receive "bad magic
number" error with libphp4.so module.
I think it's a file format error. I've found "ELF" signature inside
libphp4.so file. Probably my linker created an executable instead of shared
object? How can I fix it? Should I turn on some options in configure script
or try something else?
WBR,
Peter Vysotin