ID:               48614
 Comment by:       koubel at volny dot cz
 Reported By:      kaspernj at gmail dot com
 Status:           Assigned
 Bug Type:         PDO related
 Operating System: Ubuntu Jaunty
 PHP Version:      5.3.0RC4
 Assigned To:      scottmac
 New Comment:

i dot galic: yes, but if I use bundled sqlite, without /usr in
configure, bug is still here. When I use --enable-pdo=shared
--with-pdo-sqlite=shared
"configure" and "make" phases are ok, but when I try to use "make test"
all tests fails, because warning:
dl(): Unable to load dynamic library '.../pdo_sqlite.so' -
.../pdo_sqlite.so: undefined symbol: sqlite3_libversion

is produced on every test.

So bug is still there (tested php 5.3.1 on Debian Lenny). Using own
sqlite is workaround I think.


Previous Comments:
------------------------------------------------------------------------

[2009-11-22 23:37:04] i dot galic at brainsware dot org

from pdo_sqlite.la
# Libraries that this one depends upon.
dependency_libs=' -lrt'

from pdo_pgsql.la:
# Libraries that this one depends upon.
dependency_libs=' -lpq'

Makes sense. The obvious fix (or workaround) would be to do:

--with-sqlite=shared,/usr --with-pdo-pgsql=shared,/usr etc..

In Debian, make sure to have libsqlite0-dev and libsqlite3-dev
installed

------------------------------------------------------------------------

[2009-11-11 17:12:22] kenashkov at gmail dot com

I'm able to reproduce this with 5.3.1 RC3 on debian 5.

------------------------------------------------------------------------

[2009-08-23 00:22:27] koubel at volny dot cz

yes, same problem with php 5.3.0 final instalation on debian stable

------------------------------------------------------------------------

[2009-07-09 18:18:07] dkepplinger at gmail dot com

I have the same problem with PHP 5.3 on Debian 5.0.2 when loading the
pdo_sqlite.so extension in the config file.

------------------------------------------------------------------------

[2009-06-23 07:18:49] dominics at gmail dot com

I can reproduce this bug (Debian Lenny) with the following minimal
configure line:

./configure --with-zlib --enable-pdo=shared --with-sqlite=shared
--with-pdo-sqlite=shared

For now, not building PDO as shared seems to be a workaround.

------------------------------------------------------------------------

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/48614

-- 
Edit this bug report at http://bugs.php.net/?id=48614&edit=1

Reply via email to