On Tue, 2006-05-23 at 01:07 +0300, Adrian Florin Teodor wrote:
> Hello,
> 
> I use the latest HLFS development build, and when i try to compile
> libxslt i get the following error:
> 
> 
> >  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.4 
> > -I/usr/include/libxml2 -I../libxslt -I.. -I../libexslt -march=i686 -O2 
> > -pipe -Wall -MT types.lo -MD -MP -MF .deps/types.Tpo -c types.c  -fPIC 
> > -DPIC -o .libs/types.o
> > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
> > -I.. -I/usr/include/python2.4 -I/usr/include/libxml2 -I../libxslt -I.. 
> > -I../libexslt    -march=i686 -O2 -pipe -Wall -MT libxslt-py.lo -MD -MP -MF 
> > ".deps/libxslt-py.Tpo" -c -o libxslt-py.lo libxslt-py.c; \
> > then mv -f ".deps/libxslt-py.Tpo" ".deps/libxslt-py.Plo"; else rm -f 
> > ".deps/libxslt-py.Tpo"; exit 1; fi
> >  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.4 
> > -I/usr/include/libxml2 -I../libxslt -I.. -I../libexslt -march=i686 -O2 
> > -pipe -Wall -MT libxslt-py.lo -MD -MP -MF .deps/libxslt-py.Tpo -c 
> > libxslt-py.c  -fPIC -DPIC -o .libs/libxslt-py.o
> > /bin/sh ../libtool --tag=CC --mode=link gcc  -march=i686 -O2 -pipe -Wall   
> > -o libxsltmod.la -rpath  -module -avoid-version -L../libxslt/.libs 
> > -L../libexslt/.libs libxslt.lo types.lo libxslt-py.lo ../libxslt/libxslt.la 
> > ../libexslt/libexslt.la
> > libtool: link: only absolute run-paths are allowed
> > make[3]: *** [libxsltmod.la] Error 1

> Any ideas how i can fix this problem?

I _presume_ all those paths above actually exist?

libxsltmod.la _looks_ like the name of a static lib. Static = non-pic.

/guesses
./configure --disable-static --enable-shared


-- 
        With Best Regards,

        Declan Moriarty.

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to