You are not logged in.
Hi,
$ sh xfce4-4.4.0-installer.run
results in the following on my AMD64 Debian Etch machine:
...
test -z "/home/arne/local/lib/xfce4/mcs-plugins" || mkdir -p -- . "/tmp/xfce4-4.4.0-installer/destdir.22485/home/arne/local/lib/xfce4/mcs-plugins"
/usr/bin/install -c -m 644 'xfce-xfprint-settings.desktop' '/tmp/xfce4-4.4.0-installer/destdir.22485/home/arne/local/share/applications/xfce-xfprint-settings.desktop'
/bin/sh ../libtool --mode=install /usr/bin/install -c 'xfprint_plugin.la' '/tmp/xfce4-4.4.0-installer/destdir.22485/home/arne/local/lib/xfce4/mcs-plugins/xfprint_plugin.la'
libtool: install: warning: relinking `xfprint_plugin.la'
(cd /tmp/xfce4-4.4.0-installer/xfprint/mcs-plugin; /bin/sh ../libtool --tag=CC --mode=relink gcc -I/home/arne/local/include -I/usr/include -I/usr/include -L/home/arne/local/lib -Wl,-rpath -Wl,/home/arne/local/lib -L/usr/lib -L/usr/lib -o xfprint_plugin.la -rpath /home/arne/local/lib/xfce4/mcs-plugins -avoid-version -module xfprint_plugin_la-xfprint_plugin.lo ../libxfprint/libxfprint.la -L/home/arne/local/lib -lxfcegui4 -lgtk-x11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/home/arne/local/lib -lxfce4mcs-manager -lxfce4util -lglib-2.0 -inst-prefix-dir /tmp/xfce4-4.4.0-installer/destdir.22485)
gcc -shared .libs/xfprint_plugin_la-xfprint_plugin.o -Wl,--rpath -Wl,/home/arne/local/lib -Wl,--rpath -Wl,/usr/lib -L/home/arne/local/lib -L/usr/lib -L/tmp/xfce4-4.4.0-installer/destdir.22485/home/arne/local/lib -lxfprint -lxfcegui4 -L/tmp/xfce4-4.4.0-installer/destdir.22485/usr/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lxfce4mcs-manager -lxfce4util -lglib-2.0 -Wl,-rpath -Wl,/home/arne/local/lib -Wl,-soname -Wl,xfprint_plugin.so -o .libs/xfprint_plugin.so
/usr/bin/ld: /usr/lib/libxfprint.a(libxfprint_la-printing-system.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libxfprint.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
libtool: install: error: relink `xfprint_plugin.la' with the above command before installing it
make[2]: *** [install-xfprint_pluginLTLIBRARIES] Fehler 1
make[2]: Leaving directory `/tmp/xfce4-4.4.0-installer/xfprint/mcs-plugin'
make[1]: *** [install-am] Fehler 2
make[1]: Leaving directory `/tmp/xfce4-4.4.0-installer/xfprint/mcs-plugin'
make: *** [install-recursive] Fehler 1
!! Failed to install xfprint, see the errors above
!! for details on the problem.
So what to do?
Debian Etch
Offline
I've seen this warning a couple of times and to be honest, I don't know how to solve it. Maybe it's some gcc regression with 64 bit computers (because 32 bit does not has this problem), so no help here from /me :cry:
Offline
PIC is an abbreviation for Position Independent Code. It is object code that can execute at different locations in memory. PIC is commonly used for shared libraries. On certain architectures (AMD64 amongst them), shared libraries must be "PIC-enabled".
There are several reasons that you may have -fPIC problems:
Broken compiler - not likely since everything else built.
Broken -fPIC support checks in the configure scripts - not so in XFCE because it has been built on AMD64 platforms.
Lack of -fPIC flag in the software to be built - not so in XFCE because it has been built on AMD64 platforms.
Attempting to link dynamically against static libraries - probably the most common (in my limited experience).
You can tell from the error message that #4 is your problem.
relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libxfprint.a: could not read symbols: Bad value
things are attempting to link against libxfprint.a. This is not a shared library so ... failure. To solve this problem, you need to rebuild libxfprint as a shared -fPIC library.
I do not use the installer, but prefer to build each package by hand. So....I really can't help you work around the issue if you use the install script. Best I can do is recommend you build xfprint by hand.
BTW, I also noted that things are linking against libraries in /lib. Not where it should be on an AMD64 system unless Debian isn't compliant with the FHS. If Debian is FHS-compliant, your 64-bit libraries should be in /lib64.
1. Help the ReliaFree Project --> http://reliafree.sourceforge.net
2. Distribution --> Cross Linux from Scratch
3. Registered Linux user #413054
4. (C)LFS user #17727.
5. Ask smart --> http://www.catb.org/%7Eesr/faqs/smart-questions.html
Offline
Same error with 4.4.1-Installer
Debian Etch
Offline
Same answer for 4.4.1 installer.
1. Help the ReliaFree Project --> http://reliafree.sourceforge.net
2. Distribution --> Cross Linux from Scratch
3. Registered Linux user #413054
4. (C)LFS user #17727.
5. Ask smart --> http://www.catb.org/%7Eesr/faqs/smart-questions.html
Offline
[ Generated in 0.009 seconds, 9 queries executed - Memory usage: 546.2 KiB (Peak: 547.05 KiB) ]