[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: g++ -m64 file.cpp

From: Paul Pluzhnikov
Subject: Re: g++ -m64 file.cpp
Date: Fri, 31 Mar 2006 19:38:25 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

"James" <> writes:

> It's complainig about "wrong ELF class".

That means that dynamic loader found only 32-bit libraries, but
needs 64-bit ones.

> How do I fix it?

Set your LD_LIBRARY_PATH correctly. Probably:

LD_LIBRARY_PATH=/usr/local/lib/sparcv9 ldd a.out

If that doesn't work, try searching for 64-bit
like this:

  cd /usr/local/lib &&
  find . -name | xargs file | grep SPARCV9

In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]