php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56357 Undefined symbol _OnUpdateLong
Submitted: 2005-03-22 17:07 UTC Modified: 2015-02-26 07:39 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: strauchdieb at gmx dot de Assigned: gschlossnagle (profile)
Status: Suspended Package: apd (PECL)
PHP Version: 4.3.9 OS: Mac OS X
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: strauchdieb at gmx dot de
New email:
PHP Version: OS:

 

 [2005-03-22 17:07 UTC] strauchdieb at gmx dot de
Description:
------------
After installing APD, Apache doesn't start up and php fails to work.


Reproduce code:
---------------
php -v

Expected result:
----------------
PHP 4.3.9 (cli) (built: Oct 25 2004 18:00:02)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

Actual result:
--------------
dyld: /usr/local/php/bin/php Undefined symbols:
_OnUpdateLong
Trace/BPT trap

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-04 09:57 UTC] ghislain dot durand at gmail dot com
Same bug on Redhat 9.0,
with custom compiled apache 1.3.33 and php 4.3.11 in /usr/local

Error message is :
PHP Warning:  Unknown(): Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20020429/apd.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20020429/apd.so: undefined symbol: OnUpdateLong in Unknown on line 0
Syntax OK
 [2006-01-13 13:50 UTC] pecl dot 5 dot sbma44 at spamgourmet dot com
Same thing's happening to me on OS X.  Tried the 0.9.2 release as well as 1.0.1, on both PHP4, then PHP5.  No luck.  0.9.2 compiled and installed under PHP5 but crashed httpd on startup.
 [2006-09-20 16:50 UTC] bla at bla dot com
PHP6 + OS X =  


gcc -I. -I/tmp/apd-1.0.1 -DPHP_ATOM_INC -I/tmp/apd-1.0.1/include -I/tmp/apd-1.0.1/main -I/tmp/apd-1.0.1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -DHAVE_CONFIG_H -g -O2 -c /tmp/apd-1.0.1/php_apd.c  -fno-common -DPIC -o .libs/php_apd.o
/tmp/apd-1.0.1/php_apd.c: In function 'apd_get_active_function_name':
/tmp/apd-1.0.1/php_apd.c:305: error: used struct type value where scalar is required
/tmp/apd-1.0.1/php_apd.c:306: error: invalid type argument of 'unary *'
/tmp/apd-1.0.1/php_apd.c:312: error: 'struct <anonymous>' has no member named 'scope'
/tmp/apd-1.0.1/php_apd.c:313: error: 'struct <anonymous>' has no member named 'scope'
/tmp/apd-1.0.1/php_apd.c: At top level:
/tmp/apd-1.0.1/php_apd.c:470: error: 'OnUpdateLong' undeclared here (not in a function)
make: *** [php_apd.lo] Error 1
 [2007-06-06 13:59 UTC] brianchoffman at gmail dot com
0.9.2 on OSX Panther Intel

I'm getting this response when starting apache.

dyld: NSLinkModule() error
dyld: Symbol not found: _OnUpdateInt
  Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20020429/apd.so
  Expected in: flat namespace
 [2008-01-09 15:59 UTC] abrahams at gmail dot com
Mac OS 10.5 on Intel
PEAR Version: 1.6.2
PHP Version: 5.2.4
Zend Engine Version: 2.2.0
Running on: Darwin Walden.local 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386


dyld: NSLinkModule() error
dyld: Symbol not found: _OnUpdateLong
  Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so
  Expected in: flat namespace

Trace/BPT trap
 [2008-02-06 14:39 UTC] omarshariffdontlikeit at gmail dot com
Just wanted to add that I get the following error when trying to start Apache with pecl_http:


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 thought I might add that my OSX specs are much more modern that the previous OSX mentioned here, so this issue still hasn't been resolved at this date:

OSX 10.4.11
Apache/1.3.33 (Darwin) PHP/5.2.0

Cheers!
 [2008-02-11 03:27 UTC] tony at daylessday dot org
You see the undefined symbol error because you're trying to load PHP4 extension with PHP5.
OnUpdateInt is present only in PHP4, PHP5 uses OnUpdateLong instead.
When you compile extensions with PHP4 headers, they use OnUpdateInt, so loading them with PHP5 fails on this early stage.
 [2015-02-26 07:39 UTC] krakjoe@php.net
-Status: Assigned +Status: Suspended
 [2015-02-26 07:39 UTC] krakjoe@php.net
APD hasn't had a release in 10 years, this means it's source code is way out of sync with modern PHP.

I'm going to mark this bug as suspended, the report can still be found if a maintainer for APD comes forward.

Sorry about the wait.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Dec 02 04:01:24 2020 UTC