From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d6b95a829278b4ba,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-07-14 13:55:02 PST Path: bga.com!news.sprintlink.net!hookup!usc!howland.reston.ans.net!cs.utexas.edu!rutgers!dziuxsolim.rutgers.edu!igor.rutgers.edu!remus.rutgers.edu!mathew From: mathew@remus.rutgers.edu (Sajee) Newsgroups: comp.unix.osf.osf1 Subject: path for shared objects Message-ID: Date: 14 Jul 94 19:55:35 GMT Organization: Rutgers Univ., New Brunswick, N.J. How do I set up a link such that at link time I specify the full pathanme of a shared object (eg. /home/scm/lib/libscm.so) and at run time the loader will look for the object in the directory I specified; but if the object isn't in the directory I specified the loader should use LD_LIBRARY_PATH. How can this be done? I thought -rpath option was the answer but I can't get it to work correctly. HEEELLLP!! please mail all responses to scm@chesapeake.com Thanks