pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: textproc/libxslt on Solaris 10/sparc
On Thu, October 21, 2010 15:14, Aleksey Cheusov wrote:
>> ./libxslt_solaris.syms: file not recognized: File format not recognized
>> collect2: ld returned 1 exit status
>> gmake[2]: *** [libxslt.la] Error 1
>
> As far as I can see libtool assumes that it is using Sun's ld (-M
> option). Can you show a couple of lines from ./libxslt_solaris.syms file?
>
> Also run the following command
> grep ^LD= `which libtool`
> and make sure that LD points to Sun's ld (also check your PATH).
root@host php-xsl# grep ^LD= `which libtool`
LD="/usr/redact/sparc-sun-solaris2.10/bin/ld"
LD="/usr/redact/sparc-sun-solaris2.10/bin/ld"
LD="/usr/redact/sparc-sun-solaris2.10/bin/ld"
root@host php-xsl# ld -V
GNU ld (GNU Binutils) 2.18
Supported emulations:
elf32_sparc
elf64_sparc
root@host php-xsl# which ld
/usr/redact-not-css/bin/ld
First few non-commented lines:
LIBXML2_1.0.11 {
global:
# attributes
xsltApplyAttributeSet;
xsltFreeAttributeSetsHashes;
xsltParseStylesheetAttributeSet;
# documents
xsltFindDocument;
xsltFreeDocuments;
xsltFreeStyleDocuments;
xsltLoadDocument;
xsltLoadStyleDocument;
xsltNewDocument;
xsltNewStyleDocument;
[...]
Could cross-compiling between SUNspro, and then switching to GCC cause
such issues? Would re-compiling libtool be one possible fix?
Home |
Main Index |
Thread Index |
Old Index