Paths to executables and libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
$ export LD_LIBRARY_PATH=/opt/fedora-ds/shared/lib:$LD_LIBRARY_PATH

Alternatively, you could go to the directory /opt/fedora-ds/shared/bin, 
and run the command line interface:
$ cd /opt/fedora-ds/shared/bin; ./ldapsearch <options>
This way, the library path is take care of by rpath.  If you don't want 
to make the fedora-ds command line utilities conflict with the system 
ones, you may want to make a script file (for each command) and set the 
<script_file_path> to your path...

--noriko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3170 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20060918/f7556dc7/attachment.bin 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux