LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-19-2017, 02:32 PM   #1
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Debian
Posts: 517

Rep: Reputation: 108Reputation: 108
VLC Segmenation Error


I build vlc with slckbuilds.org slackbuilds and I am getting this error:

$ vlc
VLC media player 3.0.0-git Vetinari (revision 2.2.0-git-12050-g8268fe0)
Segmentation fault

All my packages are up-to-date and I installed all the dependencies, except chromapaint, but the vlc dependencies are optional.

I downloaded and installed Alien Bob package for v2.2.4 and it works fine, but I prefer to have build from slackbuilds.org because it is simpler to manage packages/builds from one repository.

I install requiredbuilder to check if I have all the dependencies, and I got this:

Quote:
$ requiredbuilder -i vlc
ldd /usr/lib64/vlc/plugins/video_filter/libopencv_wrapper_plugin.so: libavformat.so.56 => not found
ldd /usr/lib64/vlc/plugins/video_filter/libopencv_wrapper_plugin.so: libavutil.so.54 => not found
ldd /usr/lib64/vlc/plugins/video_filter/libopencv_wrapper_plugin.so: libavresample.so.2 => not found
ldd /usr/lib64/vlc/plugins/video_filter/libopencv_wrapper_plugin.so: libavformat.so.56 => not found
ldd /usr/lib64/vlc/plugins/video_filter/libopencv_wrapper_plugin.so: libavutil.so.54 => not found
ldd /usr/lib64/vlc/plugins/video_filter/libopencv_wrapper_plugin.so: libavresample.so.2 => not found
ldd /usr/lib64/vlc/plugins/video_filter/libopencv_example_plugin.so: libavformat.so.56 => not found
ldd /usr/lib64/vlc/plugins/video_filter/libopencv_example_plugin.so: libavutil.so.54 => not found
ldd /usr/lib64/vlc/plugins/video_filter/libopencv_example_plugin.so: libavresample.so.2 => not found
ldd /usr/lib64/vlc/plugins/video_filter/libopencv_example_plugin.so: libavformat.so.56 => not found
ldd /usr/lib64/vlc/plugins/video_filter/libopencv_example_plugin.so: libavutil.so.54 => not found
ldd /usr/lib64/vlc/plugins/video_filter/libopencv_example_plugin.so: libavresample.so.2 => not found
a52dec
acl
alsa-lib
atk
attr
bzip2
cairo
celt
cyrus-sasl
db48
dbus
eudev
expat
faad2
ffmpeg
flac
fluidsynth
fontconfig
freeglut
freetype
fribidi
ftgl
gcc
gcc-g++
gdk-pixbuf2
glew
glib2
glibc-solibs
glu
gmp
gnutls
gsm
gst-plugins-base
gstreamer
gtk+2
harfbuzz
icu4c
ilmbase
jack-audio-connection-kit
jasper
json-c
lame
libICE
libSM
libX11
libXau
libXcomposite
libXcursor
libXdamage
libXdmcp
libXext
libXfixes
libXi
libXinerama
libXpm
libXrandr
libXrender
libXtst
libXxf86vm
libarchive
libass
libasyncns
libavc1394
libbluray
libcaca
libcap
libcddb
libcroco
libdc1394
libdca
libdrm
libdvbpsi
libdvdnav
libdvdread
libebml
libexif
libfdk-aac
libffi
libgcrypt
libgme
libgpg-error
libgphoto2
libidn
libilbc
libjpeg-turbo
libkate
libmad
libmatroska
libmodplug
libmpeg2
libmtp
libnotify
libogg
libpng
libraw1394
librsvg
libsamplerate
libsecret
libshout
libsidplay2
libsndfile
libssh
libssh2
libtar
libtermcap
libtheora
libtiff
libtool
libunistring
libupnp
libusb
libva
libvdpau
libvncserver
libvorbis
libvpx
libwebp
libxcb
libxml2
libxshmfence
live555
lua
lzo
mesa
mpg123
musepack-tools
ncurses
nettle
opencore-amr
opencv
openexr
openjpeg
openldap-client
openssl | openssl-solibs
opus
orc
p11-kit
pango
pcre
pixman
projectM
pulseaudio
qt
qt5
readline
rtmpdump
samba
schroedinger
sdl
slang
snappy
speex
speexdsp
svgalib
taglib
twolame
util-linux
v4l-utils
wavpack
x264
x265
xcb-util-keysyms
xine-lib
xvidcore
xz
zlib
zvbi
The missing libraries are available from the ffmpeg package but the versions are wrong.
 
