php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36349 Unable to load libraries dynamically using a shell script
Submitted: 2006-02-10 10:37 UTC Modified: 2006-02-10 10:41 UTC
From: xavier dot bordes at urssaf dot fr Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 5.1.2 OS: Unixware 7.1.4
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: xavier dot bordes at urssaf dot fr
New email:
PHP Version: OS:

 

 [2006-02-10 10:37 UTC] xavier dot bordes at urssaf dot fr
Description:
------------
Using  PHP Version 5.0.4 scripts in  a command line under UnixWare we obtain systematically these messages: 

PHP Warning:  PHP Startup: Unable to load dynamic library '/appl/php/php_rnd/modules/libdbg.so' - dynamic linker: /appl/php/php_rnd/bin/php: relocation error: symbol not found: OnUpdateLong; referenced from: /appl/php/php_rnd/modules/libdbg.so in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/appl/php/php_rnd/modules/libbcompiler.so' - dynamic linker: /appl/php/php_rnd/bin/php: relocation error: symbol not found: compiler_globals; referenced from: /appl/php/php_rnd/modules/libbcompiler.so in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/appl/php/php_rnd/modules/libdocubase.so' - dynamic linker: /appl/php/php_rnd/bin/php: relocation error: symbol not found: executor_globals; referenced from: /appl/php/php_rnd/modules/libdocubase.so in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/appl/php/php_rnd/modules/libxmlreader.so' - dynamic linker: /appl/php/php_rnd/bin/php: relocation error: symbol not found: empty_string; referenced from: /appl/php/php_rnd/modules/libxmlreader.so in Unknown on line 0


If we use Apache to execute the same scripts all is  OK ! All libraries are functional and we can use these quietly.

The LD_LIBRARY_PATH are the same and PHP try to load the libraries at the right place.

All permissions are 777 for each library.

We are suspecting a compilation flag because our system engineer did a new compilation recently. He is now in India for a couple of weeks.

Who can give us an Idea ?



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-10 10:41 UTC] tony2001@php.net
Looks like you forgot to update PHP CLI and it is trying to use extensions from newer version of PHP.
Anyway, it's not PHP problem and I'd say such questions should be asked in the list.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 21:01:30 2024 UTC