Thanks Ralf,
Got it sorted I didn't have the below set in my LD flags .

Cheers

On 8/9/06, Ralf Wildenhues < [EMAIL PROTECTED]> wrote:
Hello,

* T Kiernan wrote on Thu, Jul 13, 2006 at 06:39:22PM CEST:
>
> Having some difficult in linking a test prog to some 64 shared libs.
> Getting the following serror message:

> ld: fatal: file libs/xxxx.so: wrong ELF class: ELFCLASS64
> ld: fatal: File processing errors. No output written to testDriver
> *** Error code 1

This is usually a sign that you are trying to link 32- and 64-bit
objects and/or libraries, which simply doesn't work.

For the Sun Compilers, you usually need to specify a flag like
  -xarch=v9

or similar to the compiler driver for compilation and linking, to create
64-bit code.

Hope that helps.  Please note that this question has nothing to do with
Libtool.

Cheers,
Ralf

_______________________________________________
Bug-libtool mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to