Bug #50420 [Fbk->NoF]: pdo_sqlite.so: undefined symbol: sqlite3_libversion
| From: | php-bugs at lists dot php dot net | Date: | Mon, 18 Feb 2013 00:34:03 +0000 |
| Subject: | Bug #50420 [Fbk->NoF]: pdo_sqlite.so: undefined symbol: sqlite3_libversion | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-176781@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=50420&edit=1
ID: 50420
Updated by: php-bugs@lists.php.net
Reported by: starcraftmazter at gmail dot com
Summary: pdo_sqlite.so: undefined symbol: sqlite3_libversion
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: PDO related
Operating System: CentOS 5.3 64bit
PHP Version: 6SVN-2009-12-09 (snap)
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2010-06-21 13:08:52] kalle@php.net
Please try using this snapshot:
http://snaps.php.net/php-trunk-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Hi, please try a snapshot of trunk, as the old trunk for 6.0 is rebranched and the new trunk is
based on 5.3
------------------------------------------------------------------------
[2009-12-09 02:43:09] starcraftmazter at gmail dot com
Description:
------------
This error occurs on (currently) the latest snapshot, when loading the extension. It seems to be
related to PDO/Sqlite.
Compile String for reference:
'./configure' '--prefix=/usr/local'
'--with-apxs2=/usr/local/apache/bin/apxs' '--enable-bcmath'
'--enable-calendar' '--enable-exif' '--enable-ftp'
'--enable-gd-native-ttf' '--enable-libxml' '--enable-mbstring'
'--enable-soap' '--enable-sockets' '--enable-zip'
'--with-bz2' '--with-curl=/opt/curlssl/' '--with-curlwrappers'
'--with-freetype-dir=/usr' '--with-gd' '--with-gettext'
'--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr'
'--with-kerberos' '--with-libdir=lib64' '--with-libxml-dir=/opt/xml2'
'--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/'
'--with-mhash=/opt/mhash/' '--with-openssl-dir=/usr'
'--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr'
'--with-openssl=/usr' '--with-pic' '--with-xpm-dir=/usr'
'--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-mysql'
'--with-mysqli' '--with-pgsql' '--with-sqlite=shared'
'--enable-pdo=shared' '--with-pdo-sqlite=shared'
'--with-pdo-mysql=shared' '--with-pdo-pgsql=shared'
'--with-config-file-path=/opt/php/ini/6'
Shared PDO extensions are loaded in the right order:
extension=pdo.so
extension=pdo_sqlite.so
extension=pdo_mysql.so
extension=pdo_pgsql.so
This same setup works well on php 5.3 and 5.2 lines.
This may be related to this bug: http://bugs.php.net/bug.php?id=48614
Doing what i dot galic suggested, results in the following error upon ./configure though;
checking for sqlite_open in -lsqlite... no
I have my sqlite installed in /usr(/lib)
Reproduce code:
---------------
<?php
echo phpinfo();
?>
Expected result:
----------------
No error
Actual result:
--------------
/opt/php/6/bin/php: symbol lookup error:
/opt/php/6/lib/php/extensions/no-debug-non-zts-20070729/pdo_sqlite.so: undefined symbol:
sqlite3_libversion
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=50420&edit=1