1 |
Hi |
2 |
|
3 |
I just did a emerge -vnuD system and I think a build was done on |
4 |
mysql (seems this is the origin of the problems) I'm getting a PHP |
5 |
Warning as follows, and Apache2 doesn't start up :( |
6 |
|
7 |
|
8 |
PHP Warning: PHP Startup: Unable to load dynamic library |
9 |
'/usr/lib/php5/lib/extensions/no-debug-zts-20060613/mysql.so' - |
10 |
/usr/lib/php5/lib/extensions/no-debug-zts-20060613/mysql.so: cannot open |
11 |
shared object file: No such file or directory in Unknown on line 0 |
12 |
|
13 |
no matter what I do, i have been trying to go thru the php.ini |
14 |
files to comment out or remove the linking to extensions, but nothing is |
15 |
fixing the problem |
16 |
|
17 |
I ran revdep-rebuild -library=mysql.so but this returned with no |
18 |
problems :( |
19 |
|
20 |
if I run /etc/init.d/apache2 restart I get the following |
21 |
|
22 |
* Stopping apache2 ... |
23 |
httpd (no pid file) not |
24 |
running [ ok ] |
25 |
* Starting apache2 |
26 |
... [ ok ] |
27 |
|
28 |
but tailing /var/log/apache2/error_log I get the above PHP warning |
29 |
|
30 |
If I ls -la the file it is finding error, I have a missing mysql.so |
31 |
|
32 |
jumpgate ~ # ls -la /usr/lib/php5/lib/extensions/no-debug-zts-20060613/ |
33 |
total 16 |
34 |
drwxr-xr-x 2 root root 80 Oct 4 15:00 . |
35 |
drwxr-xr-x 3 root root 88 Oct 4 12:44 .. |
36 |
-rwxr-xr-x 1 root root 13828 Oct 4 14:59 phpcups.so |
37 |
|
38 |
relinking the file with the following into the problem directory, |
39 |
|
40 |
no-debug-zts-20060613 # ln -s |
41 |
/usr/lib/perl5/vendor_perl/5.12.2/i686-linux/auto/DBD/mysql/mysql.so |
42 |
mysql.so |
43 |
|
44 |
I get the following when I try and restart apache2, the error_log |
45 |
file is now |
46 |
|
47 |
PHP Warning: PHP Startup: Unable to load dynamic library |
48 |
'/usr/lib/php5/lib/extensions/no-debug-zts-20060613/mysql.so' - |
49 |
/usr/lib/php5/lib/extensions/no-debug-zts-20060613/mysql.so: undefined |
50 |
symbol: PL_unitcheckav in Unknown on line 0 |
51 |
|
52 |
|
53 |
I have "emerged" everything mysql, and everything php as in find |
54 |
what packages are installed, and anything with PHP in their name or |
55 |
mysql in their name, I have re-merged. |
56 |
|
57 |
But yet, I still have a problem :( |