#48785 [Opn]: PHP -i segfaults with sqlite.so enabled

From: Date: Sun, 19 Jul 2009 23:31:32 +0000
Subject: #48785 [Opn]: PHP -i segfaults with sqlite.so enabled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-139939@lists.php.net to get a copy of this message
 ID:               48785
 Updated by:       felipe@php.net
 Reported By:      gerwin at digitalus dot nl
 Status:           Open
 Bug Type:         PDO related
 Operating System: RHEL 5
 PHP Version:      5.3.0
 New Comment:

Disregards my comment on this report, I've filed a bug report with the
issue that I mentioned.


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

[2009-07-19 20:56:02] felipe@php.net

This' a startup order issue, the module check on PDO was wrong. I've
fixed the check, now we have:

PHP Fatal error:  You MUST load PDO before loading any PDO drivers in
Unknown on line 0
PHP Fatal error:  Unable to start pdo_sqlite module in Unknown on line
0


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

[2009-07-13 07:37:41] gerwin at digitalus dot nl

# ./configure --disable-all  --enable-pdo=shared --with-sqlite=shared
--with-pdo-sqlite=shared --enable-debug (as you said)

Results in:
configure: error:
You've configured extension pdo_sqlite, which depends on extension
sqlite3,
but you've either not enabled sqlite3, or have disabled it.

#./configure --disable-all  --enable-pdo=shared
--with-pdo-sqlite=shared --enable-debug  --without-sqlite
--with-sqlite3

Does work with configure and building but still hitting:
http://bugs.php.net/bug.php?id=48614

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

[2009-07-10 18:29:32] jani@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

And if that didn't fix the issue, try exactly this configure line:

# ./configure --disable-all  --enable-pdo=shared --with-sqlite=shared
--with-pdo-sqlite=shared --enable-debug

And make sure the modules you build are the actual modules loaded!

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

[2009-07-10 10:22:20] gerwin at digitalus dot nl

Hmm don't want to be go offtopic, but when doing a minimal build. Im
getting an error when loading the pdo_sqlite modules with:

undefined symbol: sqlite3_libversion

Build line:
'./configure'  '--enable-pdo=shared' '--with-sqlite=shared'
'--with-pdo-sqlite=shared' '--libdir=/usr/lib'
'--libexecdir=/usr/libexec' '--with-libdir=lib' '--enable-debug'

If you have some "offtopic" questions not directly related to the
initial problem you can reach me on the above email addy ...

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

[2009-07-07 16:45:47] jani@php.net

Please try and shorten your configure line to shortest possible with
--enable-debug and --disable-all included which still causes the issue.

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

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

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



Thread (20 messages)

« previous php.bugs (#139939) next »