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

RE: Implicit linking of local .so



You could always throw it in you .profile or .bash

Daniel

> -----Original Message-----
> From:	J. Perkins [SMTP:jason@379.com]
> Sent:	Wednesday, December 01, 1999 8:00 AM
> To:	linuxgames@sunsite.auc.dk
> Subject:	Re: Implicit linking of local .so
> 
> >> > #! /bin/sh
> >> >
> >> > # add directory to library search path
> >> > if [ -z "$LD_LIBRARY_PATH" ] ; then
> >> >     LD_LIBRARY_PATH="/directory/where/lib/is/"
> >> > else
> >> >     LD_LIBRARY_PATH="/directory/where/lib/is/:${LD_LIBRARY_PATH}"
> >> > fi
> >> >
> >> > # this should be unnecessary, don't have time to read the man-page
> >> > export LD_LIBRARY_PATH
> >> 
> >> This assumes bash, doesnt it?
> >
> >Well, it assumes a shell called '/bin/sh' - which on all existing
> UNIX/Linux
> >varients is a 'Bourne-Shell' - or a close clone such as BASH. That's
> >what the '#! /bin/sh' line at the top of the script does.
> >
> >Exporting LD_LIBRARY_PATH is certainly recommended.
> >
> >-- 
> >Steve Baker                  http://web2.airmail.net/sjbaker1
> >sjbaker1@airmail.net (home)  http://www.woodsoup.org/~sbaker
> >sjbaker@hti.com      (work)
> 
> 
> 
> Ick. Well, it does solve the problem I guess. I was hoping for something
> a little more transparent.
> 
> Jason
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: linuxgames-unsubscribe@sunsite.auc.dk
> For additional commands, e-mail: linuxgames-help@sunsite.auc.dk