VectorLinux

The nuts and bolts => Software General => Topic started by: Locator on October 01, 2012, 07:03:38 am

Title: DVDStyler not working.
Post by: Locator on October 01, 2012, 07:03:38 am
I installed DVDStyler using gslapt and tried to run it and nothing happened. I also ran it in terminal mode, and got the following -

doctor:$ dvdstyler
dvdstyler: error while loading shared libraries: libwx_gtk2u_media-2.8.so.0: cannot open shared object file: No such file or directory

So What do I do now?
Title: Re: DVDStyler not working.
Post by: MarkGrieveson on October 01, 2012, 04:12:12 pm
Try the following:

Code: [Select]
ln -s /usr/lib/libwx_gtk2u_media-2.8.so /usr/lib/libwx_gtk2u_media-2.8.so.0
Title: Re: DVDStyler not working.
Post by: Locator on October 01, 2012, 08:21:43 pm
Exact same result.
Title: Re: DVDStyler not working.
Post by: MarkGrieveson on October 02, 2012, 11:49:36 am
Do you have wxGTK installed?  If not, try to install it and see what happens.  I have dvdstyler installed along with wxGTK.  wxGTK (2.8.11-i586-3vl70) has "libwx_gtk2u_media-2.8.so.0.8.0" as part of its package.  wxsvg should also be installed.
Title: Re: DVDStyler not working.
Post by: Locator on October 02, 2012, 01:39:14 pm
I have everything installed except the latest version of wxsvg, I keep getting an error message about a dependency failure (I think that it needs ffmpeg 0.10.2)
Title: Re: DVDStyler not working.
Post by: MarkGrieveson on October 02, 2012, 04:08:55 pm
I'm surprised it's not working.  What version are you trying to install?  I have version 2.1-i586-1vl70 of dvdstyler, and I have version 0.10-i586-5vl70 of ffmpeg.
Title: Re: DVDStyler not working.
Post by: bigpaws on October 02, 2012, 08:01:13 pm
Perhaps a 64bit version

Bigpaws
Title: Re: DVDStyler not working.
Post by: Locator on October 03, 2012, 08:10:00 am
There is no 64bit version of DVDStyler.
Title: Re: DVDStyler not working.
Post by: bigpaws on October 03, 2012, 10:30:59 am
I know that, you have recently been asking about using 64 bit programs.

That is why I asked if this was what you were trying

