Subject: Making a shared library: how?
To: NetBSD1.0 list netbsd-help <netbsd-help@NetBSD.ORG>
From: Piet Tutelaers <P.T.H.Tutelaers@urc.tue.nl>
List: netbsd-help
Date: 02/08/1995 14:57:07
Hello,

I would appreciate if somebody could explain:
  a) how to create a shareable library (CFLAGS = -fpic ?)
  b) how to install it in a non-conventional place so that programs
     can find it (is ldconfig needed or is there another method)
     and so that users don't have to set LD_LIBRARY_PATH?

It is difficult to find the answer in the manual pages of cc(1), ld(1)
and ar(1).

Thanks!

--Piet

Piet Tutelaers
TUE-Eindhoven / The Netherlands