From owner-freebsd-current Sat Jul 31 3:32:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from smtp04.wxs.nl (smtp04.wxs.nl [195.121.6.59]) by hub.freebsd.org (Postfix) with ESMTP id 3006A14D22 for ; Sat, 31 Jul 1999 03:32:20 -0700 (PDT) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.196.72]) by smtp04.wxs.nl (Netscape Messaging Server 3.61) with ESMTP id AAA2464; Sat, 31 Jul 1999 12:30:25 +0200 Received: (from asmodai@localhost) by daemon.ninth-circle.org (8.9.3/8.9.3) id MAA58929; Sat, 31 Jul 1999 12:22:03 +0200 (CEST) (envelope-from asmodai) Date: Sat, 31 Jul 1999 12:22:02 +0200 From: Jeroen Ruigrok/Asmodai To: John Polstra Cc: Jeroen Ruigrok/Asmodai , current@FreeBSD.ORG Subject: Re: Library question/challenge Message-ID: <19990731122202.D378@daemon.ninth-circle.org> References: <19990729202434.A78719@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.3i In-Reply-To: ; from John Polstra on Fri, Jul 30, 1999 at 09:59:57PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * John Polstra (jdp@polstra.com) [990731 09:28]: > Jeroen Ruigrok/Asmodai wrote: > > * John Polstra (jdp@polstra.com) [990729 18:49]: > >> > >> Right. So the problem must be that you have LD_LIBRARY_PATH set. > > > > Yes I have, but this hasn't been a problem for the last 5-6 months. > > In what way could it interfere with my ldconfig then? (I read man 1aout ld) > > It won't intefere with ldconfig, but it will affect what the dynamic > linker does. If you have "/usr/lib" in your LD_LIBRARY_PATH then the > dynamic linker will find libc there, rather than in "/usr/lib/aout" as > it should. Ah, ok, I was thinking in the wrong direction. The main reason I stuck LD_LIBRARY_PATH in there is because of Qt. If ldconfig paths are configured ok, will these replace LD_LIBRARY_PATH or would I have to adjust Makefiles/configures in order to point to the libraries present on this system? > I don't know why it didn't cause problems for you earlier. Well, I am glad it broke... Because else I would still be using this. > This was netscape, right? If so, there's an easy fix. The command > that you execute for netscape is really a shell script which does > some stuff and then executes a big binary somewhere else. You could > add "unset LD_LIBRARY_PATH" to that shell script to work around the > problem. Mayhaps, but I would rather tackle the whole of this challenge instead of just a subset. I mean if this LD_LIBRARY_PATH I set is a bad thing to do I want to learn the ways how to best do it instead. -- Jeroen Ruigrok van der Werven asmodai(at)wxs.nl The BSD Programmer's Documentation Project Network/Security Specialist BSD: Technical excellence at its best Cum angelis et pueris, fideles inveniamur. Quis est iste Rex gloriae...? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message