Old 04-19-2017, 02:41 PM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 3,697

Rep: Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797
for those ones maybe you have to rebuild opencv against the newer ffmpeg?

which video driver are you using?
 
2 members found this post helpful.
Old 04-19-2017, 02:44 PM   #3
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,044

Rep: Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033
Those missing libraries are tied to ffmpeg 2.8, so it seems this was built against that version, but it is no longer installed on the system. If you're running -current, it includes ffmpeg 3.2.4. Since the errors state that libopencv_wrapper_plugin.so can't find those versions, you would likely need to recompile opencv. Once that is recompiled, it is possible you'll need to recompile VLC off the newly compiled opencv, but you can try and run it before you attempt that.

EDIT: and ponce beat me to it...
 
Old 04-19-2017, 03:32 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,573

Rep: Reputation: 3820Reputation: 3820Reputation: 3820Reputation: 3820Reputation: 3820Reputation: 3820Reputation: 3820Reputation: 3820Reputation: 3820Reputation: 3820Reputation: 3820
Quote:
Originally Posted by ChrisAbela View Post
I downloaded and installed Alien Bob package for v2.2.4 and it works fine, but I prefer to have build from slackbuilds.org because it is simpler to manage packages/builds from one repository.
I'd say that your post proved exactly the opposite.
There is a good reason that I compile my VLC package with a lot of statically compiled libraries. It means, there's no interference from OS changes that kan kill my most-used program.
 
1 members found this post helpful.
Old 04-20-2017, 01:11 AM   #5
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Debian
Posts: 517

Original Poster
Rep: Reputation: 108Reputation: 108
All,

My build machine is inaccessible from here and I may take some time to reply. In the mean-time I can reply to some posts.

I am running Slackware-x86_64 14.2 (stable) on all my machines - a build server, a PC and a laptop, not current. I am getting the same error message on my machines.

Quote:
I'd say that your post proved exactly the opposite.
There is a good reason that I compile my VLC package with a lot of statically compiled libraries. It means, there's no interference from OS changes that kan kill my most-used program.
Managing and updating 3rd party packages is very time consuming, but I admit that it is challenging and fun. I like the SBo set up and since I started using their builds, (probably around 2008), I hardly had any issues. I use SBo builds extensively. Things do not break without a reason and when they do, they serve as opportunity to learn something new.

I appreciate your repository and when I stall, it is the first place I look for alternatives. Your packages, just work, but the SBo repo is much larger, and keeping track with all the updates on both repositories (and checking for conflicts) is beyond my resources right now. So please do accept both my gratitude for your work and also my preferences, even if you think that they are incoherent.

Last edited by ChrisAbela; 04-20-2017 at 03:05 AM.
 
Old 04-20-2017, 02:00 AM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 3,697

Rep: Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797
the reason why vlc has been silently bumped to a git snapshot in SBo is because 2.2.4 won't build against the newer ffmpeg, so it was a forced update.

I had tested it for a while (building it and every dependency from scratch) and I haven't experienced segfaults here.

consider that the vlc maintainer on SBo might have his own ideas on how to move on from what we have in our repository: it's his call.
 
1 members found this post helpful.
Old 04-20-2017, 08:44 AM   #7
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Debian
Posts: 517

Original Poster
Rep: Reputation: 108Reputation: 108
I removed opencv, rebuild ffmpeg and then vlc.

Now vlc works.

Thank You All!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing VLC using vlc-0.9.9a-4.el5.rf.i386.rpm--Error relating to Dependencies redhat5 Linux - Newbie 1 12-17-2009 04:23 PM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 10:48 PM
C Segmenation fault OrbiT^ Programming 9 04-19-2005 02:58 PM
Yahoo Messenger Segmenation Fault Crashed_Again Linux - Software 7 05-06-2003 06:13 AM
Segmenation Fault; Whats wrong!? f0d Programming 4 03-07-2002 01:41 AM


All times are GMT -5. The time now is 12:56 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration