ID: 35737
Updated by: [EMAIL PROTECTED]
Reported By: jphml at videotron dot ca
-Status: No Feedback
+Status: Bogus
Bug Type: SQLite related
Operating System: Linux
PHP Version: 5.1.1
New Comment:
Use `make clean` when building different SAPIs one after another.
Previous Comments:
------------------------------------------------------------------------
[2006-02-28 18:51:11] mail at kallesoee dot dk
i am seeing the same problem on freebsd 5.4 apache 1.3.34
------------------------------------------------------------------------
[2006-02-13 02:28:55] gus dot heck at gmail dot com
Here is how I can get in and out of this bad state.
Get in:
make clean
./configure --with-mysqli=/usr/local/mysql/bin/mysql_config
make && make install
./configure --with-mysqli=/usr/local/mysql/bin/mysql_config
--with-apxs2=`which apxs2`
make && make install
Now I get the undefined symbol, to get out
make clean
./configure --with-mysqli=/usr/local/mysql/bin/mysql_config
--with-apxs2=`which apxs2`
make && make install
It would seem that there is a dependency that the makefiles don't
handle. I got into this state because I had thought that ./configure
would find apache automatically, but it didn't. So I looked up some
docs found the apxs2 flag and enabled it, but didn't do a clean.
------------------------------------------------------------------------
[2006-02-04 03:38:01] fuchsd at gmail dot com
Same problem: php 5.1.2, apache 2.2.0, mysql 5.0.18, Ubuntu Breezy
------------------------------------------------------------------------
[2006-02-01 19:33:15] kpankratz at gmail dot com
installing Tcl-devel package did not solve the problem.
Using --with-zlib removed the sqlite errors. The next module in the
list now produces the error.
ldd -d libphp5.so shows most of the modules as an undefined symbol.
PHP 5.1.2 source files, Apache 2.2.0 source files, OS = SLES 9 SP3
------------------------------------------------------------------------
[2006-01-28 23:08:34] vano at kolumbus dot fi
Try to install Tcl-devel package, because sqlite needs it. Then
recompile php.
OR
Re-configure pdo_sqlite/sqlite with "--disable-tcl" option (because it
is actually not needed for building the lirary). Then recompile php.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/35737
--
Edit this bug report at http://bugs.php.net/?id=35737&edit=1