[Fedora-directory-users] Paths to executables and libraries

Oscar A. Valdez oscar.valdez at duraflex-politex.com
Wed Sep 20 19:13:42 UTC 2006


El lun, 18-09-2006 a las 16:40 -0700, Noriko Hosoi escribió:
> Oscar A. Valdez wrote:
> 
> >My installation of fedora-ds-1.0.1-1.RHEL4 puts executables
> >in /opt/fedora-ds/shared/bin/ and libraries
> >in /opt/fedora-ds/shared/lib/.
> >
> >What would you all recomend as a "proper" way of modifying the $PATH
> >variable and of linking to the DS libraries?
> >  
> >
> If you don't mind overriding the system ldap commands, which are 
> normally located in /usr/bin, you could do
> $ export PATH=/opt/fedora-ds/shared/bin:$PATH

I don't seem to have any ldap binaries in /usr/bin. Which ones are you
referring to?

> $ export LD_LIBRARY_PATH=/opt/fedora-ds/shared/lib:$LD_LIBRARY_PATH

Using LD_LIBRARY_PATH is supposed to be "A Bad Thing". Why not
# ldconfig /opt/fedora-ds/shared/lib

Thanks for your reply.
-- 
Oscar A. Valdez
Industrias Duraflex, S.A. de C.V.




More information about the Fedora-directory-users mailing list