You are not logged in.
Pages: 1
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
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
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
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
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
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
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. 
Offline
No problem
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 
Offline
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
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
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
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
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
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
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
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
I don't quite understand, should I do something else?
Offline
I don't know what to tell you. I'm a fish out of water!
Offline
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
Interesting, but it doesn't work for me. Oh well, let's forget it!
Offline
Pages: 1
[ Generated in 0.022 seconds, 7 queries executed - Memory usage: 1.59 MiB (Peak: 1.77 MiB) ]