php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45917 Load custom c++ library statically not possible with apache2.2
Submitted: 2008-08-26 06:31 UTC Modified: 2008-08-28 05:51 UTC
From: nagakkumaran at gmail dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5.2.6 OS: winxpsp2
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: nagakkumaran at gmail dot com
New email:
PHP Version: OS:

 

 [2008-08-26 06:31 UTC] nagakkumaran at gmail dot com
Description:
------------
I am trying to create custom library for php extending zend. That was working fine, but if i try to refer a c++ dll inside that library, apache2.2 is not loading the custom library itself. 
but if i try to load the same c++ dll dynamically like c-type dll, i am able to get a reference of the function defined in that dll. 

Loading the c++ dll into the custom library statically is failing.
If needed i will provide the code that iam testing

Thanks for considering
nagakumaran



Expected result:
----------------
To be able to link c++ dll's statically with php custom libraries for apache2.2 and iis versions

Actual result:
--------------
Apache fails to load the php custom library if c++ dll is refered statically inside the custom library

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-26 22:30 UTC] jani@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 [2008-08-28 05:51 UTC] nagakkumaran at gmail dot com
Hi
Thanks for your reply
I visited the link "http://www.php.net/support.php", but there is no space there for asking my question and i don't understand whether it is a limitation or bug in php. It will be helpfull if u give clear information on how to get access to the support places.

My problem is 
I am into creating a custom library extension for php using zend macros, i am able to create that extension. I refered the below mentioned document for creating the library using vs2005. 
"http://blog.slickedit.com/?p=128"
It is working fine, But if i try to refer another c++ library (dll) inside that php extension library, apache2.2 is not loading all the libraries. May be that dependencies are not resolved.

Please help
Nagakumaran
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 22:01:33 2024 UTC