From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=DATE_IN_PAST_12_24, DMARC_MISSING,MAILING_LIST_MULTI,RDNS_NONE autolearn=no autolearn_force=no version=4.0.0 Received: from mail.iitk.ac.in (unknown [203.200.95.130]) by chiba.3jane.net (Postfix) with ESMTP id 01098AC6A8 for ; Wed, 5 Jun 2002 00:00:18 -0500 (CDT) Received: from antivirus.cc.iitk.ac.in (antivirus.cc.iitk.ac.in [172.31.1.102]) by mail.iitk.ac.in (8.9.3+Sun/8.9.3) with SMTP id KAA06936 for ; Wed, 5 Jun 2002 10:19:21 +0530 (IST) Received: (from thunderbird [172.31.77.197]) by antivirus.cc.iitk.ac.in (NAVGW 2.5.2.9) with SMTP id M2002060510460920804 for ; Wed, 05 Jun 2002 10:46:09 +0530 Date: Tue, 4 Jun 2002 10:26:07 +0530 (IST) From: Prashanth Aditya Susarla X-X-Sender: aditya@thunderbird.junta.iitk.ac.in To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] libGLcore error In-Reply-To: <200206051626.23294.lars.pechan@paradise.net.nz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 8b91f344-2293-403c-826a-f7574e805382 X-Archives-Hash: 57900b95cd4ce33ab99bcdda4e6071d9 > It is precisely because it is a precompiled library that it does make a > difference. To point out what perhaps is obvious: had it been source we'd > never had the problem in the first place. Ok, thanks for clearing that up. I was under the impression that one has to use -lgcc_s while compiling sources so that libgcc_s.so is linked dynamically at runtime. Obviously, if we had the sources... > You need to restart X after making the change to ld.so.preload. After having > restarted verify that either glxgears or the nvidia lib lists libgc_s when > ldd'ed. That is, you should see something like this: Thanks a lot again. Restarting X worked and I'm happy to see glxgears working again. Now all I have to do is quake :-). > I'm not overly familiar with mplayer but is it possible that opengl is only > used for certain media types and that you'll get away without it most of the > time? If you look at $ mplayer -vo help you'll see certain video output drivers (basically whatever you've allowed during "configure" is enabled) which include the gl and gl2 video drivers too. These use libGL.so, and further, mplayer probes all of them at startup I think, which is why I got the __divid3 error on running mplayer before employing this fix. > LD_PRELOADing should be fine as long as you're not preloading libraries > containing the same symbols, I think. LD_PRELOAD="-lgcc_s -lpthread" should > do it. Yeah multiple LD_PRELOAD seems to be working for me. The other one which I use is a function interposer for connect() so it has nothing to do with libgcc_s.so I guess. Anyway, thanks a lot once again for the information. Regards, Prashanth Aditya Susarla