From: si92006@si.hirosaki-u.ac.jp (Shunji Toyama)
Newsgroups: fj.sys.sun
Subject: Re: Rebuilding Shared Libraries (Re: Does resolver look up DNS on a machine without NIS?)
Date: 19 Nov 92 23:26:54 GMT
	<1992Nov19.062432.24347@si.hirosaki-u.ac.jp>
	<KENJI.92Nov19170426@daemun.rcac.astem.or.jp>
Organization: Dept. of Information Science, Hirosaki Univ., Japan

$B1s;3!w90A0Bg$G$9!#$A$g$C$HD9$$$G$9!#(J

In article <KENJI.92Nov19170426@daemun.rcac.astem.or.jp>,
kenji@rcac.astem.or.jp (Kenji Rikitake) writes:
   >$B$J$s$+5DO@$,$@$$$VJL$NJ}$KH/E8$7$F$$$k$h$&$G$9$,!D(J

NIS $B$r;H$o$J$$$G%M!<%`%5!<%P$r0z$/J}K!$K4X$9$k5DO@(J
$B$G$9!#(J:)$B!#(J $B6&M-%i%$%V%i%j(J libc.so.*.* $B$rF~$lBX$($k(J
$B$H$$$&$N$,:#$N$H$3$mM#0l$NJ}K!$N$h$&$G$9!#$b$A$m$s!"(J
$B%M%C%H%o!<%/4X78$N%3%^%s%I$r$9$Y$F%j%>%k%P$r$D$1$F(J
$B%3%s%Q%$%k$7D>$9$3$H$b$G$-$^$9!#(J

$B$=$l$G!"$$$D$^$G$b21B,$GOC$7$r$7$F$$$F$O2r7h$NJ}8~(J
$B$K$O8~$+$$$=$&$b$J$$$N$G%^%K%e%"%kN`$r$$$/$D$+FI$s(J
$B$G$_$^$7$?!#(J $B%Y%mB@(J@$BElBg$5$s$,8@$C$F$*$i$l$?!"(J
  "Programming Utilities & Libraries" $B$G$9!#;d$N=j(J
$B$K$"$k$b$N$O!"(J SunOS 4.0.3 $B$N$H$-$N$b$N$G!"(JChapter
4 $B$,(J "Shared Libraries" $B$H$J$C$F$$$^$9!#F|K\8l$b$"(J
$B$j$^$9!#!V6&M-%i%$%V%i%j5!G=@bL@=q!W!JEl<G!K$G$9!#(J

   >>   $B$J$k$[$I!#(J $B3N$+$K(J shlib.etc/README $B$K$b=q$$$F$"$j$^$9$M!#(J
   >>   pic $B$8$c$J$$$H(J shared $B$K$J$i$J$$$C$F!#(J
   >
   >$B0JA0(J VMS $B$N;E;v$r$7$F$$$?$H$-$O!"(J $B$"$k(J sharable image $B$NJ]<i$rC4Ev$7$F(J
   >$B$$$^$7$?!#$G$9$+$i(J pic $B$G$"$k$3$H$NBg;v$5$O$o$+$j$^$9!#(J
   >
   > position-independent $B$G$J$$$H(J shared library $B$K$G$-$J$$!"$H$$$&$N$ONI(J
   >$B$/9M$($F$_$k$H<+L@$N$3$H$G$9!#$J$K$7$m$I$N%"%I%l%9$K%m!<%I$5$l$k$+$o$+(J
   >$B$i$J$$$N$G$9$+$i!#(J

PIC $B$G$J$$$H(J shared $B$K$J$i$J$$$3$H$O;v<B$G$9!#$7$+(J
$B$7!"(J $B%^%K%e%"%k$K$h$k$H!"(J PIC $B$G$J$/$H$b(J  "shared
object" $B!J(J.so $B%U%!%$%k!K$r:n$k$3$H$O$G$-$^$9!#(J

PIC $B$G$J$$%3!<%I$O!"<B9T;~$K$O6&M-$G$-$^$;$s!J$5$l(J
$B$^$;$s!K!#$3$N$3$H$O%Q%U%)!<%^%s%9$K$OBg$-$/1F6A$9(J
$B$k$,!"%3!<%I$r@5$7$/<B9T$9$k$3$H$K$O1F6A$,$J$$$H$"(J
$B$j$^$9!J@53N$JI=8=$G$J$$$+$bCN$l$^$;$s!#D>@\86E5$r(J
$B$"$?$C$F$/$@$5$$!K!#(J

SunOS $B$N6&M-%i%$%V%i%j$H$O!"$=$s$J$b$N$N$h$&$G!"B>(J
$B$N6&M-%i%$%V%i%j$r%5%]!<%H$7$F$$$k(J unix OS $B$d(J VMS
$B$H$O!"35G0E*$K0c$C$F$$$k$N$+$bCN$l$^$;$s!#;d$O(J Sun
OS 4.* $B0J30$O$h$/CN$i$J$$$N$G$9!#(J $B$I$3$K=P$F$$$?$+(J
$B$OK:$l$F$7$^$$$^$7$?$,!"(JSunOS $B$N6&M-%i%$%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