Re: Installing gtk without root access



On Thu, Jun 07, 2001 at 12:07:30PM -0700, Ian King wrote:
> Is LD_LIBRARY_PATH available in GNU ld (on linux)?  If I had an older
> version of gtk 1.2 (say 1.2.0) and I wanted to install 1.2.9 without root
> access.  How would I get my application to dynamically use the 1.2.9 shared
> libraries (which would be in my home/gtk/lib directory) without editing
> ld.so.conf (root access needed), or breaking any other applications?

By using LD_LIBRARY_PATH.  "export LD_LIBRARY_PATH=/my/home/gtk/lib"
does the trick. See "man ld.so" for more information.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J A K Mouw its tudelft nl
WWW: http://www-ict.its.tudelft.nl/~erik/




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