From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18440 invoked by alias); 7 Feb 2006 21:41:17 -0000 Received: (qmail 18411 invoked by uid 48); 7 Feb 2006 21:41:15 -0000 Date: Tue, 07 Feb 2006 21:41:00 -0000 Subject: [Bug libgomp/26165] New: Cannot find libgomp.spec after 'make install' on x86_64 and ppc64 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dnovillo at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg00706.txt.bz2 List-Id: After 'make install', the installed compiler cannot find libgomp.spec. The problem seems to be that we are not looking in /lib64: $ export PATH=$HOME/gomp.clean/native.x86_64/bin:$PATH $ which gcc ~/gomp.clean/native.x86_64/bin/gcc $ gcc -o a a.c -fopenmp -O2 a.c: In function 'main': gcc: libgomp.spec: No such file or directory $ find ~/gomp.clean/native.x86_64 -name libgomp.spec /home/cygnus/dnovillo/gomp.clean/native.x86_64/lib64/libgomp.spec $ cp /home/cygnus/dnovillo/gomp.clean/native.x86_64/lib64/libgomp.spec /home/cygnus/dnovillo/gomp.clean/native.x86_64/lib/libgomp.spec $ gcc -o a a.c -fopenmp -O2 $ ./a ./a: error while loading shared libraries: libgomp.so.1: cannot open shared object file: No such file or directory $ export LD_LIBRARY_PATH=$HOME/gomp.clean/native.x86_64/lib64:$LD_LIBRARY_PATH $ ./a I'm thread 0 I'm thread 3 I'm thread 1 I'm thread 2 Perhaps the two problems are related? This works just fine on x86. We neither have to set LD_LIBRARY_PATH by hand nor we need to move libgomp.spec around. -- Summary: Cannot find libgomp.spec after 'make install' on x86_64 and ppc64 Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dnovillo at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26165