php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7648 ld: Unsatisfied symbols: DL_UNLOAD
Submitted: 2000-11-05 16:56 UTC Modified: 2001-02-20 07:26 UTC
From: cary at elocale dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.3pl1 OS: HP-UX 11
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cary at elocale dot com
New email:
PHP Version: OS:

 

 [2000-11-05 16:56 UTC] cary at elocale dot com
I was only able to compile Apache w/ PHP as a static module (on HP-UX 11 using GCC) after modifying the function zend_extension_startup in the Zend/zend_extensions.c file to include preprocessor lines concerning conditional support of Zend extensions. Modified code looks like this:

static void zend_extension_startup(zend_extension *extension)
{
    /* following line added */
    #if ZEND_EXTENSIONS_SUPPORT
    if(extension->startup) {
        if(extension->startup(extension)!=SUCCESS) {
            DL_UNLOAD(extension->handle)
        }
    }
    /* following line added */
    #endif
}
 Before adding these lines I got the following error message when running make install on Apache after creating PHP as a static module:

/usr/ccs/bin/ld: Unsatisfied symbols:
  DL_UNLOAD (code)
collect2: ld returned 1 exit status
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-02 09:00 UTC] sniper@php.net
Please try PHP 4.0.4 as this should be fixed.

--Jani
 [2001-02-20 07:26 UTC] sniper@php.net
No feedback, considered fixed.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Sep 23 14:01:28 2024 UTC