@angelochecked please retry with a up-to-date system.
Search Criteria
Package Details: libvlc-luajit 3.0.21-13
Package Actions
Git Clone URL: | https://aur.archlinux.org/vlc-luajit.git (read-only, click to copy) |
---|---|
Package Base: | vlc-luajit |
Description: | Multi-platform MPEG, VCD/DVD, and DivX player built with luajit for OBS Studio compatibility - library |
Upstream URL: | https://www.videolan.org/vlc/ |
Keywords: | luajit media obs obs-studio vlc |
Licenses: | GPL-2.0-or-later, LGPL-2.1-or-later |
Conflicts: | libvlc |
Provides: | libvlc |
Submitter: | tytan652 |
Maintainer: | tytan652 |
Last Packager: | tytan652 |
Votes: | 23 |
Popularity: | 1.36 |
First Submitted: | 2021-05-11 19:45 (UTC) |
Last Updated: | 2025-03-23 18:59 (UTC) |
Dependencies (108)
- dbus (dbus-gitAUR, dbus-selinuxAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR)
- a52dec (a52dec-gitAUR) (make)
- aalib (make)
- abseil-cpp (abseil-cpp-gitAUR) (make)
- alsa-lib (make)
- aom (aom-vmaf-gitAUR, aom-gitAUR, aom-av1-lavish-gitAUR, aom-psy101-gitAUR) (make)
- aribb24 (aribb24-gitAUR) (make)
- aribb25 (make)
- avahi (make)
- bash (bash-devel-static-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR) (make)
- cairo (cairo-gitAUR) (make)
- dav1d (dav1d-gitAUR) (make)
- dbus (dbus-gitAUR, dbus-selinuxAUR) (make)
- faad2 (faad2-gitAUR) (make)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, ffmpeg-amd-full-gitAUR, ffmpeg-full-gitAUR, ffmpeg-obsAUR, ffmpeg-headlessAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-libfdk_aacAUR, ffmpeg-amd-fullAUR) (make)
- flac (flac-gitAUR) (make)
- fluidsynth (fluidsynth-gitAUR) (make)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR) (make)
- Show 88 more dependencies...
Required by (5)
- arcan (requires libvlc)
- eaglemode-bin (requires libvlc)
- vlc-luajit
- wechat-bin (requires libvlc)
- yozo-office (requires libvlc)
Sources (5)
tytan652 commented on 2022-12-10 12:12 (UTC)
angelochecked commented on 2022-12-09 19:03 (UTC) (edited on 2022-12-09 19:05 (UTC) by angelochecked)
hi guys, I'm a new arch user and I'm not used to compiling stuff. i get this error when i tried to install vlc-luajit:
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `TLSState::write(char const*, unsigned int)':
(.text+0x3a): undefined reference to `SSL_write'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `TLSState::read(unsigned char*, unsigned int)':
(.text+0x4e): undefined reference to `SSL_read'
/usr/bin/ld: (.text+0x68): undefined reference to `SSL_get_error'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `TLSState::initLibrary()':
(.text+0xba): undefined reference to `OPENSSL_init_ssl'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `TLSState::reset()':
(.text+0xe9): undefined reference to `SSL_free'
/usr/bin/ld: (.text+0x100): undefined reference to `SSL_CTX_free'
/usr/bin/ld: (.text+0x116): undefined reference to `SSL_shutdown'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `ClientTLSState::setup(int)':
(.text+0x237): undefined reference to `TLS_client_method'
/usr/bin/ld: (.text+0x245): undefined reference to `SSL_CTX_new'
/usr/bin/ld: (.text+0x257): undefined reference to `SSL_new'
/usr/bin/ld: (.text+0x26a): undefined reference to `BIO_new_socket'
/usr/bin/ld: (.text+0x27a): undefined reference to `SSL_set_bio'
/usr/bin/ld: (.text+0x284): undefined reference to `SSL_set_connect_state'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `ClientTLSState::connect(int)':
(.text+0x2e4): undefined reference to `SSL_connect'
/usr/bin/ld: (.text+0x2f2): undefined reference to `SSL_get_error'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `ServerTLSState::setup(int)':
(.text+0x3f7): undefined reference to `TLS_server_method'
/usr/bin/ld: (.text+0x405): undefined reference to `SSL_CTX_new'
/usr/bin/ld: (.text+0x420): undefined reference to `SSL_CTX_use_certificate_file'
/usr/bin/ld: (.text+0x435): undefined reference to `ERR_print_errors_fp'
/usr/bin/ld: (.text+0x45f): undefined reference to `SSL_CTX_use_PrivateKey_file'
/usr/bin/ld: (.text+0x46e): undefined reference to `SSL_new'
/usr/bin/ld: (.text+0x481): undefined reference to `BIO_new_socket'
/usr/bin/ld: (.text+0x491): undefined reference to `SSL_set_bio'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `ServerTLSState::accept(int)':
(.text+0x4c3): undefined reference to `SSL_accept'
/usr/bin/ld: (.text+0x4d1): undefined reference to `SSL_get_error'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(SRTPCryptographicContext.o): in function `SRTPCryptographicContext::cryptData(SRTPCryptographicContext::derivedKeys&, unsigned long, unsigned int, unsigned char*, unsigned int)':
(.text+0x2f3): undefined reference to `EVP_CIPHER_CTX_new'
/usr/bin/ld: (.text+0x301): undefined reference to `EVP_aes_128_ecb'
/usr/bin/ld: (.text+0x312): undefined reference to `EVP_EncryptInit'
/usr/bin/ld: (.text+0x369): undefined reference to `EVP_EncryptUpdate'
/usr/bin/ld: (.text+0x3bd): undefined reference to `EVP_CIPHER_CTX_free'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(SRTPCryptographicContext.o): in function `SRTPCryptographicContext::deriveSingleKey(unsigned char const*, unsigned char const*, SRTPCryptographicContext::SRTPKeyDerivationLabel, unsigned int, unsigned char*)':
(.text+0xa37): undefined reference to `EVP_CIPHER_CTX_new'
/usr/bin/ld: (.text+0xa45): undefined reference to `EVP_aes_128_ecb'
/usr/bin/ld: (.text+0xa56): undefined reference to `EVP_EncryptInit'
/usr/bin/ld: (.text+0xaef): undefined reference to `EVP_EncryptUpdate'
/usr/bin/ld: (.text+0xafd): undefined reference to `EVP_CIPHER_CTX_free'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(HMAC_SHA1.o): in function `sha1(unsigned char*, unsigned char const*, unsigned int, unsigned char const*, unsigned int)':
(.text+0x1e): undefined reference to `EVP_MD_CTX_new'
/usr/bin/ld: (.text+0x27): undefined reference to `EVP_sha1'
/usr/bin/ld: (.text+0x33): undefined reference to `EVP_DigestInit'
/usr/bin/ld: (.text+0x41): undefined reference to `EVP_DigestUpdate'
/usr/bin/ld: (.text+0x55): undefined reference to `EVP_DigestUpdate'
/usr/bin/ld: (.text+0x63): undefined reference to `EVP_DigestFinal'
/usr/bin/ld: (.text+0x7a): undefined reference to `EVP_MD_CTX_free'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(HMAC_SHA1.o): in function `HMAC_SHA1(unsigned char const*, unsigned int, unsigned char const*, unsigned int, unsigned char*)':
(.text+0x236): undefined reference to `EVP_MD_CTX_new'
/usr/bin/ld: (.text+0x23f): undefined reference to `EVP_sha1'
/usr/bin/ld: (.text+0x24b): undefined reference to `EVP_DigestInit'
/usr/bin/ld: (.text+0x259): undefined reference to `EVP_DigestUpdate'
/usr/bin/ld: (.text+0x26f): undefined reference to `EVP_DigestFinal'
/usr/bin/ld: (.text+0x278): undefined reference to `EVP_MD_CTX_free'
collect2: error: ld returned 1 exit status
what can be the problem? before that i installed the package: davinci-resolve, can be the problem?
tytan652 commented on 2022-07-20 18:46 (UTC) (edited on 2022-07-20 18:53 (UTC) by tytan652)
I just forgot to remove the optional deps.
And latest versions VLC 3 do support being built with FFmpeg 5 just without VAAPI.
https://code.videolan.org/videolan/vlc/-/merge_requests/1245
Sorry to disappoint you but I stick with FFmpeg 5.
I forgot to specify that on Arch Linux side ffmpeg4.4
will be progressively phased out.
HurricanePootis commented on 2022-07-20 17:34 (UTC) (edited on 2022-07-20 17:43 (UTC) by HurricanePootis)
I'm rather confused by the fact that while this package lists VAAPI drivers as optional dependencies, and at line 266 --enable-libva
is listed, why at line 335 is there a conflicting --disable-libva
?
EDIT: So, vlc 3.0x is not supposed to be built with ffmpeg 5, which your package is doing incorrectly. If you look at the official VLC package, they use ffmpeg4.4 because VAAPI won't work with VLC on ffmpeg5, and even the official vlc developers said they have no plans to support ffmpeg5 on the vlc 3.0 branch here.
Here is a patch file to build with ffmpeg4.4 and re-enable VAAPI
diff --git a/PKGBUILD b/PKGBUILD
index 7cd6f81..e23965b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ _vlcver=3.0.17.4
# optional fixup version including hyphen
_vlcfixupver=
pkgver=${_vlcver}${_vlcfixupver//-/.r}
-pkgrel=8
+pkgrel=9
pkgdesc='Multi-platform MPEG, VCD/DVD, and DivX player built with luajit for OBS Studio compatibility'
url='https://www.videolan.org/vlc/'
arch=('i686' 'x86_64' 'aarch64')
@@ -26,7 +26,7 @@ depends=(
'a52dec' 'libdvbpsi' 'libxpm' 'libdca' 'libproxy' 'luajit' 'libidn'
'libmatroska' 'taglib' 'libmpcdec' 'faad2' 'libmad'
'libmpeg2' 'xcb-util-keysyms' 'libtar' 'libxinerama' 'libsecret'
- 'libarchive' 'qt5-base' "ffmpeg>=5"
+ 'libarchive' 'qt5-base' "ffmpeg4.4"
'qt5-x11extras' 'qt5-svg' 'freetype2' 'fribidi' 'harfbuzz'
'fontconfig' 'libxml2' 'gnutls' 'libplacebo' 'wayland-protocols'
)
@@ -233,6 +233,7 @@ build() {
export LUA_LIBS="$(pkg-config --libs luajit)"
export LUA_CFLAGS="$(pkg-config --cflags luajit)"
export RCC=/usr/bin/rcc-qt5
+ export PKG_CONFIG_PATH="/usr/lib/ffmpeg4.4/pkgconfig/:$PKG_CONFIG_PATH"
./configure \
--prefix=/usr \
Alkaris commented on 2022-06-26 03:21 (UTC)
Why is it this package has to conflict with itself. vlc-luajit
is required by OBS, but when you go to install VLC, it complains its in conflict with itself, despite the fact it's the exact same package used by OBS, and wants to uninstall itself when trying to install VLC. Instead I have to jump through hoops to ignore the vlc-luajit
package altogether by extracting the package and adding an ignore rule to it. Because if I don't do that, it fucks with OBS that's already installed, preventing OBS from working at all.
lwg-galuise commented on 2022-05-06 19:54 (UTC)
That worked! Thank you thank you thank you very much!
tytan652 commented on 2022-05-06 19:00 (UTC)
@lwg-galuise I just happen to have pushed the fix with the 3.0.17.4-5
lwg-galuise commented on 2022-05-06 18:53 (UTC) (edited on 2022-05-06 18:55 (UTC) by lwg-galuise)
I can't seem to get this to build. It's complaining about the dav1d encoder code:
In file included from codec/dav0d.c:33:
codec/dav0d.c: In function ‘vlc_entry__3_0_0f’:
codec/dav0d.c:66:57: error: ‘DAV1D_MAX_FRAME_THREADS’ undeclared (first use in this function); did you mean ‘DAV1D_MAX_THREADS’?
65 | add_integer_with_range("dav1d-thread-frames", 0, 0, DAV1D_MAX_FRAME_THREADS,
| ^~~~~~~~~~~~~~~~~~~~~~~
../include/vlc_plugin.h:245:54: note: in definition of macro ‘vlc_config_set’
245 | #define vlc_config_set(...) vlc_set (opaque, config, __VA_ARGS__)
| ^~~~~~~~~~~
../include/vlc_plugin.h:433:5: note: in expansion of macro ‘change_integer_range’
433 | change_integer_range( i_min, i_max )
| ^~~~~~~~~~~~~~~~~~~~
codec/dav0d.c:66:5: note: in expansion of macro ‘add_integer_with_range’
65 | add_integer_with_range("dav1d-thread-frames", 0, 0, DAV1D_MAX_FRAME_THREADS,
| ^~~~~~~~~~~~~~~~~~~~~~
codec/dav0d.c:66:57: note: each undeclared identifier is reported only once for each function it appears in
65 | add_integer_with_range("dav1d-thread-frames", 0, 0, DAV1D_MAX_FRAME_THREADS,
| ^~~~~~~~~~~~~~~~~~~~~~~
I did try swapping out the "extra/dav1d 1.0.0-1" Arch package for https://aur.archlinux.org/packages/dav1d-git to no avail.
ArchBoxHero commented on 2022-03-01 17:10 (UTC) (edited on 2022-03-01 17:12 (UTC) by ArchBoxHero)
Thanks for the info @tytan652. I have no issue getting it to build manually replacing the "ffmpeg" version to the "ffmpeg-amd-full" version and looks good.
Pinned Comments