[SOLVED] Cannot compile DVDStyler 3.3b3 on Slackware-64 15
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,073
Rep:
This is indeed strange and I'm afraid I've run out of suggestions. DVDStyler compiles fine here on my Slackware64 -current. My libwx_gtk2u_media-3.2.so files in /usr/lib64 :
The only difference is that my libwx_gtk2u_media-3.2.so.0.2.1 file is slightly smaller than yours. As I've mentioned, my wxGTK3 package is built with AlienBob's script, no changes to the script except for version number.
What I think is the relevant part of my config.log file:
Might be worth checking your /tmp folder and see if the config.log (or any error files should they exist) can give a clue.
EDIT: even if build failures are frustrating and one wants to find a solution, there might be an easy way out. Ponce, aka Matteo Bernardini (who maintains the SBo script) also has a ready-made package in his repo. Maybe worth a try? See https://ponce.cc/slackware/slackware64-15.0/packages/
Do you have all the listed dependencies installed (libavc1394, libmspack, libquicktime, wxsvg, mjpegtools, mpgtx)? All to be found in Ponce's repo.
hi guys,
the packages from my personal repositories are not meant to be installed individually because there's no dependency resolution: I mean, you can do it, but if it works or not is up to you, it's explained in the README.
the dvdstyler package in that directory, for example, besides needing the dependencies from that repo listed by kgha above, is built (for personal testing) against wxWidgets so you have to install the wxWidgets package from the repository.
also, wxWidgets is built against the optional dependency webkit2gtk and so you have to install it together with its dependencies xdg-dbus-proxy, libwpe, wpebackend-fdo, geoclue2 and bubblewrap from that repo too.
note that dvdstyler has a minor (upstream) bug that I will note in its README: if, when launched, it doesn't find a ~/.dvdstyler directory where to save its preferences, instead of creating the missing directory it segfaults on exit not saving anything.
the temporary workaround, until upstream catches up, is to manually create the ~/.dvdstyler directory.
note that dvdstyler has a minor (upstream) bug that I will note in its README: if, when launched, it doesn't find a ~/.dvdstyler directory where to save its preferences, instead of creating the missing directory it segfaults on exit not saving anything.
the temporary workaround, until upstream catches up, is to manually create the ~/.dvdstyler directory.
I took the chance, installed the lot, nothing changed, go the exact same symbol error.
I have the restored .dvdstyler directory from my prior setup, so that should not be a problem.
I took the chance, installed the lot, nothing changed, go the exact same symbol error.
my only guess is that you have multiple version of wxWidgets/wxsvg installed, maybe also from source (so look in /usr/lib64 but also in /usr/local/lib*), laying around and it's trying to link to the wrong one when you launch the application.
Code:
ldd /usr/bin/dvdstyler | grep wx
should help identify which libraries is trying to link to.
My apologies for the delay, life insisted on happening.
I have made an interesting, also irritating, discovery.
I had a root bash shell running while I was poking around looking at links and such, when I tried invoking dvdstyler again because I was getting annoyed.
It ran.
I then tried running it in my normal user ID, I got the same cryptic error as before.
While running it from a root shell will suffice so I can catch up on some overdue projects, I'd prefer to get it running properly under a normal user ID.
I haven't actually tested this to completion yet, that is next. I'll come back in a day or three with the results.
In the mean time, does anyone have any idea what would cause this kind of behavior?
I've checked the obvious in that both shells are trying to invoke the same dvdstyler.
I then tried running it in my normal user ID, I got the same cryptic error as before.
Do you mean the error about not being able to load libwx_gtk3u_xrc-3.0.so.0?
Quote:
Originally Posted by MikeVx
In the mean time, does anyone have any idea what would cause this kind of behavior?
If things work for root but not your normal user I would guess that the difference is the contents of the environment variable LD_LIBRARY_PATH for those two accounts.
Do you see any difference in the output of:
Code:
ldd `which dvdstyler`
When run as root compared to when run as your normal user?
Do you mean the error about not being able to load libwx_gtk3u_xrc-3.0.so.0?
No, I get:
Code:
dvdstyler: symbol lookup error: dvdstyler: undefined symbol: _ZN12wxWindowBase14RegisterHotKeyEiii
Quote:
If things work for root but not your normal user I would guess that the difference is the contents of the environment variable LD_LIBRARY_PATH for those two accounts.
Bingo! I checdked. My root shell does not have the variable LD_LIBRARY_PATH. My regular user shell has one. When I blanked it, dvdstyler would run.
While not perfect, assuming I can complete a project with it, I can write a very small shell script to blank the LD_LIBRARY_PATH variable before calling dvdstyler until I can get a better answer.
Quote:
Do you see any difference in the output of:
Code:
ldd `which dvdstyler`
When run as root compared to when run as your normal user?
regards Henrik
The outputs are both identical and different. The listings of the affected files are the same, but the last field is different in each case.
I'll know later in the day if I can complete a project with it in this state. Thanks for getting me this far. I'd prefer to get it fully sorted, but I can live with it as long as it lets me make my discs. :-)
Edit: Forgot to put in that my user variable is:
Code:
LD_LIBRARY_PATH=/usr/local/lib
I suspect that if I find where this is being set and remove it, that should clear up my problem. Or it might make other things happen, but I'll burn that bridge when I come to it. :-) I can always put it back if I need it.
I was able to successfully generate a DVD. Thanks to all for the help. I'll see if I can track where the variable setting is coming from, but at leasty I can get my projects done. [Insert "Happy, happy, joy, joy" song here]
I've downloaded those and will look into them later. I had tried Q-Dvdauthor some years ago and it didn't fit for me, but I can give it another go. As for Brasero, I thought it was a media player, but I can install it and see what the possibilities are. Thanks for all the assistance.
I found this in other part of my notes. I've modified it to suit this thread. I haven't tried it today (it worked the last time I did tried it) but it's supposed to give us a non-menu dvd image that will play a video immediately in a dvd player. Refer to the dvdauthor link in my previous post if you wish to include more features.
Code:
One of these two commands:
ffmpeg -i input.mov -target ntsc-dvd output.mpg
ffmpeg -i input.mov -f dvd -target ntsc-dvd -r 30000/1001 -filter:v "scale='w=min(720,trunc((480*33/40*dar)/2+0.5)*2):h=min(480,trunc((720*40/33/dar)/2+0.5)*2)',pad='w=720:h=480:x=(ow-iw)/2:y=(oh-ih)/2',setsar='r=40/33'" output.mpg
export VIDEO_FORMAT=NTSC
dvdauthor -o <name_of_folder>/ -t <input>.mpg
dvdauthor -o <name_of_folder>/ -T
mkisofs -dvd-video -o dvd.iso <name_of_folder>/
Burn iso image to dvd disc with either cdrecord or k3b.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.