! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-session: error while loading shared libraries: libxfce4util.so.4: canno...
Status:
RESOLVED: INVALID
Product:
Libxfce4util
Component:
General

Comments

Description Etienne Robillard 2015-09-25 14:07:56 CEST
After upgrading from xfce 4.8 to 4.12 startxfce4 refuse to start. i use gtk2.

erob@nguns:/usr/local/obj/xfce/src$ ldd `which xfce4-session`
	linux-gate.so.1 =>  (0xb7711000)
	libxfsm-4.6.so.0 => /usr/local/lib/libxfsm-4.6.so.0 (0xb76e3000)
	libSM.so.6 => /usr/local/lib/libSM.so.6 (0xb76db000)
	libICE.so.6 => /usr/local/lib/libICE.so.6 (0xb76c1000)
	libX11.so.6 => /usr/local/lib/libX11.so.6 (0xb758a000)
	libxfce4ui-1.so.0 => /usr/local/lib/libxfce4ui-1.so.0 (0xb7577000)
	libxfce4util.so.4 => not found
	libgmodule-2.0.so.0 => /usr/local/lib/libgmodule-2.0.so.0 (0xb7553000)
	libwnck-1.so.22 => /usr/lib/libwnck-1.so.22 (0xb7511000)
	libgtk-x11-2.0.so.0 => /usr/local/lib/libgtk-x11-2.0.so.0 (0xb7155000)
	libgdk-x11-2.0.so.0 => /usr/local/lib/libgdk-x11-2.0.so.0 (0xb70be000)
	libatk-1.0.so.0 => /usr/local/lib/libatk-1.0.so.0 (0xb7098000)
	libgdk_pixbuf-2.0.so.0 => /usr/local/lib/libgdk_pixbuf-2.0.so.0 (0xb7075000)
	libcairo.so.2 => /usr/local/lib/libcairo.so.2 (0xb6f6b000)
	libxfconf-0.so.2 => /usr/local/lib/libxfconf-0.so.2 (0xb6f59000)
	libdbus-glib-1.so.2 => /usr/local/lib/libdbus-glib-1.so.2 (0xb6f33000)
	libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0xb6ee9000)
	libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0 (0xb6e98000)
	libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0xb6d58000)
	libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb6d3f000)
	libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb6bdc000)
	libxfce4util.so.7 => /usr/local/lib/libxfce4util.so.7 (0xb6bcd000)
	libgio-2.0.so.0 => /usr/local/lib/libgio-2.0.so.0 (0xb6a39000)
	libpangoft2-1.0.so.0 => /usr/local/lib/libpangoft2-1.0.so.0 (0xb6a08000)
	libpangocairo-1.0.so.0 => /usr/local/lib/libpangocairo-1.0.so.0 (0xb69fa000)
	libpango-1.0.so.0 => /usr/local/lib/libpango-1.0.so.0 (0xb69a5000)
	libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 (0xb6964000)
	libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0xb68db000)
	libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb68d4000)
	libxcb.so.1 => /usr/local/lib/libxcb.so.1 (0xb68b1000)
	libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xb68ad000)
	libpng16.so.16 => /usr/local/lib/libpng16.so.16 (0xb6878000)
	libselinux.so.1 => /lib/i386-linux-gnu/libselinux.so.1 (0xb6858000)
	libresolv.so.2 => /lib/i386-linux-gnu/i686/cmov/libresolv.so.2 (0xb6843000)
	libpixman-1.so.0 => /usr/local/lib/libpixman-1.so.0 (0xb67a6000)
	libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0xb677f000)
	libxcb-shm.so.0 => /usr/local/lib/libxcb-shm.so.0 (0xb677c000)
	libX11-xcb.so.1 => /usr/local/lib/libX11-xcb.so.1 (0xb677a000)
	libxcb-render.so.0 => /usr/local/lib/libxcb-render.so.0 (0xb676f000)
	libXau.so.6 => /usr/local/lib/libXau.so.6 (0xb676c000)
	libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0xb6766000)
	libXrender.so.1 => /usr/local/lib/libXrender.so.1 (0xb675c000)
	libXext.so.6 => /usr/local/lib/libXext.so.6 (0xb674b000)
	libgthread-2.0.so.0 => /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 (0xb6747000)
	libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xb6721000)
	libffi.so.6 => /usr/local/lib/libffi.so.6 (0xb671b000)
	libz.so.1 => /usr/local/lib/libz.so.1 (0xb6703000)
	libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0xb66f2000)
	libstartup-notification-1.so.0 => /usr/lib/libstartup-notification-1.so.0 (0xb66e7000)
	libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0xb6605000)
	librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xb65fc000)
	libXRes.so.1 => /usr/local/lib/libXRes.so.1 (0xb65f9000)
	libXcomposite.so.1 => /usr/local/lib/libXcomposite.so.1 (0xb65f6000)
	libXdamage.so.1 => /usr/local/lib/libXdamage.so.1 (0xb65f2000)
	libXfixes.so.3 => /usr/local/lib/libXfixes.so.3 (0xb65ed000)
	libXinerama.so.1 => /usr/local/lib/libXinerama.so.1 (0xb65ea000)
	libXrandr.so.2 => /usr/local/lib/libXrandr.so.2 (0xb65e0000)
	libXcursor.so.1 => /usr/local/lib/libXcursor.so.1 (0xb65d6000)
	/lib/ld-linux.so.2 (0x4eccc000)
	libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb65ab000)
	libxcb-util.so.0 => /usr/local/lib/libxcb-util.so.0 (0xb65a5000)

i can provide more informations if necessary.

Thanks,

Etienne
Comment 1 Etienne Robillard 2015-09-25 15:21:14 CEST
I found that /usr/bin/xfce4-session was shadowing /usr/local/bin/xfce4-session. Removing the old binaries fixed the problem, however attempting to compile xfwm4 from source is breaking:

/usr/bin/ld: xfwm4-display.o: undefined reference to symbol 'XShapeQueryExtension'
/usr/local/lib/libXext.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [xfwm4] Error 1
make[3]: Leaving directory `/usr/local/obj/xfce/src/xfwm4-4.12.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/obj/xfce/src/xfwm4-4.12.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/obj/xfce/src/xfwm4-4.12.0'
make: *** [all] Error 2
Comment 2 Etienne Robillard 2015-09-25 15:43:15 CEST
i fixed the issue with xfwm4 by manually adding to src/Makefile 
the following:

-L/usr/local/lib -lXext

however xfdesktop refuse to start:

erob@nguns:/usr/bin$ xfdesktop
xfdesktop: error while loading shared libraries: libxfce4util.so.4: cannot open shared object file: No such file or directory

erob@nguns:/usr/bin$ which xfdesktop
/usr/local/bin/xfdesktop
Comment 3 Skunnyk editbugs 2017-05-22 23:44:48 CEST
I think you fixed the problem now as I think it's a local problem.
Closing it.

Bug #12224

Reported by:
Etienne Robillard
Reported on: 2015-09-25
Last modified on: 2017-05-22

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Version:
4.12.1

Attachments

Additional information