LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-28-2007, 01:57 PM   #1
ddimuc
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Rep: Reputation: 0
Gxine Stops Working when Upgrading to SeaMonkey 1.1.1


Hi,

After I upgraded the original Slackware Seamonkey package v1.0.5 to v1.1.1 (which I got from Slackware), gxine v0.5.7 stopped working. I found that after I first removed v1.0.5 and then installed v1.1.1 (using pkgtool), v1.1.1 did not create soft links to the library files that gxine needs/uses (eg: libmozjs.so). But, even though I manually soft linked the libs so that gxine would stop complaining, gxine seg faults. Nonetheless, I fell back to seamonkey v1.0.5 and all is dandy once again.

Why is this happening? In what other ways does v1.0.5 impact my system? Does that mean I can't remove/upgrade SeaMonkey without negatively affecting other apps? This sounds odd to me.

I am running Slack 11.0 with kernel v2.6.20.11. If you need more info from me, just let me know.

Dom.
 
Old 05-28-2007, 02:42 PM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
Probably related to this:
Quote:
Mon May 14 16:39:31 CDT 2007
patches/packages/seamonkey-1.1.1-i486-1_slack11.0.tgz:
Upgraded to seamonkey-1.1.1. Removed various symlinks to NSS libraries. If you plan to rebuild the pidgin package in unsupported/pidgin/stable for any reason (you shouldn't need to), first upgrade to this package and then upgradepkg --reinstall the mozilla-nss package.
http://www.slackware.com/changelog/stable.php?cpu=i386

Last edited by bsdunix; 05-28-2007 at 02:44 PM.
 
Old 05-29-2007, 08:32 AM   #3
ddimuc
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Original Poster
Rep: Reputation: 0
OK, according to the reference provided I should not have to mess with gzine; great!

It then says to reinstall the NSS-package, which I presume means to run upgradepkg --reinstall seamonkey 1.1.1. But would that not just upgrade the libraries? If it does, then I'm back to where I started where gxine seg faults (see original post for details). If it doesn't upgrade the libraries, would that not cause a problem for seamonkey 1.1.1?

Please, do explain.

DPD.
 
Old 05-29-2007, 09:28 AM   #4
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
Quote:
I presume means to run upgradepkg --reinstall seamonkey 1.1.1.
The change log says:

upgradepkg --reinstall the mozilla-nss package

I don't know if what is discussed in the stable changelog is related to your problem, but it sounded similar (i.e. Seamonkey and symbolic links).

Check to see if you have the mozilla-nss package installed and if so reinstall. If you don't know how to do that here is an example:
Code:
# cd /var/log/packages
# ls mozilla-nss*
mozilla-nss-$VERSION.tgz
# upgradepkg --reinstall mozilla-nss-$VERSION.tgz
 
Old 05-29-2007, 09:54 AM   #5
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
I think you will find mozilla-nss needs to be installed, not reinstalled. I posted a heads-up on this a week or so ago, you can find it by searching this forum for Seamonkey.

Brian
 
Old 05-30-2007, 12:40 AM   #6
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
I think there is an issue with gxine after the upgrade, regardless of the mozilla-nss package.

Code:
shilo@shilo2:~$ ls -l /var/log/packages/seamonkey-1.1.1-i486-1_slack11.0 
-rw-r--r-- 1 root root 782 2007-05-14 21:58 /var/log/packages/seamonkey-1.1.1-i486-1_slack11.0
shilo@shilo2:~$ ls -l /var/log/packages/mozilla-nss-3.9.2-i486-1_slack11.0 
-rw-r--r-- 1 root root 2730 2007-05-20 03:49 /var/log/packages/mozilla-nss-3.9.2-i486-1_slack11.0
shilo@shilo2:~$ ls -l /var/log/packages/gxine-0.5.7-i486-1                 
-rw-r--r-- 1 root root 3280 2006-12-27 23:00 /var/log/packages/gxine-0.5.7-i486-1
shilo@shilo2:~$ ldd /usr/bin/gxine |grep -i not
        libmozjs.so => not found
shilo@shilo2:~$
Can anyone else verify this?
 
Old 05-30-2007, 08:23 AM   #7
ddimuc
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Original Poster
Rep: Reputation: 0
I found that my system does not have the mozilla-nss* package installed. So, I searched Mozila's web site and found 2 source packages: nss-3.11.5-with-nspr-4.6.5.tar.gz and nss-3.11.5.tar.gz. Which one should I build? Has anyone already built this package? Were there any difficulties or obscure pre/requirements?

Still, building the nss package would be fruitless if this is a bigger issue (as Shilo may be alluding to).

Dom.
 
Old 05-30-2007, 08:47 AM   #8
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
Quote:
shilo@shilo2:~$ ldd /usr/bin/gxine |grep -i not
libmozjs.so => not found
This was removed with Seamonkey-1.1.1 upgrade/patch:
Code:
# These links just cause problems now...
---snip---
( cd usr/lib
  for file in libmozjs.so libnspr4.so libnss3.so libplc4.so libplds4.so libsmime
3.so libsoftokn3.so libssl3.so ; do
   if [ -L $file ]; then
      rm -f $file
    fi
  done
)
In the stable changelog of Thu Nov 9 18:04:51 CST 2006, Pat said:

"... but meanwhile using firefox-1.5.0.8 with the gxine plugin works just fine. ..."
 
Old 05-30-2007, 10:48 AM   #9
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Quote:
Originally Posted by ddimuc
I found that my system does not have the mozilla-nss* package installed.
It is in /patches/packages

Brian
 
Old 05-31-2007, 06:39 PM   #10
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by shilo
I think there is an issue with gxine after the upgrade, regardless of the mozilla-nss package.
Can anyone else verify this?
gxine is hosed on my system as well - I tried recreating the symlinks and it still failed.
This goes beyond the mozilla-nss issue as I tried downgrading and that did not work either.

All updates via upgradepkg from local files maintained via rsync (i.e. no swaret etc.)
 
Old 05-31-2007, 09:50 PM   #11
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Well this worked for me - I know it has already been mentioned but can't find exactly where (this thread is getting strung out around the place !!)
As previously stated :
Code:
# cd /var/log/packages
# ls mozilla-nss*
mozilla-nss-$VERSION.tgz
# upgradepkg --reinstall mozilla-nss-$VERSION.tgz
... then create a link at /usr/lib/libmozjs.so -> /firefox/libmozjs.so. Everything seems to work now.

Cheers
 
Old 06-01-2007, 12:57 AM   #12
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Rep: Reputation: 30
Synbolic links?

Sorry to barge in on your thread ddimuc been having similar problems with gxine. BCarey said to take a look at your thread.
bgeddy has written about installing mozilla-nss and creating some links afterwards.
Can bgeddy explain how we should make these links. Not really into all the adding links etc yet.
Many of the members talk about adding links here and there, but forget that for many of us newbies it doesn't mean so much.

As always, appreciate any help that you can give on this matter.

bookie
 
Old 06-01-2007, 02:40 AM   #13
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
No problem. Assuming you have a standard setup (the firefox libs are in the right place)- the following will create a symbolic link to "/usr/lib/firefox/libmozjs.so" called "/usr/lib/libmozjs.so". Obviously replace rootpassword with your password !
Code:
su -c "ln -s /usr/lib/firefox/libmozjs.so  /usr/lib/libmozjs.so"
Password: rootpassword
See
Code:
man - ln
for help with symbolic links. Hope this works for you.
 
Old 06-01-2007, 02:52 AM   #14
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Rep: Reputation: 30
Thanks bgeddy

Thanks for being so prompt. Have you any ideas as to which book or books on linux a newbie should begin with? If I had a decent book, then I might learn the command structure and perhaps understand it.
Thanks again for the info.

bookie
 
Old 06-01-2007, 06:32 AM   #15
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Ok - rather than re-iterate what has been done before - this thread has loads of great links for Slackware/General Linux info. I would particularly recommend for general Linux advice the "rute" book - its fantastic. Chapter 15.1 "Soft Links" may be of particular interest to you.

Once you want to cover topics in greater depth, there is "Advanced Bash-Scripting Guide" for bash scripting, "linux kernel in a nutshell" for kernel building etc, all available on - line. (I haven't checked but there will definately be pointers to these in the thread I give you.
Then more specifically for Slackware there is "The Book" - the offical Slackware book at http://www.slackbook.org/ and loads of other useful info out there.

When playing around at the cli (command line interface) - don't forget the "man" command to show manual pages, "apropos" to search the whatis database for strings (this can be very useful), "help" to give help on the shell, "command --help" often gives help for "command".

Forgive me if i am telling you stuff you already know, I am just trying to give generic help. Please don't take my recommendations to be exclusive of any others - there are LOADS of good references on the net for Linux/Slackware.

I think this link should give you a very good starting point. Anyway - have a look here : http://www.linuxquestions.org/questi...d.php?t=546232

Happy reading and good luck in your quest !!

Cya
 
  


Reply



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
LXer: SeaMonkey 1.0.6 and SeaMonkey 1.1 Beta Released LXer Syndicated Linux News 0 11-09-2006 02:33 PM
SiS on board sound stops working when upgrading alsa? + kernel question? mr.gizm0 Linux - Software 3 03-21-2005 10:46 AM
Mplayer - Synaptic - gxine not working Choke Linux - Software 6 01-22-2005 12:26 PM
DVD not working with gXine tuanito Linux - Software 1 09-15-2004 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:20 AM.

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
Open Source Consulting | Domain Registration