Hi, I am encountering a problem running a custom gcc 3.3 on Pensacola. That release appears to come with gcc 3.0.4 which is made available as gcc3/g++3, and whose shared libgcc is in /lib, and which precedes my entry in ld.so.conf, /opt/gcc-3.3/lib.
The symptom of all that is that autoconf fails verifying the C++ compiler - I compile with /opt/gcc-3.3/bin/g++ but then load the wrong libgcc, /lib/libgcc_s.so.1. configure:3277: checking whether the C++ compiler works configure:3283: ./a.out ./a.out: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /opt/gcc-3.3/lib/libstdc++.so.5) configure:3286: $? = 1 configure:3295: error: cannot run C++ compiled programs. The straightforward approach - remove the offending library - works, but seems a bit crude to me. I don't know what I am breaking. Anybody know a better way? # cat /etc/redhat-release Red Hat Linux Advanced Server release 2.1AS (Pensacola) # ls /lib/libgcc* libgcc_s-3.0.4-20020221.so.1 libgcc_s.so.1 # ls /opt/gcc-3.3/lib/ gcc-lib libgcc_s.so.1 libstdc++.a libstdc++.so libstdc++.so.5.0.4 libsupc++.la libgcc_s.so libiberty.a libstdc++.la libstdc++.so.5 libsupc++.a Thanks, Joerg -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list