1833861 Members
2475 Online
110063 Solutions
New Discussion

Loading dynamic library

 
SOLVED
Go to solution
Alex Lavrov
Regular Advisor

Loading dynamic library

hello,
I'm trying to load in apache php extension for GD library support.
But in error log I get these messages:

/usr/lib/dld.sl: Call to mmap() failed - TEST /opt/blabla/gd.sl
/usr/lib/dld.sl: Not enough space

well, I read in man that it happens when the adress is out of range, but what can I do to fix it?

thanx
11 REPLIES 11
Victor Fridyev
Honored Contributor
Solution

Re: Loading dynamic library

Hi,

Try to increase shared memory parameters in the kernel. (shmmni is the most suspicious)

Regards
Entities are not to be multiplied beyond necessity - RTFM
Sanjiv Sharma_1
Honored Contributor

Re: Loading dynamic library

Hi Alex,

It looks like a shared memory problem.

Increase the value of shmmax and shmmni.

hth.
Everything is possible
Alex Lavrov
Regular Advisor

Re: Loading dynamic library

thanx, I'll try it tonight ...
Alex Lavrov
Regular Advisor

Re: Loading dynamic library

Hmm, I tried it now ...
shmmni 1024
shmmax 1073741824

Like on our other servers. It did not help.

Any other ideas?

thanx.
Robert-Jan Goossens
Honored Contributor

Re: Loading dynamic library

Hi,

Could you check if you have the latest ld(1) and linker tools cumulative patch

11.0

http://www4.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHSS_30048&context=hpux:800:11:00

11.i

http://www4.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHSS_30049&context=hpux:800:11:00

Regards,
Robert-Jan
Alex Lavrov
Regular Advisor

Re: Loading dynamic library

Yes, I just installed it, and I still get the same error ...
Robert-Jan Goossens
Honored Contributor

Re: Loading dynamic library

Maybe a stupid question, but did you restart the apache server ?

and take a look at this doc,

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062911072

Kind regards,
Robert-Jan
Alex Lavrov
Regular Advisor

Re: Loading dynamic library

:-)
I did, I get this error in the error_log of the apache when it starts ...
Fabio Ettore
Honored Contributor

Re: Loading dynamic library

Hi Alex,

have you visitated this site?

http://www.boutell.com/gd/faq.html

I hope this helps you.

Best regards,
Ettore

WISH? IMPROVEMENT!
Alex Lavrov
Regular Advisor

Re: Loading dynamic library

yep, but it's not helpful, because I'm using built in GD libs ... I the problem I have is probably in HPUX and not in apache.
Paul Barker
Occasional Advisor

Re: Loading dynamic library

Hi

I'm having a very similar problem. Did anybody find a solution ?

Cheers

Paul