|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58641 Crash on connection (Symbol not found: _fourd_init)
Submitted: 2009-04-22 10:19 UTC Modified: 2009-04-23 08:23 UTC
From: php at 4d dot fr Assigned:
Status: Closed Package: PDO_4D (PECL)
PHP Version: 5.2.6 OS: Mac OS X Server 10.5.6
Private report: No CVE-ID: None
 [2009-04-22 10:19 UTC] php at 4d dot fr
PHP crash while trying to connect 4D with PDO_4D

The configure Line is :

'/SourceCache/apache_mod_php/apache_mod_php-44.1/php/configure' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--with-apxs2=/usr/sbin/apxs' '--with-ldap=/usr' '--with-kerberos=/usr' '--enable-cli' '--with-zlib-dir=/usr' '--enable-trans-sid' '--with-xml' '--enable-exif' '--enable-ftp' '--enable-mbstring' '--enable-mbregex' '--enable-dbx' '--enable-sockets' '--with-iodbc=/usr' '--with-curl=/usr' '--with-config-file-path=/etc' '--sysconfdir=/private/etc' '--with-mysql-sock=/var/mysql' '--with-mysqli=/usr/bin/mysql_config' '--with-mysql=/usr' '--with-openssl' '--with-xmlrpc' '--with-xsl=/usr' '--without-pear'

With these shared extensions :

PDO_4D description in phpinfo is :

Version 0.1alpha (2009-02-19)
Revision $Id: pdo_4d.c 50 2009-03-18 15:25:39Z splanquart $

mbstring description is :

Reproduce code:
<html><head><title>test 4D</title></head>
<h1>test 4D</h1>
try {
	$dbh = new PDO('4D:host=;port=19812;charset=utf-8', 'SQL_User', 'SQL_Pwd');
	if ($dbh) {
		$sth = $dbh->prepare("SELECT * FROM _USER_SCHEMAS");
		echo 'Fetch all of the remaining rows in the result set' . PHP_EOL;
		$result = $sth->fetchAll();
} catch (PDOException $e) {
    echo 'Error PDO : ' . $e->getMessage(); 
} catch (Exception $e) {
    echo 'Error PHP : ' . $e->getMessage();

Expected result:
The data resulting from the SQL request

Actual result:
No response from Apache to the HTTP request

Apache Log :

[Wed Apr 22 11:17:28 2009] [notice] child pid 97066 exit signal Trace/BPT trap (5)
dyld: lazy symbol binding failed: Symbol not found: _fourd_init
  Referenced from: /usr/libexec/apache2/
  Expected in: dynamic lookup

dyld: Symbol not found: _fourd_init
  Referenced from: /usr/libexec/apache2/
  Expected in: dynamic lookup


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-22 11:49 UTC] php at 4d dot fr
The configure used for the pdo_4d shared module is

CFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os  -pipe -no-cpp-precomp" \
CCFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os  -pipe" \
CXXFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os  -pipe" \
LDFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -bind_at_load" \
./configure \
--target=x86_64 \
--enable-mbstring \
--enable-pdo \
 [2009-04-23 08:23 UTC] php at 4d dot fr
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 25 08:01:30 2024 UTC