dl(): Unable to load dynamic library

Manfred Meier m.meier at SPIEKERMANN.DE
Thu Jun 22 00:17:09 EDT 2006


Hello,

I'm not a real system administrator, so i know only little about that. 
Some days ago i had a similar problem. To solve it, i copied the 
libraries in question to a dir which is known to the system, e.g. 
/usr/local/lib. Then i did 'ldconfig'. I did not alter the /etc/ld.so.conf.

Manfred


ramesh karra schrieb:

> 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
> 
> --- Manfred Meier <m.meier at SPIEKERMANN.DE> wrote:
> 
> 
>>Hi, did you do 'ldconfig' after copying the shared
>>libraries, so that 
>>the cache is rebuilt?
>>
>>Manfred
>>
>>ramesh karra schrieb:
>>
>>>Hi,
>>>
>>>I have been using mapserver + kaMap successfully
>>
>>in
>>
>>>windows environment for some time.
>>>
>>>Now, I am in the process of moving this to Linux
>>>environment. Since the Linux box is already
>>
>>running
>>
>>>Apache server, I did not choose to install the
>>>rpm/fgs. Instead I have manually copied the files.
>>>
>>>Now, I am getting the following error 
>>>
>>>dl(): Unable to load dynamic library
>>>'./php_mapscript_4.8.2.so' - libmap.so.4.8.2:
>>
>>cannot
>>
>>>open  shared object file: No such file or
>>
>>directory in
>>
>>>/users/krm/htdocs/init.php on line 106
>>>
>>>Fatal error: Call to undefined function:
>>>ms_newmapobj() in /users/krm/htdocs/init.php line
>>
>>113
>>
>>>I'd really appreciate any help in resolving this.
>>>
>>>Thanks
>>>Ramesh
>>>
>>>__________________________________________________
>>>Do You Yahoo!?
>>>Tired of spam?  Yahoo! Mail has the best spam
>>
>>protection around 
>>
>>>http://mail.yahoo.com 
>>>
>>
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 



More information about the mapserver-users mailing list