pkgsrc-Users archive

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

textproc/libxslt on Solaris 10/sparc



Hello all,

I'm trying to compile "textproc/libxslt" on Solaris 10/sparc and am
running into the following error:

Making all in libxslt
gmake[2]: Entering directory
`/local/pkgsrc/textproc/libxslt/work/libxslt-1.1.26/libxslt'
/local/pkg/bin/pdksh ../libtool --tag=CC   --mode=link gcc  -O
-I/local/pkg/include -I/usr/include -Wall  -Wl,-M -Wl,./libxslt.syms
-version-info 2:26:1 -L/local/pkg/lib -Wl,-R/local/pkg/lib -L/usr/lib
-Wl,-R/usr/lib -o libxslt.la -rpath /local/pkg/lib attrvt.lo xslt.lo
xsltlocale.lo xsltutils.lo pattern.lo templates.lo variables.lo keys.lo
numbers.lo extensions.lo extra.lo functions.lo namespaces.lo imports.lo
attributes.lo documents.lo preproc.lo transform.lo security.lo
-Wl,-R/local/pkg/lib -L/local/pkg/lib -R/local/pkg/lib -lxml2 -lz
-L/local/pkg/lib -liconv -lm -lsocket -lnsl -lm
libtool: link: cc -G -h libxslt.so.1 -o .libs/libxslt.so.1.1.26 
.libs/attrvt.o .libs/xslt.o .libs/xsltlocale.o .libs/xsltutils.o
.libs/pattern.o .libs/templates.o .libs/variables.o .libs/keys.o
.libs/numbers.o .libs/extensions.o .libs/extra.o .libs/functions.o
.libs/namespaces.o .libs/imports.o .libs/attributes.o .libs/documents.o
.libs/preproc.o .libs/transform.o .libs/security.o  
-R/local/pkgsrc/textproc/libxslt/work/.buildlink/lib
-R/local/pkgsrc/textproc/libxslt/work/.buildlink/lib -R/local/pkg/lib
-L/local/pkgsrc/textproc/libxslt/work/.buildlink/lib
/local/pkgsrc/textproc/libxslt/work/.buildlink/lib/libxml2.so -lz
/local/pkgsrc/textproc/libxslt/work/.buildlink/lib/libiconv.so -lsocket
-lnsl -lm -lc  -Wl,-M -Wl,./libxslt_solaris.syms -Wl,-R/local/pkg/lib
./libxslt_solaris.syms: file not recognized: File format not recognized
collect2: ld returned 1 exit status
gmake[2]: *** [libxslt.la] Error 1

This is both with, and without, patch-ah. Also I tried using both the
Solaris ld and the GNU one.

The end goal is to compile textproc/php-xsl, so if I could tell Pkgsrc to
simply use "/usr/lib/libxslt.so.1" from the Sun/Oracle "SUNWlxsl" package,
that would work as well. If I could use a binary package that'd be good as
well, but my PREFIX is /local/pkg, so that may be a problem.

I know TOOLS_PLATFORM can be used for binaries, but if I can use it for
libraries, that'd be nice. :)

Thanks for any info.




Home | Main Index | Thread Index | Old Index