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. [sn@localhost 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 [sn@localhost 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.
signature.asc
Description: PGP signature
_______________________________________________ Pspp-users mailing list Pspp-users@gnu.org https://lists.gnu.org/mailman/listinfo/pspp-users