You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Renu Tiwari <Re...@infosys.com> on 2007/10/09 08:05:03 UTC
Error from DSOLoadLibrary in Apache2.0.61(64 bit) on AIX 5.3(64 bit)
Hi All,
We need to support our application (thirdparty) using ASF Apache 2.0.61(64-bit) on AIX 5.3(64-bit). Here our application is also running in 64-bit mode.
We are facing an issue in dynamically loading the thirdparty module to Apache2.0.61 server. Error shown in error_logs of Apache server is
"Error from DSOLoadLibrary - Not enough space".
We were able to load the library from a sample program, here apache is not in the picture.
Sample program:-
void* SmDSOLoadLibrary ( const char *pszDSOPath, char **ppszErrorBuf )
{
void* pHandle = NULL;
pHandle = dlopen( ./test.so, RTLD_LAZY );
if ( !pHandle )
{
printf(" I am in");
return pHandle;
}
return pHandle;
}
Tried with options "ulimit -d unlimited" and also tried to increase the address space by using option LDR_CTRL=MAXDATA=0x80000000
But still we are facing the same issue and getting the same error as "Error from DSOLoadLibrary - Not enough space".
Also we tried to load the same thirdparty module to ASF Apache2.0.61 (64 bit) on AIX 5.2(64 bit). There Apache is able to load the module and the process of Apache and our application are working fine.
The above issue is on AIX 5.3(64 bit) only.
Any suggestion regarding this will be appreciated.
Thanks,
RT
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
RE: Error from DSOLoadLibrary in Apache2.0.61(64 bit) on AIX 5.3(64
bit)
Posted by Renu Tiwari <Re...@infosys.com>.
While building apache source on AIX5.3 when I give ./configure command following message is shown.....
Checking for DSO...
checking for NSLinkModule... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking for dlsym... yes
Will "NSLinkModule" and "shl_load in -ldld" create any issues in dynamic loading of shared object?
Thanks
________________________________
From: Jeff Trawick [mailto:trawick@gmail.com]
Sent: Tuesday, October 09, 2007 7:16 PM
To: dev@httpd.apache.org
Subject: Re: Error from DSOLoadLibrary in Apache2.0.61(64 bit) on AIX 5.3(64 bit)
On 10/9/07, Renu Tiwari <Re...@infosys.com>> wrote:
Hi
Thanks for the reply.
Just wanted to confirm one thing.
We have build the apache 2.0.61 source on AIX 5.2(64 bit) and than placed the resultant Apache folder structure to AIX5.3(64 bit) m/c.
Can this cause some kind of discrepencies?
It shouldn't ;)
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Re: Error from DSOLoadLibrary in Apache2.0.61(64 bit) on AIX 5.3(64 bit)
Posted by Jeff Trawick <tr...@gmail.com>.
On 10/9/07, Renu Tiwari <Re...@infosys.com> wrote:
>
> Hi
>
> Thanks for the reply.
>
> Just wanted to confirm one thing.
> We have build the apache 2.0.61 source on AIX 5.2(64 bit) and than placed
> the resultant Apache folder structure to AIX5.3(64 bit) m/c.
>
> Can this cause some kind of discrepencies?
>
It shouldn't ;)
RE: Error from DSOLoadLibrary in Apache2.0.61(64 bit) on AIX 5.3(64
bit)
Posted by Renu Tiwari <Re...@infosys.com>.
Hi
Thanks for the reply.
Just wanted to confirm one thing.
We have build the apache 2.0.61 source on AIX 5.2(64 bit) and than placed the resultant Apache folder structure to AIX5.3(64 bit) m/c.
Can this cause some kind of discrepencies?
Thanx
________________________________
From: Jeff Trawick [mailto:trawick@gmail.com]
Sent: Tuesday, October 09, 2007 4:42 PM
To: dev@httpd.apache.org
Subject: Re: Error from DSOLoadLibrary in Apache2.0.61(64 bit) on AIX 5.3(64 bit)
On 10/9/07, Renu Tiwari <Re...@infosys.com>> wrote:
We are facing an issue in dynamically loading the thirdparty module to Apache2.0.61 server. Error shown in error_logs of Apache server is
"Error from DSOLoadLibrary - Not enough space".
That's not an Apache message, FWIW. I can't find a reference to "DSOLoadLibrary".
googling indicates that some symbol table might be full and maybe some other ld options need to be used (something about big table of contents -- ld flag bigtoc)
See if there is a LDR_CNTRL setting in bin/envvars. If there is one (I don't think there should be one for 64-bit), comment it out to confirm that it doesn't hurt this.
Call AIX support.
Work with AIX folks that help ISVs.
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Re: Error from DSOLoadLibrary in Apache2.0.61(64 bit) on AIX 5.3(64 bit)
Posted by Jeff Trawick <tr...@gmail.com>.
On 10/9/07, Renu Tiwari <Re...@infosys.com> wrote:
>
> We are facing an issue in dynamically loading the thirdparty module to
> Apache2.0.61 server. Error shown in error_logs of Apache server is
>
> *"Error from DSOLoadLibrary - Not enough space".*
>
That's not an Apache message, FWIW. I can't find a reference to
"DSOLoadLibrary".
googling indicates that some symbol table might be full and maybe some other
ld options need to be used (something about big table of contents -- ld flag
bigtoc)
See if there is a LDR_CNTRL setting in bin/envvars. If there is one (I
don't think there should be one for 64-bit), comment it out to confirm that
it doesn't hurt this.
Call AIX support.
Work with AIX folks that help ISVs.