[UNCLASSIFIED]RE: [UMN_MAPSERVER-USERS] dl(): Unable to load dyna mic library

Antti Roppola Antti.Roppola at BRS.GOV.AU
Thu Jun 22 00:23:37 EDT 2006


Hi all,

You must have root access to alter the linker cache.

Without access to root or Apache, pretty much the only option
is to use putenv() to set LD_LIBRARY_PATH. In order to do this,
you'll need to alter php.ini to allow putenv to set LD_LIBRARY_PATH.

I stress that there are serious security issues to ponder before
changing this default behaviour. After all, a compromised PHP page
could then be used to link against compromised libraries that have
been uploaded to the server.

My preference would be to try set LD_LIBRARY_PATH in php.ini and see
if that works.

Antti

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of ramesh karra
Sent: Thursday, 22 June 2006 2:05 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] dl(): Unable to load dynamic library

No. I did not. 
Do you mean that I should add my library path to /etc/ld.so.conf and then do 'ldconfig'?

What if I do not have the superuser permissions?

Ramesh

---------------------------------------------------------------------- 
IMPORTANT - This message has been issued by The Department of Agriculture, Fisheries and Forestry (DAFF).  The information transmitted is for the use of the intended recipient only and may contain confidential and/or legally privileged material.  It is your responsibility to check any attachments for viruses and defects before opening or sending them on.  
Any reproduction, publication, communication, re-transmission, disclosure, dissemination or other use of the information contained in this e-mail by persons or entities other than the intended recipient is prohibited.  The taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited.  If you have received this e-mail in error please notify the sender and delete all copies of this transmission together with any attachments.  If you have received this e-mail as part of a valid mailing list and no longer want to receive a message such as this one advise the sender by return e-mail accordingly.  Only e-mail correspondence which includes this footer, has been authorised by DAFF 
----------------------------------------------------------------------



More information about the mapserver-users mailing list