SliTaz SliTaz Forum

You are not logged in.

#1 2024-08-24 15:22:15

NarakuITA
Member
Registered: 2024-08-07
Posts: 91

VLC won't start

I have a problem with VLC. I would like to make this program work. But once installed here is the error that appears in the Terminal (Very strange, because on the distribution, which I had tried before Slitaz, i.e. Q4OS VLC started without problems):

I attach a .txt file because the text is too much and I don't want the forum to block me again by detecting my spam conversations.

https://easyupload.io/xkocwl

Offline

#2 2024-08-24 20:01:01

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: VLC won't start

Hi NarakuITA,

Infact i test cooking, seem vlc is broken sad.

Let's me check how to fix.

Offline

#3 2024-08-25 13:47:21

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: VLC won't start

Hi NarakuITA,

I retry to build vlc, found why vlc broken.

3.0.10 required Qt5 to have gui, but we try to build with qt4.

Build in progress on my local env with Qt5, and check it.

If work as expected, update receipt to build it on cook and push on mirror.

Offline

#4 2024-08-25 15:24:52

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: VLC won't start

Need to rework vlc receipt and Qt5 package for libs.

But VLC work again

[attachment=52731,3637]

Offline

#5 2024-08-25 15:43:31

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: VLC won't start

I check wok history and found what happen.

vlc 3.0.8 build work with qt4.

vlc has been bump to 3.0.10, build with qt4 seem work until 13th March 2022, build failed with libcaca.

I have same error, i remove it; because libcaca is unmaintained and have security issue.

Build with qt4 work, but if understand logs both 3.0.8 / 3.0.10 required qt5 for gui

Offline

#6 2024-08-25 19:39:06

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: VLC won't start

sad

Not sure understand what happen, i try to build vlc on cooking (previously i build it for current64).

Compile failed about extended_panels.cpp issue

make[4]: *** [Makefile:25146: gui/qt/components/libqt_plugin_la-extended_panels.lo] Error 1

make[4]: *** Waiting for unfinished jobs....

[...]

make[4]: Leaving directory '${src}/modules'

make[3]: *** [Makefile:27631: all-recursive] Error 1

make[3]: Leaving directory '${src}/modules'

make[2]: *** [Makefile:12590: all] Error 2

make[2]: Leaving directory '${src}/modules'

make[1]: *** [Makefile:1560: all-recursive] Error 1

make[1]: Leaving directory '${src}'

make: *** [Makefile:1445: all] Error 2

================================================================================

Offline

#7 2024-08-26 09:37:20

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: VLC won't start

Hi,

I try to compile vlc also on current (32bits), no found issue.

I try to compile vlc on local cooking env, same issue.

found issue when build qt5, gdk-pixbuf complain miss libjpeg.so.9

related to libjpeg-turbo have PROVIDE="libjpeg", i adjust qt5 receipt to ensure with have libjpeg to avoid race condition.

I do same build order than current 32bits, need more investigate why we have issue.

vlc receipt use gcc83, qt5 also.

On current we have gcc 8.3.0 as default gcc, don't see significant diff on vlc/qt5 receipt.

Offline

#8 2024-08-26 11:27:43

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: VLC won't start

After search could be related to old glibc.

https://stackoverflow.com/questions/14535556/why-doesnt-priu64-work-in-this-code

https://github.com/WAVM/WAVM/pull/266

Check to build vlc with [c]export CPPFLAGS="$CPPFLAGS -D__STDC_FORMAT_MACROS"[/c]

Offline

#9 2024-08-26 11:41:01

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: VLC won't start

Build successfully with workaround.

I push, build in progress on cook

Offline

#10 2024-08-26 11:46:04

NarakuITA
Member
Registered: 2024-08-07
Posts: 91

Re: VLC won't start

Don't worry, I'll wait for you to solve the problem. Unfortunately I can't help you since I just arrived here, and I use linux. smile

Offline

#11 2024-08-26 12:33:54

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: VLC won't start

No problem smile

Build done on cook.

Packages available here :

