From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,319de8257389ed52 X-Google-Attributes: gidfee84,public From: George Chaltas Subject: Re: How to make shared libraries ? Date: 1995/07/25 Message-ID: <3v316u$lmm@peavax.eng.pko.dec.com>#1/1 X-Deja-AN: 106869386 references: <3ukf4i$903@uwm.edu> content-type: text/plain; charset=us-ascii organization: Digital Equipment Corporation x-url: news:3ukf4i$903@uwm.edu mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 1.1N (X11; I; OSF1 V3.2 alpha) There's nothing special (like -PIC) required in the compilation phase. ld -shared *is* the correct way to link a shared library. After you link the library, set the environment variable LD_LIBRARY_PATH to include the directory that contains the library. -- George Chaltas Digital Equipment Corporation chaltas@eng.pko.dec.com (508) 493-1117