Received: (qmail 16177 invoked by uid 2012); 25 Jul 1998 21:52:39 -0000 Message-Id: <19980725215239.16176.qmail@hyperreal.org> Date: 25 Jul 1998 21:52:39 -0000 From: Thies C.Arntzen Reply-To: thies@digicol.de To: apbugs@hyperreal.org Subject: linking some APXS module with ORACLE libs seems to confuse apache... X-Send-Pr-Version: 3.2 >Number: 2712 >Category: os-solaris >Synopsis: linking some APXS module with ORACLE libs seems to confuse apache... >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sat Jul 25 16:10:01 PDT 1998 >Last-Modified: Sat Nov 14 08:23:08 PST 1998 >Originator: thies@digicol.de >Organization: >Release: 1.3.1 >Environment: SunOS voyager 5.6 Generic_105181-06 sun4u sparc SUNW,Ultra-2 gcc version 2.8.1 >Description: i've written a module wich i've converted to use APXS style (i used to compile directly into apache) if i link my module without ORACLE libs (and without ORACLE functionality ;-((( ) everything is fine, if i link it with oracle libs (and then load it via LoadModule) it does not show ut in the server-info and on server-shutdown i get [Sat Jul 25 23:33:13 1998] [error] Cannot remove module mod_htdl.c: not found in module list in the error log... >How-To-Repeat: hmm, just checked -> if you have access to a sun with oracle8 you will get the same problem using the "normal" PHP3 module (without oracle - fine / with ORACLE - problem) >Fix: there seems to be a problem with the dl stuff. >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: rse State-Changed-When: Sun Aug 2 04:26:26 PDT 1998 State-Changed-Why: Let me guess: The ORACLE library is itself a shared library, right? If this is the case perhaps there is a problem under Solaris+GCC-2.8 where the DSO isn't liked correctly against the ORACLE library. Usually ELF-based systems can link a DSO against a shared lib, but only when the compiler and linker work correctly together. Is there no error message in the error_log when loading your DSO? Usually you already should receive on when the module is loaded... From: "Thies C. Arntzen" To: rse@Apache.Org Cc: apbugs@Apache.Org Subject: Re: os-solaris/2712: linking some APXS module with ORACLE libs seems to confuse apache... Date: Mon, 10 Aug 1998 07:46:56 +0200 rse@apache.org wrote: > [In order for any reply to be added to the PR database, ] > [you need to include in the Cc line ] > [and leave the subject line UNCHANGED. This is not done] > [automatically because of the potential for mail loops. ] > [If you do not include this Cc, your reply may be ig- ] > [nored unless you are responding to an explicit request ] > [from a developer. ] > [Reply only with text; DO NOT SEND ATTACHMENTS! ] > > Synopsis: linking some APXS module with ORACLE libs seems to confuse apache... > > State-Changed-From-To: open-feedback > State-Changed-By: rse > State-Changed-When: Sun Aug 2 04:26:26 PDT 1998 > State-Changed-Why: > Let me guess: The ORACLE library is itself a shared > library, right? If this is the case perhaps there > is a problem under Solaris+GCC-2.8 where the DSO > isn't liked correctly against the ORACLE library. > Usually ELF-based systems can link a DSO against > a shared lib, but only when the compiler and linker > work correctly together. Is there no error message > in the error_log when loading your DSO? Usually > you already should receive on when the module is loaded... it's a shared lib, yes. and sorry, no weird mesage in the error_log. i could try to use the static ORACLE-Libs - would that be of any help to you? regards, tc > > > State-Changed-From-To: feedback-open State-Changed-By: lars State-Changed-When: Sat Nov 14 08:23:08 PST 1998 State-Changed-Why: issue is still open... >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]