LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-01-2005, 01:29 AM   #1
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
xmms freezes: libindustrial.so


im on the new preview release of ubuntu, and xmms isnt working

the program opens fine, i guess. but when i press play or try and load a mp3 it freezes.
when i launch it from the console i get this message
Code:
Gtk-WARNING **: Unable to locate loadable module in module_path: "libindustrial.so",
listed 6 times in a row.

i read somewhere that libindustrial is insome "gnome-themes" tarball so i downloaded that and installed it but it gives the same error message.

i was thinking i should just uninstall and go back to the warty 4.10 release of ubuntu, because xmms worked out of the box with it... but i think itll be beneficial to learn how to fix this problem instead.

any input appreciated.

edit: i searched for the file and found it here
Code:
/usr/lib/gtk-2.0/2.4.0/engines/libindustrial.so
so can i just add this to my module_path variable? do i type
Code:
export module_path=$module_path;/usr/lib/gtk-2.0/2.4.0/engines/libindustrial.so
ok well i just tried that and it first said permission denied.. so i did it with sudo and it said command not found 'export'

Last edited by nadroj; 04-01-2005 at 01:36 AM.
 
Old 04-01-2005, 02:58 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,421

Rep: Reputation: 200Reputation: 200Reputation: 200
I think it should be: (lose the libindustrial.so it needs the PATH not the filename, it will find it itself)

Code:
export 
module_path=$module_path;/usr/lib/gtk-2.0/2.4.0/engines/
what kernel you got? (uname -r)

first off try in terminal:

ldd /path/blah/blah/xmms

this will tell you what libraries are found and missing.

Last edited by bigearsbilly; 04-01-2005 at 03:01 AM.
 
Old 04-01-2005, 08:47 AM   #3
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Original Poster
Rep: Reputation: 60
ok thanks...

my kernel is: 2.6.10-5-386

i tried the export command you said but it gave this error:
Code:
jordan@jordans-ubuntu:~$ export module_path=$module_path;/usr/lib/gtk-2.0/2.4.0/engines/
bash: /usr/lib/gtk-2.0/2.4.0/engines/: is a directory
and the command i used, as i said, gave this error:
Code:
jordan@jordans-ubuntu:~$ export module_path=$module_path;/usr/lib/gtk-2.0/2.4.0/engines/libindustrial.so
bash: /usr/lib/gtk-2.0/2.4.0/engines/libindustrial.so: Permission denied
i did the ldd command and to me it looks like everything is fine, although that was first time iv heard of that command so maybe i just dont know how to read its output:
Code:
jordan@jordans-ubuntu:~$ ldd /usr/bin/xmms
                libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xb7fd4000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xb7fbc000)
        libxmms.so.1 => /usr/lib/libxmms.so.1 (0xb7faf000)
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0xb7e7a000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0xb7e44000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0xb7e41000)
        libgthread-1.2.so.0 => /usr/lib/libgthread-1.2.so.0 (0xb7e3e000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0xb7e1b000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e0b000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7e07000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0xb7dff000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7df1000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7d26000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7d05000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7bd8000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7feb000)
not sure what i should do now.... :S

thanks again
 
Old 04-01-2005, 08:52 AM   #4
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,421

Rep: Reputation: 200Reputation: 200Reputation: 200
do
echo $module_path see what it is set to.
 
Old 04-01-2005, 08:59 AM   #5
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,421

Rep: Reputation: 200Reputation: 200Reputation: 200
it's a colon : not a semi-colon ;

export module_path=$module_path:/usr/lib/gtk-2.0/2.4.0/engines/


a semi-colon means 'do this' ; 'then this'
or

export module_path=$module_path then /usr/lib/gtk-2.0/2.4.0/engines/

which is why it doesn't make sense of it.
hence '... is a directory'
 
Old 04-05-2005, 09:39 PM   #6
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Original Poster
Rep: Reputation: 60
thanks again bill, but..

ya.. i totally forgot about the semi colon and its purpose. but still doesnt seem to work

i run xmms from cmd line and still get this error (4 times):
Code:
Gtk-WARNING **: Unable to locate loadable module in module_path: "libindustrial.so",
"echo $module_path" results in a blank line for output.. because it seems like that variable is just not defined.