Bigpaws
Title: Re: DVDStyler not working.
Post by: Locator on October 03, 2012, 07:48:21 pm
I have gone back to using Vector Linux 7.0 in the hope of being able to use DVDStyler again - but now I can't get it to work (my previous replies explain what the problem has been).
Title: Re: DVDStyler not working.
Post by: Masta on October 03, 2012, 09:11:04 pm
he's right, there is a ffmpeg dep error when selecting to install dvdstyler versions 2.1-i586-1vl70. See attached image
Title: Re: DVDStyler not working.
Post by: MarkGrieveson on October 03, 2012, 10:23:46 pm
I just noticed that I have a newer version of wxGTK installed.  So, maybe that would help.  Try installing the version here --> wxgtk-2.8.12-i686-2cf.txz (http://www.slackers.it/repository//wxgtk/pkg/wxgtk-2.8.12-i686-2cf.txz).

Note:  The claim I made in my previous post (link (http://forum.vectorlinux.com/index.php?topic=16876.msg93807#msg93807)) was incorrect.  While I have two versions of wxgtk installed, the one that dvdstyler relies upon is the newer one and not the Vector package in the repositories (2.8.11-i586-3vl70) as I had claimed.  So, I believe that you can get dvdstyler working if you install the newer wxgtk (2.8.12).
Title: Re: DVDStyler not working.
Post by: Locator on October 04, 2012, 10:51:05 am
I tried doing that (as root) and got the following response:

vector:/~
root:# slapt-get --install wxgtk-2.8.12-i686-2cf.txz
Reading Package Lists...Done
No such package: wxgtk-2.8.12-i686-2cf.txz
Title: Re: DVDStyler not working.
Post by: MarkGrieveson on October 04, 2012, 02:59:06 pm
I tried doing that (as root) and got the following response:

vector:/~
root:# slapt-get --install wxgtk-2.8.12-i686-2cf.txz
Reading Package Lists...Done
No such package: wxgtk-2.8.12-i686-2cf.txz


No, it's not in the Vector repositories.  It is a Slackware package.  So, you would need to download the package, and then right-click on it within Thunar, and select "install package".  Or, if you prefer the command line, download the package, and using the terminal, go to the directory that you've downloaded the package, and use the command "installpkg wxgtk-2.8.12-i686-2cf.txz".
Title: Re: DVDStyler not working.
Post by: Locator on October 04, 2012, 04:39:33 pm
I tried doing that, then when I went to run DVDStyler again (from the terminal) I got the following -

root:# dvdstyler
dvdstyler: error while loading shared libraries: libavformat.so.52: cannot open shared object file: No such file or directory
Title: Re: DVDStyler not working.
Post by: MarkGrieveson on October 04, 2012, 05:28:34 pm
Well, it's progress anyway.  At least dvdstyler is no longer complaining about wxgtk.

I had the same problem, and solved it with links.  It's looking for libavformat.so (a file in ffmpeg) but the number is wrong.  With Gslapt, check out the ffmpeg package you have installed, specifically the "files" tab, and see what number the file libavformat.so has.  On mine, it is libavformat.so.53.31.100, so I made a link of the file it was requesting to this file that is installed, and it worked.  For clarity, see my enclosed screenshot.

So, try the following (replace the numbers with whatever numbers you find in the listing of file "libavformat.so.**" in ffmpeg within Gslapt):

Code: [Select]
ln -s /usr/lib/libavformat.so.53.31.100 /usr/lib/libavformat.so.52
Note, since the error you were getting was requesting "libavformat.so.52", I put this as the created link above.  Again, it should link to whatever version of libavformat.so is listed under files of ffmpeg within Gslapt.



Title: Re: DVDStyler not working.
Post by: Locator on October 04, 2012, 07:46:02 pm
I tried that...and when I tried running it from within the terminal I got -

doctor:$ dvdstyler
dvdstyler: error while loading shared libraries: libavcodec.so.52: cannot open shared object file: No such file or directory
Title: Re: DVDStyler not working.
Post by: MarkGrieveson on October 04, 2012, 09:57:34 pm
I tried that...and when I tried running it from within the terminal I got -

doctor:$ dvdstyler
dvdstyler: error while loading shared libraries: libavcodec.so.52: cannot open shared object file: No such file or directory

It's another one from ffmpeg.  I had these same issues:

Code: [Select]
vector://home/mark
root:# updatedb
vector://home/mark

root:# locate libavcodec.so
/usr/lib/libavcodec.so.53
/usr/lib/libavcodec.so.53.60.100

vector://home/mark
root:# cd /usr/lib/
vector://usr/lib
root:# ls -l libavcodec*
lrwxrwxrwx 1 root root       31 Sep  2 18:57 libavcodec-cinelerra.so.51 -> libavcodec-cinelerra.so.51.57.0*
-rwxr-xr-x 1 root root  3404588 May 23 03:19 libavcodec-cinelerra.so.51.57.0*
-rw-r--r-- 1 root root  8495100 Jul  4 00:49 libavcodec.a
lrwxrwxrwx 1 root root       23 Aug  9 13:58 libavcodec.so.53 -> libavcodec.so.53.60.100*
-rwxr-xr-x 1 root root 10825496 Jul  4 00:49 libavcodec.so.53.60.100*
vector://usr/lib
root:#

In my computer, there is the actual file "libavcodec.so.53.60.100", and there is the link to this actual file named "libavcodec.so.53" (this being the name of the link, which links to the actual file of "libavcodec.so.53.60.100".)  This is because I received an error similar to what you received about a file not being found (in my case it was libavcodec.so.53 not being found.)  I also had similar errors with cinelerra when I installed it, but I likewise solved these by creating links (note the "libavcodec-cinelerra" link above).  I had to do this for various programs, I believe due to some issue with ffmpeg.  Anyway, I did get both cinelerra and dvdstyler working, and I'm sure you could get dvdstyler working as well.

So, when you see errors about missing lib-files, just look for a similarly named one (by checking ffmpeg in Gslapt in the "files" tab) and create a link to it (giving the link the name of the file that was reported as missing.)  For instance, as was done with libavformat, do the same with libavcodec (and any other reported lib file errors).  There's might be about eight of them you'll need to do, and then dvdstyler should work.

Code: [Select]
ln -s /usr/lib/libavcodec.so.53.60.100 /usr/lib/libavcodec.so.52

and for the rest...

ln -s TARGET LINK_NAME

Note:  the LINK_NAME will be the named file that was reported as "No such file or directory" in any error report you get while installing dvdstyler, whereas the TARGET will be the existing file with a similar name to the reported missing file.
Title: Re: DVDStyler not working.
Post by: Locator on October 07, 2012, 03:51:08 pm
And the result of that attempt is -

root:# ln -s /usr/lib/libavformat.so.53.31.100 /usr/lib/libavformat.so.52
ln: failed to create symbolic link `/usr/lib/libavformat.so.52': File exists
Title: Re: DVDStyler not working.
Post by: MarkGrieveson on October 07, 2012, 08:47:58 pm
Well, I'm out of ideas.  Good luck with it.  Hope you can figure it out.
Title: Re: DVDStyler not working.
Post by: Masta on October 07, 2012, 08:55:30 pm
And the result of that attempt is -

root:# ln -s /usr/lib/libavformat.so.53.31.100 /usr/lib/libavformat.so.52
ln: failed to create symbolic link `/usr/lib/libavformat.so.52': File exists

You will need to rename or remove the old symlink first, then create the new symlink. This will fix the complaint about it already existing.
Title: Re: DVDStyler not working.
Post by: Locator on October 08, 2012, 07:48:49 am
I went to "/usr/lib" and could not find any file named "libavformat.so.52" - so what do I do now?
Title: Re: DVDStyler not working.
Post by: Masta on October 11, 2012, 10:01:11 pm
Open a terminal and su to root. Command:
Code: [Select]
updatedbWait until that finishes, may take a few minutes.

Then after it is done command:
Code: [Select]
locate libavformat.so*
Please paste the results here.
Thanks
Title: Re: DVDStyler not working.
Post by: stretchedthin on October 12, 2012, 06:07:12 pm
There is a new dvdstyler in the testing repo, could you let me know if that is working for you locator?
Title: Re: DVDStyler not working.
Post by: Locator on October 12, 2012, 09:29:42 pm
How do I find it?
Title: Re: DVDStyler not working.
Post by: Locator on October 12, 2012, 09:31:20 pm
Open a terminal and su to root. Command:
Code: [Select]
updatedbWait until that finishes, may take a few minutes.

Then after it is done command:
Code: [Select]
locate libavformat.so*
Please paste the results here.
Thanks


root:# updatedb
vector://home/doctor
root:# locate libavformat.so*
/usr/lib/libavformat.so.53.31.100
/usr/lib/libavformat.so.53
/usr/lib/libavformat.so
vector://home/doctor
root:# dvdstyler
dvdstyler: error while loading shared libraries: libavformat.so.52: cannot open shared object file: No such file or directory
Title: Re: DVDStyler not working.
Post by: Locator on October 13, 2012, 08:47:06 am
I also tried to install wxsvg (version 1.1.8 ), and got the following error message (see attachment)
Title: Re: DVDStyler not working.
Post by: stretchedthin on October 13, 2012, 10:34:08 pm
How do I find it?

In gslapt go to edit ... preferences ... sources
Make sure the testing check box is ticked, update and then search dvdstyler.

Disable testing after installing, if you don't want to introduce other untested items accidentally to your system.
Title: Re: DVDStyler not working.
Post by: Locator on October 14, 2012, 06:05:38 am
Thank you.
Title: Re: DVDStyler not working.
Post by: MarkGrieveson on October 14, 2012, 10:50:24 am
I tried that...and when I tried running it from within the terminal I got -

doctor:$ dvdstyler
dvdstyler: error while loading shared libraries: libavcodec.so.52: cannot open shared object file: No such file or directory

It's another one from ffmpeg.  I had these same issues: 
[snipped]
For instance, as was done with libavformat, do the same with libavcodec (and any other reported lib file errors).  There's might be about eight of them you'll need to do, and then dvdstyler should work.

Code: [Select]
ln -s /usr/lib/libavcodec.so.53.60.100 /usr/lib/libavcodec.so.52

and for the rest...

ln -s TARGET LINK_NAME

Note:  the LINK_NAME will be the named file that was reported as "No such file or directory" in any error report you get while installing dvdstyler, whereas the TARGET will be the existing file with a similar name to the reported missing file.

And the result of that attempt is -

root:# ln -s /usr/lib/libavformat.so.53.31.100 /usr/lib/libavformat.so.52
ln: failed to create symbolic link `/usr/lib/libavformat.so.52': File exists

The reason the file exists is because you're repeating a step you already had done.  You did this step already, solving the libavformat issue, and then it was reporting another issue with libavcodec.  Thus, my suggestion had been to try the linking solution on libavcodec as well (refer back to my post, included in the quote above). 

Anyway, it's best that the package be fixed so that such issues don't have to be encountered by users.  So, hopefully the new dvdstyler package in testing that stretchedthin spoke of will work.
Title: Re: DVDStyler not working.
Post by: sledgehammer on October 14, 2012, 11:43:34 am
I installed it from testing on my lenovo N586 with kernel 3.31. Don't know how to use it.  But loaded ok and seems to work.  I had to reinstall wxpython to get ETM working again.  Don't know if other programs will be affected or not.

Update:  I loaded kernel 3.34 to help with wireless, deleted dvdstyler and downgraded wxWidgets to 2.8.11 as ETM wouldn't otherwise work (without reinstalling wxpython) on reboot.

Title: Re: DVDStyler not working.
Post by: Locator on October 15, 2012, 08:08:49 am
How do I find it?

In gslapt go to edit ... preferences ... sources
Make sure the testing check box is ticked, update and then search dvdstyler.

Disable testing after installing, if you don't want to introduce other untested items accidentally to your system.

What testing check box are you referring to?
Title: Re: DVDStyler not working.
Post by: sledgehammer on October 15, 2012, 08:44:18 am
On mine, its the ninth box down (word "testing/" is last word before "default"
Title: Re: DVDStyler not working.
Post by: Locator on October 15, 2012, 10:45:02 am
I asked because on mine there is a MINIMUM of 11 marked as "testing".
Title: Re: DVDStyler not working.
Post by: Locator on October 15, 2012, 12:04:45 pm
I just made an interedting discovery - even though DVDStyler shows up in the "Multimedia" menu, Gslapt shows it as being unmarked and when I tried to reinstall it I got the following error message (see attachment):

Title: Re: DVDStyler not working.
Post by: stretchedthin on October 16, 2012, 04:55:38 am
I believe that's an old error.  Could you run update in gslapt and see if you get the same error?
Title: Re: DVDStyler not working.
Post by: Locator on October 17, 2012, 03:56:00 pm
I tried that and got the same error message. So what do I do now?
Title: Re: DVDStyler not working.
Post by: stretchedthin on October 18, 2012, 04:15:51 pm
Well, from what I can see that's not possible.  The only DVDstyler that has ffmpeg 0.10.2 as a dependency is the old one (version 2.1).  The new DVDstyler (version 2.3) does not list ffmpeg 0.10.2 as a dependency and would not ask for it period.

To make things simpler I'll move version 2.3 to extra and remove version 2.1 all together.  That way all you should need to do is update, and testing will not need to be enabled.  (Which I still think is were you are having your problem.)

Title: Re: DVDStyler not working.
Post by: stretchedthin on October 18, 2012, 04:19:08 pm
Locator, saw your question on "testing" repository.

Watch this.
http://www.youtube.com/embed/HS-_hxy4iyw (http://www.youtube.com/embed/HS-_hxy4iyw)
Title: Re: DVDStyler not working.
Post by: Locator on October 19, 2012, 06:47:07 am
Well, from what I can see that's not possible.  The only DVDstyler that has ffmpeg 0.10.2 as a dependency is the old one (version 2.1).  The new DVDstyler (version 2.3) does not list ffmpeg 0.10.2 as a dependency and would not ask for it period.

To make things simpler I'll move version 2.3 to extra and remove version 2.1 all together.  That way all you should need to do is update, and testing will not need to be enabled.  (Which I still think is were you are having your problem.)



I tried that, and got the following error message (see attachment):

Title: Re: DVDStyler not working.
Post by: stretchedthin on October 19, 2012, 10:31:52 am
OK, my fault.  Your testing repository is not enabled so you are not picking up any of the dependencies that are still in testing.
I'll see if I can get them all moved to extra tonight.

I was able to move the needed dependencies from testing over to extra, before I went to work.  You can update and test now.
Ken
Title: Re: DVDStyler not working.
Post by: MarkGrieveson on October 20, 2012, 10:40:51 am
2.1 was working for me, but I did proceed with the upgrade to dvdstyler 2.3, which also upgraded wxWidgets and wxsvg, and I'm happy to report that it does work on my machine.
Title: Re: DVDStyler not working.
Post by: stretchedthin on October 20, 2012, 10:54:42 pm
Thanks MarkGrieveson

Title: Re: DVDStyler not working.
Post by: Locator on October 22, 2012, 04:56:21 pm
I FINALLY got DVDStyler installed and functioning correctly - so THANK YOU!!!
Title: Re: DVDStyler not working.
Post by: Locator on December 11, 2012, 04:29:51 pm
CORRECTION: It turnes out that DVDStyler is STILL not quite functioning correctly -I tried to add some text to one of the menus ("The Quick Brown Fox", for example, and got the following result:
Title: Re: DVDStyler not working.
Post by: stretchedthin on December 11, 2012, 05:48:32 pm
I'm not sure where you are encountering the problem.  Can you give more detail on how I might duplicate.

So far text is always turning out how I would want it.
Title: Re: DVDStyler not working.
Post by: Locator on December 11, 2012, 08:45:28 pm
After seeing the output that you got, I don't know what to tell you (I THOUGHT I was using the same method you used). Could I be missing something on my system and not even know it?

But if it will be of any help, all I did was to right-click in the menu area, select "Add", then "Text", then I typed in "The Quick Brown Fox" (in order to illustrate what was happening), and got the result that you saw before.
Title: Re: DVDStyler not working.
Post by: MarkGrieveson on December 12, 2012, 10:21:20 am
I have the exact same problem with text in dvdstyler that Locator described. 
Title: Re: DVDStyler not working.
Post by: Locator on December 14, 2012, 10:05:38 pm
I'm not sure where you are encountering the problem.  Can you give more detail on how I might duplicate.

So far text is always turning out how I would want it.


What version are you using (I am using 2.3)?
Title: Re: DVDStyler not working.
Post by: stretchedthin on December 15, 2012, 09:24:13 am
I'm using 2.3 as well.

I can't imagine I'm doing anything much differently.  If it was not Christmas season and I didn't seem to be always heading out the door somewhere, I'd make a video and show you what I'm doing.
If you can wait till mid January I'll be back from a vacation in Texas, remind me to make a video then.
Title: Re: DVDStyler not working.
Post by: Locator on December 15, 2012, 11:05:04 am
Thanks, but all I DO know is that I am getting the type of result on my system that I showed you, as an example, on the previous page. But do you think that it MAY have something to do with those upgraded Libraries? Just asking.
Title: Re: DVDStyler not working.
Post by: stretchedthin on January 29, 2013, 07:15:40 pm
wxsvg is the problem, at least the version that you have installed with dvdStyler.    Try upgrading to version 1.1.9.

wxsvg needs to be compiled a certain way, or you end up with that problem.
It needs

  --enable-render=libart \


as a option under configure.

See if that helps.  Sorry for the really late solution, but I never had a clue were the problem was coming from until I was building it from scratch for vl7.1

Title: Re: DVDStyler not working.
Post by: MarkGrieveson on January 31, 2013, 10:12:39 am
Via Gslapt, I tried it with wxsvg 1.1.9-i586-1vl70 and it still gave me the same issue.  So I then downloaded the source of wxsvg 1.1.9, and attempted to build a package via vpackager with the configuration option you mentioned, and got the following feedback:
Quote
checking host system type... Invalid configuration `\': machine `\' not recognized
configure: error: /bin/sh ./config.sub \ failed
So, I'm now attempting it once again without the final "\".  I'll edit this posting to report on my progress.

Edited to Add:

Okay, it did compile corrected when I simply added "--enable-render=libart" in the "Extra configure options" box of vpackager.  And, I now can do what I want with text.  Note the attached picture.  So, thanks for your help.  PS, it might be a good idea to rebuild the package of wxsvg within the repositories with the libart option for everybody.
Title: Re: DVDStyler not working.
Post by: stretchedthin on February 01, 2013, 07:35:50 am
Quote
Okay, it did compile corrected when I simply added "--enable-render=libart" in the "Extra configure options" box of vpackager.  And, I now can do what I want with text.  Note the attached picture.  So, thanks for your help.  PS, it might be a good idea to rebuild the package of wxsvg within the repositories with the libart option for everybody.

That's the puzzler, it is build that way.  At least version 1.1.9 is.  I tested with a fresh install.  So would be beneficial to know what version you had running when you encountered the problem.

Glad we got it solved though.
Title: Re: DVDStyler not working.
Post by: MarkGrieveson on February 01, 2013, 08:41:40 am
I did a fresh install of dvdstyler using Gslapt, and it pulled in wxsvg (versions 2.3-i586-1vl70 and 1.1.9-i586-1vl70 respectively).  It still only displayed partial text in the manner that Locator had described.  After building wxsvg from source (using 1.1.9 with the additional configuration option) the text function did work perfectly as I described.