https://cook.slitaz.org/cooker.cgi?download=vlc-3.0.10.tazpkg

https://cook.slitaz.org/cooker.cgi?download=libvlc-3.0.10.tazpkg

Could be install manually (without wait mirror sync) :

wget https://cook.slitaz.org/cooker.cgi?download=vlc-3.0.10.tazpkg -O vlc-3.0.10.tazpkg

wget https://cook.slitaz.org/cooker.cgi?download=libvlc-3.0.10.tazpkg -O libvlc-3.0.10.tazpkg

su -c "tazpkg -i libvlc-3.0.10.tazpkg"

su -c "tazpkg -i vlc-3.0.10.tazpkg"

Enjoy listen media smile

Offline

#12 2024-08-26 12:42:13

NarakuITA
Member
Registered: 2024-08-07
Posts: 91

Re: VLC won't start

I can't install them, because it says I already have them installed.

I tried on

su -c "tazpkg -i libvlc-3.0.10.tazpkg" --forced

but it doesn't work. I'm definitely doing something wrong, what was the correct command to force the installation?

Offline

#13 2024-08-26 12:52:16

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: VLC won't start

arf infact in your case already installed.

should be :

su -c "tazpkg -i libvlc-3.0.10.tazpkg --forced"

su -c "tazpkg -i vlc-3.0.10.tazpkg --forced"

[c]"[/c] as to delimit command to be run, in you case --forced don't have effet because [c]--forced[/c] not in command.

Offline

#14 2024-08-26 12:54:45

NarakuITA
Member
Registered: 2024-08-07
Posts: 91

Re: VLC won't start

Ok, I figured out what I was doing wrong. Installed everything. But it doesn't work. Now the error has changed: Segmentation fault.

vlc[2033]: segfault at b27e8bae ip b1d6cb24 sp bfbca96c error 7 in libQt5Core.so.5.14.2[b1c9d000+365000]

vlc[2058]: segfault at b27b0bae ip b1d34b24 sp bfdd48dc error 7 in libQt5Core.so.5.14.2[b1c65000+365000] has changed: Segmentation fault.

Offline

#15 2024-08-26 16:38:47

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: VLC won't start

hmm that strange,

When i check, do test on qemu with rolling.

I do test on my dell x300 with rolling, to have same condition that you.

i'm install vlc / libvlc, and install new packages of vlc/libvlc.

It's work.

Maybe you can try to reinstall libQt5Core.

[c]su -c "tazpkg -gi libQt5Core --forced[/c]

[attachment=52743,3638]

Offline

#16 2024-08-26 17:34:58

NarakuITA
Member
Registered: 2024-08-07
Posts: 91

Re: VLC won't start

Same error: Segmentation fault. I have no idea why I did everything as you said. If it doesn't

give you this error, I don't know why!

EDIT:

Here is the command error: dmesg | grep -i segfault:

vlc[2031]: segfault at b27b6bae ip b1d3ab24 sp bffcc94c error 7 in libQt5Core.so.5.14.2[b1c6b000+365000]

vlc[14267]: segfault at b25f4bae ip b1b78b24 sp bfbb04ec error 7 in libQt5Core.so.5.14.2[b1aa9000+365000]

vlc[14268]: segfault at b2600bae ip b1b84b24 sp bfd6870c error 7 in libQt5Core.so.5.14.2[b1ab5000+365000]

Since it is a Qt5 Libraries problem I wanted to check with the command:

tazpkg list | grep qt5

But it did not report any message.

The command "tazpkg list | grep qt5" did not report any message, it means that there are no Qt5 packages installed according to the tazpkg package manager. However, this package was installed manually because the segmentation fault specifically mentions libQt5Core.so.5.14.2. So I do not understand why vlc does not see it.

Then I wanted to check manually:

find /usr/lib/ -name "libQt5Core.so*"

But it appeared "directory or file does not exist".

I went to search for the directory:

"ls /usr/" then "ls /usr/lib/"

and finally: find /lib/ -name "libQt5Core.so*" did not report any message. As if it was not present in the system. However, the segmentation fault reported by dmesg implies that VLC is trying to use this library.

There are two possibilities:

VLC was compiled with Qt5 support, but the libraries are missing: This could cause VLC to crash when it tries to use the Qt5 interface.

OR

VLC setup or installation is incomplete or corrupt: It could be that some components needed to run VLC are missing.

However, VLC has been reinstalled several times.

I can't tell you more.

Offline

#17 2024-08-26 19:24:33

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: VLC won't start

qt5 is meta package for build, libs split on libQt5*.

For vlc, he depend of qt5 for gui.

vlc install this libs to satisfy dependencies :

libQt5Core

libQt5DBus

libQt5Gui

libQt5Network

libQt5Svg

libQt5Widgets

libQt5X11Extras

libQt5Xcb

libQt5Xml

That strange on your case we don't found libQt5Core.so (normally you have libQt5Core installed).

root@slitaz:~# find /usr/lib/ -name "libQt5Core.so*"

/usr/lib/libQt5Core.so.5

/usr/lib/libQt5Core.so

/usr/lib/libQt5Core.so.5.14.2

/usr/lib/libQt5Core.so.5.14

Infact, at time vlc on mirror don't have libQt5 depends, but new packages build is right.

That why i send links to install new packages of vlc.

Can you please post result of [c]tazpkg -l | grep libQt5[/c]

Offline

#18 2024-08-27 19:44:53

NarakuITA
Member
Registered: 2024-08-07
Posts: 91

Re: VLC won't start

tazpkg -l | grep libQt5:

libQt5Core                         5.14.2            development

libQt5DBus                         5.14.2            development

libQt5Gui                          5.14.2            development

libQt5Network                      5.14.2            development

libQt5Svg                          5.14.2            development

libQt5Widgets                      5.14.2            development

libQt5X11Extras                    5.14.2            development

libQt5Xcb                          5.14.2            development

libQt5Xml                          5.14.2            development

Offline

#19 2024-08-29 08:37:51

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: VLC won't start

Hi NarakuITA,

thanks, in case that's strange, you have all deps installed.

And vlc package you have installed are same as available on mirror (sync since).

Only think i see when build and test vlc with Qt5, it's miss dep of icu / fribidi but it's include as dep on vlc package.

=> vlc run as cli because without icu / fribidi, can't run gui but don't see any segfault during my test (both qemu / real device).

Offline

#20 2024-08-30 06:56:28

NarakuITA
Member
Registered: 2024-08-07
Posts: 91

Re: VLC won't start

I don't quite understand, should I do something else?

Offline

#21 2024-09-02 10:51:34

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: VLC won't start

Hi NarakuITA,

No action do on your side.

You seem have all packages needed, i don't understand why you have segfault on libQt5Core.

Offline

#22 2024-09-10 18:39:07

NarakuITA
Member
Registered: 2024-08-07
Posts: 91

Re: VLC won't start

I don't know what to tell you. I'm a fish out of water!

Offline

#23 2024-09-12 07:19:33

Rantanplan
Member
Registered: 2022-06-06
Posts: 187

Re: VLC won't start

Hi everybody and @Shann and @NarakuITA

for me, with SliTaz GNU/Linux - 5.0-RC4 20240317 (after applying releases), vlc runs normally.

I did download & install libvlc & vlc via "Tableau de bord SliTaz".

In the menu, I find "VLC lecteur multimédia".

When I click on, vlc runs (see joined picture).

My config :

SliTaz live-USB on laptop packard-bell bv mz35 1 Go RAM + 2 Go swap CPU 1467 Mhz - kernel 3.16.55

Best regards.

[attachment=52779,3640]

Offline

#24 2024-09-13 12:21:49

NarakuITA
Member
Registered: 2024-08-07
Posts: 91

Re: VLC won't start

Interesting, but it doesn't work for me. Oh well, let's forget it!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.022 seconds, 7 queries executed - Memory usage: 1.59 MiB (Peak: 1.77 MiB) ]