after i "export module_path=/usr/lib/gtk-2.0/2.4.0/engines/", and run xmms, i get the same error, again, displayed four times for whatever reason. i try the same export command, appending 'libindustrial.so' to it and it still does not fix xmms.

have no clue how to fix this.. and dont want to have to go back and reinstall the stable/warty 4.10 ubuntu just to fix this problem (because that means im not exactly fixing the problem, and i do this because i want to learn).

any help appreciated, thanks.
 
Old 04-06-2005, 03:22 AM   #7
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,421

Rep: Reputation: 200Reputation: 200Reputation: 200
hmm, it's usually something silly.
checked permissions? can you read the file?
I run xmms ok can't remember a module_path variable.

download xmms again?

sorry, can't think of much else
 
Old 04-06-2005, 04:23 AM   #8
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
What does 'ls -l /usr/lib/gtk-2.0/2.4.0/engines/libindustrial.so" give you?

I would just put a link to the /usr/lib/gtk-2.0/2.4.0/engines/libindustrial.so in /usr/lib:

'ln -s /usr/lib/gtk-2.0/2.4.0/engines/libindustrial.so /usr/lib/libindustrial.so'

then update the library:

'ldconfig'
 
Old 04-06-2005, 11:47 AM   #9
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Original Poster
Rep: Reputation: 60
thanks...

i tried the ls command you said and here is how it looks:
Code:
jordan@jordans-ubuntu:~$ ls -l /usr/lib/gtk-2.0/2.4.0/engines/libindustrial.so
-rwxr-xr-x  1 root root 49116 2005-03-17 19:41 /usr/lib/gtk-2.0/2.4.0/engines/libindustrial.so
i did the ln command as you said:
Code:
jordan@jordans-ubuntu:~$ sudo ln -s /usr/lib/gtk-2.0/2.4.0/engines/libindustrial.so  /usr/lib/libindustrial.so
i ran ldconfig and it didnt produce any errors.. but after running xmms i get the same error.. now as i recount, it shows the error 6 times now not 4 (i think it was showing 6 last night also, so what i did here didnt cause this).

so confused :S
 
Old 04-06-2005, 12:30 PM   #10
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Original Poster
Rep: Reputation: 60
i uninstalled xmms with synaptic and want to install it from source now.

./configure cmd seems to work, with this final output:
Code:
Configuration:
  Install path:               /usr/local
  Build OSS plugin:           yes
  Build esd plugin:           no
  Build Solaris plugin:       no
  Build BSD Sun plugin:       no
  Build ALSA plugin:          no
  Build mikmod plugin:        yes
  Build Ogg Vorbis plugin:    no
  Build OpenGL plugins:       no
  Pthread flag:               -lpthread
  Use one plugin dir:         no
  Allow user plugin dir:      yes
does this seem right? it says a requirement is alsa and vorbis plugins.. but here it says no to build those.. does that mean it cant find them or that it just doesnt need to rebuild them, or something...?

i get an error after i 'make':
Code:
sm.c:151: error: conflicting types for `sm_init'
sm.h:24: error: previous declaration of `sm_init'
make[4]: *** [sm.o] Error 1
make[4]: Leaving directory `/home/jordan/xmms-1.2.10/xmms'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jordan/xmms-1.2.10/xmms'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jordan/xmms-1.2.10/xmms'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jordan/xmms-1.2.10'
make: *** [all] Error 2
somethigns definetly wrong.. i have no clue what though...

would appreciate help so i can finally have mp3s to listen to while i break more of my linux system
 
Old 04-10-2005, 11:31 PM   #11
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Original Poster
Rep: Reputation: 60
problem never got solved :S
however, i downloaded the final release of ubuntu hoary (5.04) and got rid of my previous install (4.10) and am about to mount my media partition and see if i can get xmms to work now.

but... no one has never had this problem before? still curious

thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xmms freezes my comp doralsoral Linux - Software 1 01-07-2005 08:32 PM
XMMS sometimes Freezes Velocide Linux - Software 5 04-03-2004 06:01 AM
xmms 1.2.9 freezes when play JROCK1980 Linux - Software 10 02-17-2004 06:37 AM
XMMS Freezes avram Linux - Software 2 02-08-2004 06:38 PM
xmms freezes in KDE bootznbooze77 Linux - Newbie 0 08-06-2003 05:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration