From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31497 invoked by alias); 5 Mar 2003 23:30:23 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 31490 invoked from network); 5 Mar 2003 23:30:22 -0000 Received: from unknown (HELO prager.ws) (168.100.249.107) by 172.16.49.205 with SMTP; 5 Mar 2003 23:30:22 -0000 Received: from ORANGE ([65.204.109.254]) (authenticated bits=0) by prager.ws (8.12.5/8.12.2) with ESMTP id h25NUOw4029715 for ; Wed, 5 Mar 2003 18:30:25 -0500 Message-ID: <013b01c2e36f$22f19d50$8196a8c0@ORANGE> From: "Bernd Prager" To: References: Subject: glibc irritations Date: Wed, 05 Mar 2003 23:30:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-SW-Source: 2003-03/txt/msg00056.txt.bz2 Hi everybody, I'm having troubles with compiling cups-1.1.18 on RedHat 8.1 which kernel 2.4.20 and gcc 3.2.2 and I hope I'm not to much OT since the problem seems to be related to glibc. But I found only one glibc-related mailing list which is completely spammed. So I hope to find help in this group. I get the error messages: ... Making all in backend... Compiling betest.c... Linking betest... /lib/libc.so.6: undefined reference to `_dl_lookup_versioned_symbol_skip@GLIBC_PRIVATE' /lib/libc.so.6: undefined reference to `_rtld_global@GLIBC_PRIVATE' /lib/libc.so.6: undefined reference to `_dl_lookup_versioned_symbol@GLIBC_PRIVATE' /lib/libc.so.6: undefined reference to `_dl_start_profile@GLIBC_PRIVATE' /lib/libc.so.6: undefined reference to `_dl_check_map_versions@GLIBC_PRIVATE' /lib/libc.so.6: undefined reference to `__libc_enable_secure@GLIBC_PRIVATE' /lib/libc.so.6: undefined reference to `_dl_get_origin@GLIBC_PRIVATE' /lib/libc.so.6: undefined reference to `_dl_dst_substitute@GLIBC_PRIVATE' /lib/libc.so.6: undefined reference to `_dl_debug_state@GLIBC_PRIVATE ... I found some references on the web where other guys seem to be the same difficulties but without a real solutions. The basic advice is "reinstall your system" what would be kind of rough for me. I did some research on my system and encountered that I have several links to libc: /lib/libc.so.6 -> libc-2.2.93.so /usr/lib/i686/libc.so.6 -> libc-2.2.93.so /usr/lib/libc.so.6 -> libc-2.2.4.so /var/ftp/lib/libc.so.6 -> libc-2.2.93.so and for whatever reasons one of them point to an older libc version. I tried to correct that by doing a 'ln -sf /lib/libc-2.2.93.so /usr/lib/libc.so.6' and that seems to work but after an 'ldconfig' the link point back to the old version. Now I'm too scared to temper to much with my glibc. I did ones crash my entire system by deleting a libc version. Now I have basically two question: A) Is it possible or likely that this link causes my compiler/linker failures. B) How do I correct that without jeopardizing my entire system. Thanks a lot for any help, -- Bernd -- "Everything that can be invented has been invented. " - Charles H. Duell, Commissioner, U.S. Office of Patents, 1899