[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-help
Subject:    Re: [osol-help] fatal: libldap-2.3.so.0: open failed: No such file
From:       Lars Tunkrans <lars.tunkrans () bredband ! net>
Date:       2008-07-30 2:38:06
Message-ID: 13317176.1217410716786.JavaMail.Twebapp () oss-app1
[Download RAW message or body]

> 
> Here are the errors and the environment settings:
> 
> [b]Trying to run php outside of apache[/b]
> 
> ld.so.1: php: fatal: libldap-2.3.so.0: open failed:
> No such file or directory  
> 
> Any ideas??

The way the libraries usually are structured is that  
 libxxx-yy.so   is a a symbolic link   to  libxxx-yy.so.version

when you compile a package you should make sure that the library
names  it is runtime linked to  is the  libxxx-yy.so  without the 
final version specifier.  The binary will then be able to work 
even if the final version number changes with a patch or upgrade of Solaris. 

if your present solaris installation have  a "libldap-2.3.so.1"  or "libldap-2.3.so.2"
you can just symlink  libldap-2.3.so.0  to the present version. 
If your present ldap library is not  libldap-2.3  but libldap-2.4 or something else 
you probably need to recompile  Apache /php  to make sure  that 
the subroutine calls  are all inplace. 

  //Lars
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic