php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58032 NSLinkModule() error
Submitted: 2008-02-06 16:00 UTC Modified: 2008-03-25 08:43 UTC
From: omarshariffdontlikeit at gmail dot com Assigned: mike (profile)
Status: No Feedback Package: pecl_http (PECL)
PHP Version: 5.2.0 OS: OSX 10.4.11
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: omarshariffdontlikeit at gmail dot com
New email:
PHP Version: OS:

 

 [2008-02-06 16:00 UTC] omarshariffdontlikeit at gmail dot com
Description:
------------
Apache refuses to launch and reports the following error:

[Wed Feb  6 20:22:37 2008] [notice] caught SIGTERM, shutting down
dyld: NSLinkModule() error
dyld: Symbol not found: _OnUpdateInt
  Referenced from: /usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613/http.so
  Expected in: flat namespace


I compiled pecl_http-1.6.0 as instructed on the PHP.net site, using phpize. The only failure was make install failed at attempting to install the newly compiled module in the wrong directory. I figured that manually copying the http.so file to my extensions directory wouldn't be a problem (it's not, is it?)

My setup:

OSX Tiger 10.4.11
Apache/1.3.33 (Darwin) PHP/5.2.0

Heres the configure line for my PHP:

'./configure' '--prefix=/usr/local/php5' '--with-apxs' '--with-config-file-scan-dir=/usr/local/php5/php.d' '--with-iconv' '--with-openssl=/usr' '--with-zlib=/usr' '--with-gd' '--with-zlib-dir=/usr' '--with-ldap' '--with-xmlrpc' '--with-iconv-dir=/usr' '--with-snmp=/usr' '--enable-exif' '--enable-wddx' '--enable-soap' '--enable-sqlite-utf8' '--enable-ftp' '--enable-sockets' '--enable-dbx' '--enable-dbase' '--enable-mbstring' '--enable-calendar' '--enable-bcmath' '--with-bz2=/usr' '--enable-memory-limit' '--with-curl=shared,/usr/local/php5' '--with-mysql=shared,/usr/local/php5' '--with-mysqli=shared,/usr/local/php5/bin/mysql_config' '--with-pdo-mysql=shared,/usr/local/php5' '--with-libxml-dir=shared,/usr/local/php5' '--with-xsl=shared,/usr/local/php5' '--with-pdflib=shared,/usr/local/php5' '--with-imap=../imap-2004g' '--with-kerberos=/usr' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr/local/php5' '--with-png-dir=/usr/local/php5' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local/php5' '--with-iodbc=shared,/usr' '--with-pgsql=shared,/usr/local/php5' '--with-pdo-pgsql=shared,/usr/local/php5' '--with-t1lib=/usr/local/php5' '--with-gettext=shared,/usr/local/php5' '--with-ming=shared,/usr/local/php5' '--with-mcrypt=shared,/usr/local/php5' '--with-mhash=shared,/usr/local/php5' '--with-mssql=shared,/usr/local/php5' '--with-fbsql=shared,/Users/liyanage/svn/entropy/universalbuild/src/FBDeveloperLibraries/Library/FrontBase' '--with-json=shared' '--enable-memcache' '--enable-openbase_module'





Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-02-08 04:10 UTC] mike@php.net
:-?

It would mean that ZEND_ENGINE_2 would not be defined at compile time:

mike@waldrapp:~/cvs/php-5.3/ext/http$ grep -C 2 OnUpdateInt http.c

#ifndef ZEND_ENGINE_2
#       define OnUpdateLong OnUpdateInt
#endif
 [2008-03-25 08:43 UTC] mike@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC