LinuxQuestions.org
Visit Jeremy's Blog.
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 07-29-2023, 03:22 AM   #16
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,073

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746

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 :
Code:
lrwxrwxrwx   1 root root        26 Jul 07 18:44 libwx_gtk2u_media-3.2.so -> libwx_gtk2u_media-3.2.so.0
lrwxrwxrwx   1 root root        30 Jul 07 18:44 libwx_gtk2u_media-3.2.so.0 -> libwx_gtk2u_media-3.2.so.0.2.1
-rwxr-xr-x   1 root root     85160 Jul 07 18:21 libwx_gtk2u_media-3.2.so.0.2.1
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:

Code:
configure:7992: checking for wx-config
configure:8016: found /usr/bin/wx-config
configure:8029: result: /usr/bin/wx-config
configure:8044: checking for wxWidgets version >= 3.0.0
configure:8090: result: yes (version 3.2.2)
configure:8094: checking for wxWidgets static library
configure:8098: result: no
configure:8242: checking for wxWidgets media
configure:8256: g++ -o conftest -O2 -fPIC -DNDEBUG -fno-strict-aliasing  -I/usr/lib64/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread   -I/usr/lib64/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__   conftest.cpp  -L/usr/lib64 -pthread   -lwx_gtk3u_html-3.2 -lwx_gtk3u_core-3.2 -lwx_baseu_net-3.2 -lwx_gtk3u_media-3.2 -lwx_baseu-3.2   >&5
configure:8256: $? = 0
configure:8264: result: yes
configure:8274: checking for libavformat >= 53.20.0 libavcodec >= 53.34.0 libavutil libswscale libavfilter >= 2.15.0
configure:8281: $PKG_CONFIG --exists --print-errors "libavformat >= 53.20.0 libavcodec >= 53.34.0 libavutil libswscale libavfilter >= 2.15.0"
configure:8284: $? = 0
configure:8298: $PKG_CONFIG --exists --print-errors "libavformat >= 53.20.0 libavcodec >= 53.34.0 libavutil libswscale libavfilter >= 2.15.0"
configure:8301: $? = 0
configure:8359: result: yes
configure:8365: checking for libavformat/avformat.h
configure:8365: g++ -c -O2 -fPIC -DNDEBUG -fno-strict-aliasing  -I/usr/lib64/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread    -I/usr/lib64/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  conftest.cpp >&5
configure:8365: $? = 0
configure:8365: result: yes
configure:8380: checking for libwxsvg >= 1.5.23
configure:8387: $PKG_CONFIG --exists --print-errors "libwxsvg >= 1.5.23"
configure:8390: $? = 0
configure:8404: $PKG_CONFIG --exists --print-errors "libwxsvg >= 1.5.23"
configure:8407: $? = 0
configure:8445: result: yes
configure:8449: checking for wxSVG library with ffmpeg/libav support
configure:8463: g++ -o conftest -O2 -fPIC -DNDEBUG -fno-strict-aliasing  -I/usr/lib64/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread    -I/usr/lib64/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__   conftest.cpp  -L/usr/lib64 -pthread   -lwx_gtk3u_html-3.2 -lwx_gtk3u_core-3.2 -lwx_baseu_net-3.2 -lwx_gtk3u_media-3.2 -lwx_baseu-3.2   -lavformat -lavcodec -lavutil -lswscale -lavfilter -lwxsvg >&5
configure:8463: $? = 0
configure:8471: result: yes
configure:8480: checking if wxWindows was linked with GTK2 or GTK3
configure:8488: result: yes
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/

Last edited by kgha; 07-29-2023 at 09:46 AM.
 
Old 08-04-2023, 10:24 PM   #17
MikeVx
Member
 
Registered: Feb 2003
Posts: 76

Original Poster
Rep: Reputation: 1
I grabbed the Ponce package. At first I got

Code:
dvdstyler: error while loading shared libraries: libwx_gtk3u_xrc-3.0.so.0: cannot open shared object file: No such file or directory
After I installed wxGTK-3.0.5 again, I got
Code:
dvdstyler: symbol lookup error: dvdstyler: undefined symbol: _ZN12wxWindowBase14RegisterHotKeyEiii
I'm not sure if this is progress.
 
Old 08-05-2023, 02:17 AM   #18
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,073

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
Do you have all the listed dependencies installed (libavc1394, libmspack, libquicktime, wxsvg, mjpegtools, mpgtx)? All to be found in Ponce's repo.
 
Old 08-05-2023, 02:32 AM   #19
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179
Quote:
Originally Posted by kgha View Post
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.

EDIT: if you feel brave and want to test some packages I suggest you go with these I just built
https://ponce.cc/slackware/testing/dvdstyler_packages/

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.

Last edited by ponce; 08-05-2023 at 03:14 AM.
 
1 members found this post helpful.
Old 08-07-2023, 08:50 PM   #20
MikeVx
Member
 
Registered: Feb 2003
Posts: 76

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ponce View Post
EDIT: if you feel brave and want to test some packages I suggest you go with these I just built
https://ponce.cc/slackware/testing/dvdstyler_packages/

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.
 
Old 08-07-2023, 11:50 PM   #21
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179
Quote:
Originally Posted by MikeVx View Post
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.

Code:
$ ldd /usr/bin/dvdstyler | grep wx
        libwx_gtk3u_html-3.2.so.0 => /usr/lib64/libwx_gtk3u_html-3.2.so.0 (0x00007f512d5b1000)
        libwx_gtk3u_core-3.2.so.0 => /usr/lib64/libwx_gtk3u_core-3.2.so.0 (0x00007f512ca00000)
        libwx_baseu_net-3.2.so.0 => /usr/lib64/libwx_baseu_net-3.2.so.0 (0x00007f512d52e000)
        libwx_gtk3u_media-3.2.so.0 => /usr/lib64/libwx_gtk3u_media-3.2.so.0 (0x00007f512d50f000)
        libwx_baseu-3.2.so.0 => /usr/lib64/libwx_baseu-3.2.so.0 (0x00007f512c600000)
        libwxsvg.so.3 => /usr/lib64/libwxsvg.so.3 (0x00007f512c483000)
        libwx_gtk3u_xrc-3.2.so.0 => /usr/lib64/libwx_gtk3u_xrc-3.2.so.0 (0x00007f5123822000)
        libwx_gtk3u_qa-3.2.so.0 => /usr/lib64/libwx_gtk3u_qa-3.2.so.0 (0x00007f5124c60000)
        libwx_baseu_xml-3.2.so.0 => /usr/lib64/libwx_baseu_xml-3.2.so.0 (0x00007f51264c5000)
$ ls -la /usr/lib64/libwx_gtk3u_html-3.2.so.0 /usr/lib64/libwx_gtk3u_core-3.2.so.0 /usr/lib64/libwx_baseu_net-3.2.so.0 /usr/lib64/libwx_gtk3u_media-3.2.so.0 /usr/lib64/libwx_baseu-3.2.so.0 /usr/lib64/libwxsvg.so.3 /usr/lib64/libwx_gtk3u_xrc-3.2.so.0 /usr/lib64/libwx_gtk3u_qa-3.2.so.0 /usr/lib64/libwx_baseu_xml-3.2.so.0
lrwxrwxrwx 1 root root 24 ago  5 09:59 /usr/lib64/libwx_baseu-3.2.so.0 -> libwx_baseu-3.2.so.0.2.1
lrwxrwxrwx 1 root root 28 ago  5 09:59 /usr/lib64/libwx_baseu_net-3.2.so.0 -> libwx_baseu_net-3.2.so.0.2.1
lrwxrwxrwx 1 root root 28 ago  5 09:59 /usr/lib64/libwx_baseu_xml-3.2.so.0 -> libwx_baseu_xml-3.2.so.0.2.1
lrwxrwxrwx 1 root root 29 ago  5 09:59 /usr/lib64/libwx_gtk3u_core-3.2.so.0 -> libwx_gtk3u_core-3.2.so.0.2.1
lrwxrwxrwx 1 root root 29 ago  5 09:59 /usr/lib64/libwx_gtk3u_html-3.2.so.0 -> libwx_gtk3u_html-3.2.so.0.2.1
lrwxrwxrwx 1 root root 30 ago  5 09:59 /usr/lib64/libwx_gtk3u_media-3.2.so.0 -> libwx_gtk3u_media-3.2.so.0.2.1
lrwxrwxrwx 1 root root 27 ago  5 09:59 /usr/lib64/libwx_gtk3u_qa-3.2.so.0 -> libwx_gtk3u_qa-3.2.so.0.2.1
lrwxrwxrwx 1 root root 28 ago  5 09:59 /usr/lib64/libwx_gtk3u_xrc-3.2.so.0 -> libwx_gtk3u_xrc-3.2.so.0.2.1
lrwxrwxrwx 1 root root 18 ago  5 09:59 /usr/lib64/libwxsvg.so.3 -> libwxsvg.so.3.12.8

Last edited by ponce; 08-08-2023 at 12:15 AM.
 
Old 08-15-2023, 09:28 PM   #22
MikeVx
Member
 
Registered: Feb 2003
Posts: 76

Original Poster
Rep: Reputation: 1
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.
 
Old 08-16-2023, 12:52 AM   #23
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 978

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Quote:
Originally Posted by MikeVx View Post
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 View Post
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?

regards Henrik
 
1 members found this post helpful.
Old 08-16-2023, 10:20 AM   #24
MikeVx
Member
 
Registered: Feb 2003
Posts: 76

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by henca View Post
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.

Code:
        libavformat.so.58 => /usr/lib64/libavformat.so.58 (0x00007fb2de366000)                 │        libavformat.so.58 => /usr/lib64/libavformat.so.58 (0x00007f1da1c00000)
        libavcodec.so.58 => /usr/lib64/libavcodec.so.58 (0x00007fb2dd075000)                   │        libavcodec.so.58 => /usr/lib64/libavcodec.so.58 (0x00007f1da090f000)
        libavutil.so.56 => /usr/lib64/libavutil.so.56 (0x00007fb2dcdce000)                     │        libavutil.so.56 => /usr/lib64/libavutil.so.56 (0x00007f1da0668000)
        libswscale.so.5 => /usr/lib64/libswscale.so.5 (0x00007fb2dcd3d000)                     │        libswscale.so.5 => /usr/lib64/libswscale.so.5 (0x00007f1da05d7000)
        libavfilter.so.7 => /usr/lib64/libavfilter.so.7 (0x00007fb2dc92e000)                   │        libavfilter.so.7 => /usr/lib64/libavfilter.so.7 (0x00007f1da01c8000)
Left is root shell, right is user shell.

Gotta love TMUX.

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.

Last edited by MikeVx; 08-16-2023 at 02:31 PM.
 
Old 08-16-2023, 07:29 PM   #25
MikeVx
Member
 
Registered: Feb 2003
Posts: 76

Original Poster
Rep: Reputation: 1
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]
 
Old 08-17-2023, 12:30 AM   #26
pmv
Member
 
Registered: Apr 2018
Location: Germany
Distribution: OpenSuSE 15.4 Ubuntu 20.04 Archlinux 2022.08.05 Slackware 15.0
Posts: 87
Blog Entries: 5

Rep: Reputation: 31
Alternative to dvdstyler is qdvdauthor.
 
Old 08-17-2023, 01:25 AM   #27
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,073

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
Another alternative: https://slackbuilds.org/repository/15.0/system/brasero
 
Old 08-17-2023, 11:55 AM   #28
MikeVx
Member
 
Registered: Feb 2003
Posts: 76

Original Poster
Rep: Reputation: 1
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.
 
Old 08-17-2023, 06:15 PM   #29
SW64
Member
 
Registered: May 2014
Distribution: Slackware
Posts: 262

Rep: Reputation: 123Reputation: 123
I haven't worked with DVDs in years but Slackware 15 comes with dvdauthor and mkisofs. Check out their man pages.

Too many dead links in my old notes (so I'm missing some step-by-steps in my notes) but here's one that is still active: https://docs.salixos.org/wiki/How_to...e_command_line

ffmpeg gave me high quality mpegs that I've use in dvd authoring programs. Here are a couple ffmpeg examples from my old notes.
Code:
ffmpeg -i input.mov -target ntsc-dvd output.mpg

ffmpeg -i input.mov -f dvd -target ntsc-dvd -r 30000/1001 -filter:v "scale='if(gt(a,720/480),720,-1)':'if(gt(a,720/480),-1,480)',pad=w=720:h=480:x=(ow-iw)/2:y=(oh-ih)/2" output.mpg
And there is this one: https://dvdauthor.sourceforge.net/doc/index.html

Also, winff has DVD presets to make the mpeg videos with for use in dvd-authoring programs.

Last edited by SW64; 08-17-2023 at 06:30 PM.
 
Old 08-17-2023, 06:45 PM   #30
SW64
Member
 
Registered: May 2014
Distribution: Slackware
Posts: 262

Rep: Reputation: 123Reputation: 123
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.
 
  


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
[SOLVED] DVDStyler doesn't compile. TheNutCase Slackware 3 11-18-2017 12:40 AM
DVDStyler and creating a video menu Harp00 Linux - Software 5 09-21-2009 02:41 AM
mplex error with dvdstyler rino.caldelli Linux - Software 1 10-31-2005 09:55 AM
DVD Menus with QDVDAuthor/DVDStyler zba78 Linux - Software 6 10-30-2005 10:58 PM
no audio with dvdstyler z9_87 Linux - Software 1 04-02-2005 11:07 PM

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

All times are GMT -5. The time now is 10:42 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