pspp-users
[Top][All Lists]
Advanced

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

Re: Please help to install PSPP in fedora 22


From: John Darrington
Subject: Re: Please help to install PSPP in fedora 22
Date: Mon, 18 Jul 2016 07:31:20 +0200
User-agent: Mutt/1.6.0 (2016-04-01)

On Mon, Jul 18, 2016 at 08:57:30AM +0430, shahrokh nasseri wrote:
     Hi Dear John
     
     Thanks a lot for your tips. After installing their respective header files
     of libxml2-devel, cairo-devel, pango-devel and etc; I can configure PSPP.
     address@hidden pspp-0.10.1]$ ./configure
     ...
     libtool: link: gcc -shared  -fPIC -DPIC  -Wl,--whole-archive
     src/data/.libs/libdata.a src/libpspp/.libs/liblibpspp.a gl/.libs/libgl.a
     -Wl,--no-whole-archive  -lxml2 -lreadline -lgslcblas -lz -lm  -O2
     -Wl,-soname -Wl,libpspp-core-0.10.1.so -o src/.libs/libpspp-core-0.10.1.so
     /usr/bin/ld:
     
/usr/lib/gcc/x86_64-redhat-linux/5.3.1/../../../../lib64/libxml2.a(encoding.o):
     relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making
     a shared object; recompile with -fPIC
     /usr/lib/gcc/x86_64-redhat-linux/5.3.1/../../../../lib64/libxml2.a: error
     adding symbols: Bad value
     collect2: error: ld returned 1 exit status
     Makefile:5956: recipe for target 'src/libpspp-core.la' failed
     make[2]: *** [src/libpspp-core.la] Error 1
     make[2]: Leaving directory '/home/sn/pspp/pspp-0.10.1'
     Makefile:11577: recipe for target 'all-recursive' failed
     make[1]: *** [all-recursive] Error 1
     make[1]: Leaving directory '/home/sn/pspp/pspp-0.10.1'
     Makefile:5214: recipe for target 'all' failed
     make: *** [all] Error 2
     address@hidden pspp-0.10.1]$
     
     What can I do to solve this problem?
     Thanks a lot for your helps.
     

That is odd.  It looks as if it is linking against the static lib for libxml2 
instead
of the shared one.  Perhaps fedora has seperate packages for shared libraries?  
I am
afraid you will have to ask fedora expert about this.  

J'

-- 
Avoid eavesdropping.  Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: PGP signature


reply via email to

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