Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-01-19 15:30:29

Dwimenor
Member
Registered: 2011-01-19
Posts: 3

[Solved] startxfce4 can't find libxfsm-4.6.so.0

Just got xfce 4.8 tarball, made and installed it. Everyting good till starting:

xfce4-session: error while loading shared libraries: libxfsm-4.6.so.0: cannot open shared object file: No such file or directory

But:

dwimenor@16:23:54:~$ for i in `locate libxfsm-4.6.so.0`;do file $i;done
/usr/local/lib/libxfsm-4.6.so.0: symbolic link to `libxfsm-4.6.so.0.0.0'
/usr/local/lib/libxfsm-4.6.so.0.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
/usr/src/xfce/xfce4-session-4.8.0/libxfsm/.libs/libxfsm-4.6.so.0: symbolic link to `libxfsm-4.6.so.0.0.0'
/usr/src/xfce/xfce4-session-4.8.0/libxfsm/.libs/libxfsm-4.6.so.0.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped

I've found out this one:
http://forum.xfce.org/viewtopic.php?id=4983
But to be honest, I don't want to install whole xfce 4.6 just to get 4.8 working.
Any idea?
I'm running Ubuntu Lucid x86_64 with self compiled 2.6.37 kernel.

I could use some precompiled .debs (if there are any) but it's not that entertaining as doing it myself wink

Offline

#2 2011-01-19 16:52:01

Dwimenor
Member
Registered: 2011-01-19
Posts: 3

Re: [Solved] startxfce4 can't find libxfsm-4.6.so.0

Ok, I've got it.
First I downloaded the xfce-session 4.6 .deb file from repo to check the files being installed with that package. It seems that make && make install does copy the libxfsm-4.6.so.0 into /usr/local/lib/
It does so, or I've screw up somehow configuration

.deb package installs this library to /usr/lib. I've bypassed thole thing by simply creating symlink from
/usr/local/lib/libxfsm-4.6.so.0 to /usr/lib/libxfsm-4.6.so

That required creating some other links (libxfsm-4.6.a      .0.0.0 and so on), but xfce 4.8 is working now.


EDIT (day later)
Yach, the part "I've screw up somehow configuration" is more then accurate.

Last edited by Dwimenor (2011-01-20 17:33:50)

Offline

#3 2011-01-25 23:46:24

temcat
Member
Registered: 2011-01-25
Posts: 2

Re: [Solved] startxfce4 can't find libxfsm-4.6.so.0

Hi Dwimenor,

I have exactly the same problem. From your second post, I understood that you found a mistake in your configuration. Can you share your findings and fixes?

Thanks in advance!

Offline

#4 2011-01-26 11:30:06

Dwimenor
Member
Registered: 2011-01-19
Posts: 3

Re: [Solved] startxfce4 can't find libxfsm-4.6.so.0

The problem with mine instaltion was that ALL the compiled libraies where installed into /usr/local/lib/ and xfce programs is looking for them /usr/lib
I messed somewhere with prefixes...I think.
Well, there are several solutions for that. For example symlink all the neccesery libs. Or copy-paste them (what I did in the end). Or rebuild/reinstall following this one:
http://www.xfce.org/download/building

Offline

#5 2011-01-26 21:37:40

temcat
Member
Registered: 2011-01-25
Posts: 2

Re: [Solved] startxfce4 can't find libxfsm-4.6.so.0

Thank you! Got it sorted out by compiling with --prefix=/usr.

Now it starts at least. Doesn't really work great though so far.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 532.8 KiB (Peak: 533.65 KiB) ]