From owner-freebsd-questions Mon May 6 10:45:21 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA27380 for questions-outgoing; Mon, 6 May 1996 10:45:21 -0700 (PDT) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA27372 for ; Mon, 6 May 1996 10:45:19 -0700 (PDT) Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA28569; Mon, 6 May 1996 13:45:10 -0400 Date: Mon, 6 May 1996 13:45:10 -0400 From: Garrett Wollman Message-Id: <9605061745.AA28569@halloran-eldar.lcs.mit.edu> To: Jerry Alexandratos Cc: freebsd-questions@freebsd.org Subject: Help Compiling In-Reply-To: <9605061629.aa08059@stimpy.eecis.udel.edu> References: <9605061629.aa08059@stimpy.eecis.udel.edu> Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk < said: > I've tried editing /usr/share/mk/sys.mk to add the > "-l/usr/lib/libc.so.2.2" line to LDFLAG section. This isn't working. > Obviously I'm doing something wrong. Can anyone tell me where to add > what to make ld use the 2.2 versions of the various libraries? # mkdir /usr/lib/compat # chflags noschg /usr/lib/libc.so.3.0 # mv /usr/lib/libc.so.3.0 /usr/lib/compat # ldconfig -m /usr/lib/compat The last two steps are only necessary if you have binaries which require libc.so.3.0; otherwise, you could just remove it. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant