From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4202 invoked by alias); 2 Aug 2008 21:30:22 -0000 Received: (qmail 4192 invoked by uid 22791); 2 Aug 2008 21:30:22 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 02 Aug 2008 21:29:39 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m72LTbrK015091 for ; Sat, 2 Aug 2008 17:29:37 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m72LTaGC007613; Sat, 2 Aug 2008 17:29:37 -0400 Received: from lindt.uglyboxes.com (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m72LTXFW030254; Sat, 2 Aug 2008 17:29:35 -0400 Message-ID: <4894D1BD.308@redhat.com> Date: Sat, 02 Aug 2008 21:30:00 -0000 From: Keith Seitz User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: Tom Tromey CC: insight Subject: Re: [PATCH/itcl] Fix itkConfig.sh References: <4894C51B.5080007@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2008-q3/txt/msg00017.txt.bz2 Tom Tromey wrote: > Unfortunately now it won't start: > > opsy. ./gdb > ./gdb: error while loading shared libraries: libitcl3.3.so: cannot open shared object file: No such file or directory Yeah, you're going to need to add those to LD_LIBRARY_PATH... Or maybe I could add something to gdbtk_init to do that for us? I guess I'll get to that when I'm "finished" with ripping it out. FWIW, I do not plan to use the in-tree tcl, tk, and itcl anymore. Only the system-supplied ones. I (will) consider building insight with src/tcl, src/tk, and src/itcl deprecated. Hopefully, in a few hours. :-) > The shared libraries are installed in install/lib/itk3.3 and > install/lib/itcl3.3. I think just install/lib would be preferable. This is where the upstream sources put them since Itcl and Itk are now using the TEA. I am hesitant (but not unwilling) to change this if there is need. > Also, it seems to me that the test suite ought to set LD_LIBRARY_PATH > somewhere. I didn't see anything for this; without it, 'make check' > fails a lot. Ugh. I didn't even consider that. Hacking gdbtk_init for LD_LIBRARY_PATH sounds more and more like a better idea: it kills two birds with one stone. > Is there some other way I ought to be doing this? Like, maybe I > should just install the system itcl... ? Well, for my sanity, I would recommend that you switch to installing system tcl, tk, and itcl when I commit the final changes. It'll mean less work for me! :-P Won't be long now... Keith