libtool-patches
[Top][All Lists]
Advanced

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

when linking on Solaris 64bit shared object using cc, -m64 should be use


From: Petr Sumbera
Subject: when linking on Solaris 64bit shared object using cc, -m64 should be used
Date: Mon, 09 Jun 2014 14:18:17 +0200
User-agent: Mozilla/5.0 (X11; SunOS i86pc; rv:17.0) Gecko/20140508 Thunderbird/17.0.11

Hi,

I'm often getting following error:

/usr/apr/1.5/build/sparcv9/libtool --silent --mode=link cc -o mod_dtrace.la
-rpath /usr/apache2/2.2/libexec/sparcv9 -module -avoid-version
mod_dtrace.lo
ld: fatal: file .libs/mod_dtrace.o: wrong ELF class: ELFCLASS64
apxs:Error: Command failed with rc=131072

Attached patch fixes the issue.

Note that I'm not libtool expert. Any feedback is welcomed.

Thanks,

Petr

Attachment: libtool.m4.patch
Description: Text document


reply via email to

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