Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

How compile under Slackware64 14.2? #534

Open
inukaze opened this issue Feb 12, 2020 · 10 comments
Open

How compile under Slackware64 14.2? #534

inukaze opened this issue Feb 12, 2020 · 10 comments

Comments

@inukaze
Copy link

inukaze commented Feb 12, 2020

Hi there i try to compile bomi under Slackware64 14.2 but when i use configure never find "chardet"

git clone https://github.com/xylosper/bomi bomi-git
cd bomi-git
./configure --prefix=/usr
configure for Linux...
Checking for ffmpeg >= 2.4 ... yes
Checking for libass >= 0.12.1 ... yes
Checking for dvdread ... yes
Checking for dvdnav ... yes
Checking for libbluray ... yes
Checking for chardet ... no
'chardet' package was not found.

#echo well i try searching chardet
[bomi-git]$ slpkg -F chardet

Packages with name matching [ chardet ]

+==============================================================================
| Repository Package                                                       Size
+==============================================================================
  sbo         cchardet-1.0.0                                                0 K
  sbo         libuchardet-0.0.6                                             0 K
  sbo         python-chardet-3.0.4                                          0 K
  slonly      cchardet-1.0.0-x86_64-1_slonly.txz                           72 K
  slonly      libuchardet-0.0.6-x86_64-1_slonly.txz                        92 K
  slonly      python-chardet-3.0.4-x86_64-1_slonly.txz                    148 K

Found summary
===============================================================================
Total found 6 packages in 2 repositories.

slpkg -s slonly cchardet libuchardet python-chardet
Reading package lists... Done
Resolving dependencies... Done

The following packages will be automatically installed or upgraded 
with new version:

+==============================================================================
| Package                 New Version        Arch    Build  Repos          Size
+==============================================================================
Installing:
  python-chardet          3.0.4              x86_64  1      slonly        148 K
  libuchardet             0.0.6              x86_64  1      slonly         92 K
  cchardet                1.0.0              x86_64  1      slonly         72 K
['148', '92', '72'] ['990', '540', '230']
Kb Mb 312 1.72

Installing summary
===============================================================================
Total 3 packages.
3 packages will be installed, 0 will be upgraded and 0 will be reinstalled.
Need to get 312 Kb of archives.
After this process, 1.72 Mb of additional disk space will be used.

Would you like to continue [y/N]? y

[1/1][ Download ] --> python-chardet-3.0.4-x86_64-1_slonly.txz

--2020-02-12 03:21:25--  https://slackonly.com/pub/packages/14.2-x86_64/python/python-chardet/python-chardet-3.0.4-x86_64-1_slonly.txz
Resolviendo slackonly.com... 45.58.49.216, 2602:ffc5::ffc6:f752
Conectando con slackonly.com[45.58.49.216]:443... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 150132 (147K)
Grabando a: “/tmp/slpkg/packages/python-chardet-3.0.4-x86_64-1_slonly.txz”

python-chardet-3.0.4-x86_64 100%[===========================================>] 146,61K   183KB/s    en 0,8s    

2020-02-12 03:21:27 (183 KB/s) - “/tmp/slpkg/packages/python-chardet-3.0.4-x86_64-1_slonly.txz” guardado [150132/150132]


[1/1][ Download ] --> libuchardet-0.0.6-x86_64-1_slonly.txz

--2020-02-12 03:21:27--  https://slackonly.com/pub/packages/14.2-x86_64/libraries/libuchardet/libuchardet-0.0.6-x86_64-1_slonly.txz
Resolviendo slackonly.com... 45.58.49.216, 2602:ffc5::ffc6:f752
Conectando con slackonly.com[45.58.49.216]:443... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 92328 (90K)
Grabando a: “/tmp/slpkg/packages/libuchardet-0.0.6-x86_64-1_slonly.txz”

libuchardet-0.0.6-x86_64-1_ 100%[===========================================>]  90,16K   179KB/s    en 0,5s    

2020-02-12 03:21:28 (179 KB/s) - “/tmp/slpkg/packages/libuchardet-0.0.6-x86_64-1_slonly.txz” guardado [92328/92328]


[1/1][ Download ] --> cchardet-1.0.0-x86_64-1_slonly.txz

--2020-02-12 03:21:28--  https://slackonly.com/pub/packages/14.2-x86_64/libraries/cchardet/cchardet-1.0.0-x86_64-1_slonly.txz
Resolviendo slackonly.com... 45.58.49.216, 2602:ffc5::ffc6:f752
Conectando con slackonly.com[45.58.49.216]:443... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 70464 (69K)
Grabando a: “/tmp/slpkg/packages/cchardet-1.0.0-x86_64-1_slonly.txz”

cchardet-1.0.0-x86_64-1_slo 100%[===========================================>]  68,81K   173KB/s    en 0,4s    

2020-02-12 03:21:29 (173 KB/s) - “/tmp/slpkg/packages/cchardet-1.0.0-x86_64-1_slonly.txz” guardado [70464/70464]


+==============================================================================
| MD5SUM check for python-chardet-3.0.4-x86_64-1_slonly.txz [ PASSED ]
+==============================================================================

[ installing ] --> python-chardet-3.0.4-x86_64-1_slonly.txz

+==============================================================================
| Installing new package /tmp/slpkg/packages/python-chardet-3.0.4-x86_64-1_slonly.txz
+==============================================================================

Verifying package python-chardet-3.0.4-x86_64-1_slonly.txz.
Installing package python-chardet-3.0.4-x86_64-1_slonly.txz:
PACKAGE DESCRIPTION:
# python-chardet (autodetection of character encoding in python)
#
# Universal encoding detector for Python 2 and 3.
#
# Homepage: https://pypi.python.org/pypi/chardet
#
Package python-chardet-3.0.4-x86_64-1_slonly.txz installed.


Completed!


+==============================================================================
| MD5SUM check for libuchardet-0.0.6-x86_64-1_slonly.txz [ PASSED ]
+==============================================================================

[ installing ] --> libuchardet-0.0.6-x86_64-1_slonly.txz

+==============================================================================
| Installing new package /tmp/slpkg/packages/libuchardet-0.0.6-x86_64-1_slonly.txz
+==============================================================================

Verifying package libuchardet-0.0.6-x86_64-1_slonly.txz.
Installing package libuchardet-0.0.6-x86_64-1_slonly.txz:
PACKAGE DESCRIPTION:
# libuchardet (encoding detector library)
#
# uchardet uchardet is a C language binding of the original C++
# implementation of the universal charset detection library by Mozilla.
# uchardet is an encoding detector library, which takes a sequence of
# bytes in an unknown character encoding without any additional
# information, and attempts to determine the encoding of the text.
# Returned encoding names are iconv-compatible.
#
# Home page: https://www.freedesktop.org/wiki/Software/uchardet/
#
Executing install script for libuchardet-0.0.6-x86_64-1_slonly.txz.
Package libuchardet-0.0.6-x86_64-1_slonly.txz installed.


Completed!


+==============================================================================
| MD5SUM check for cchardet-1.0.0-x86_64-1_slonly.txz [ PASSED ]
+==============================================================================

[ installing ] --> cchardet-1.0.0-x86_64-1_slonly.txz

+==============================================================================
| Installing new package /tmp/slpkg/packages/cchardet-1.0.0-x86_64-1_slonly.txz
+==============================================================================

Verifying package cchardet-1.0.0-x86_64-1_slonly.txz.
Installing package cchardet-1.0.0-x86_64-1_slonly.txz:
PACKAGE DESCRIPTION:
# cchardet (Universal character encoding detector)
#
# This library is high speed universal character
# encoding detector.
#
# Homepage: https://github.com/PyYoshi/cChardet
#
Package cchardet-1.0.0-x86_64-1_slonly.txz installed.


Completed!

+==============================================================================
| Total 3 packages installed and 0 package upgraded
+==============================================================================
| Package python-chardet-3.0.4 installed successfully
| Package libuchardet-0.0.6 installed successfully
| Package cchardet-1.0.0 installed successfully
+==============================================================================

./configure --prefix=/usr
configure for Linux...
Checking for ffmpeg >= 2.4 ... yes
Checking for libass >= 0.12.1 ... yes
Checking for dvdread ... yes
Checking for dvdnav ... yes
Checking for libbluray ... yes
Checking for chardet ... no
'chardet' package was not found.

Well i not had the minimal idea what if searching called "chardet"

@gigabyte-1000
Copy link

gigabyte-1000 commented Mar 6, 2020

I think you need libchardet 1.0.4 , I used the slackbuild from here, and bomi stopped complaining about chardet....now to get the rest to compile :)
https://github.com/w41l/wlsbuild/tree/master/libchardet

also I suggest building from this bomi tree, it has been updated for newer distros.
https://github.com/d-s-x/bomi

@inukaze
Copy link
Author

inukaze commented Mar 6, 2020

Ok let my try :

su
mkdir -p /tmp/libchardet ; /tmp/libchardet
wget -c https://raw.githubusercontent.com/w41l/wlsbuild/master/libchardet/doinst.sh
wget -c https://raw.githubusercontent.com/w41l/wlsbuild/master/libchardet/libchardet.SlackBuild
wget -c https://raw.githubusercontent.com/w41l/wlsbuild/master/libchardet/libchardet.info
wget -c https://raw.githubusercontent.com/w41l/wlsbuild/master/libchardet/slack-desc
wget -c https://sources.voidlinux.org/libchardet-1.0.4/libchardet-1.0.4.tar.bz2


installpkg /tmp/libchardet-1.0.4-x86_64-1_wls.txz
Verifying package libchardet-1.0.4-x86_64-1_wls.txz.
Installing package libchardet-1.0.4-x86_64-1_wls.txz:
PACKAGE DESCRIPTION:
# libchardet (universal charset detection library)
#
# shared library libchardet is based on Mozilla Universal Charset
# Detector library and detects the character set used to encode data.
# The original code was written by Netscape for the Mozilla Browser.
# Later, the code was turned into the Encode::Detect Perl module.
# This library switches the Perl wrapper API, to form a C library with
# a libtool build environment.
#
# Packaged by: Widya Walesa <walecha99@gmail.com>
Executing install script for libchardet-1.0.4-x86_64-1_wls.txz.
Package libchardet-1.0.4-x86_64-1_wls.txz installed.


cd /tmp
git clone https://github.com/d-s-x/bomi
Cloning into 'bomi'...
remote: Enumerating objects: 100, done.
remote: Counting objects: 100% (100/100), done.
remote: Compressing objects: 100% (75/75), done.
remote: Total 34407 (delta 44), reused 65 (delta 25), pack-reused 34307
Receiving objects: 100% (34407/34407), 41.64 MiB | 123.00 KiB/s, done.
Resolving deltas: 100% (20309/20309), done.


./configure --prefix=/usr
configure for Linux...
Checking for ffmpeg >= 2.4 ... yes
Checking for libass >= 0.12.1 ... yes
Checking for dvdread ... yes
Checking for dvdnav ... yes
Checking for libbluray ... yes
Checking for chardet ... yes
Checking for glib ... yes
Checking for xcb ... yes
Checking for alsa ... yes
Checking for jack ... yes
Checking for libpulse ... no
Checking for libcdio_paranoia libcdio libcdio_cdda ... yes
Checking for smbclient ... yes
Checking for libsystemd ... no
Checking for vdpau ... yes
Checking for libva libva-glx libva-x11 ... yes
checking for cc ... gcc
checking for qmake ... qmake-qt5
checking for lrelease ... lrelease-qt5
checking for mkspec ... linux-g++

bomi has been configured successfully!

Well i edit if i compile fine or fail xD

Fail :

release/release/moc_windowsize.o release/release/moc_videopreview.o release/release/moc_triangleitem.o release/release/moc_visualizer.o release/release/moc_encoderdialog.o   -L/tmp/bomi/src/bomi/../../build/lib -lbz2 -lz /tmp/bomi/build/lib/libmpv.a -lavformat -lavutil -lavcodec -lswscale -lswresample -lavfilter -lass -ldvdread -ldvdnav -lbluray -lchardet -lgobject-2.0 -lglib-2.0 -lxcb-icccm -lxcb-screensaver -lxcb-randr -lxcb-render -lxcb-xtest -lxcb -lX11 -lasound -ljack -lcdio_paranoia -lcdio_cdda -lcdio -lm -Wl,-rpath,/usr/lib64 -lsmbclient -lvdpau -lva-glx -lva-x11 -lva -ldl -lQt5Quick -lQt5Svg -lQt5Widgets -lQt5X11Extras -lQt5Gui -lQt5Qml -lQt5Network -lQt5Sql -lQt5Xml -lQt5DBus -lQt5Core -lGL -lpthread 
g++: error: /tmp/bomi/build/lib/libmpv.a: No existe el fichero o el directorio
Makefile.Release:1278: fallo en las instrucciones para el objetivo '../../build/bomi'
make[2]: *** [../../build/bomi] Error 1
make[2]: se sale del directorio '/tmp/bomi/src/bomi'
Makefile:40: fallo en las instrucciones para el objetivo 'release'
make[1]: *** [release] Error 2
make[1]: se sale del directorio '/tmp/bomi/src/bomi'
Makefile:40: fallo en las instrucciones para el objetivo 'build/build/bomi/bomi'
make: *** [build/build/bomi/bomi] Error 2

Well i need to install mpv (i guess)

slpkg -s slonly mpv
Reading package lists... Done
Resolving dependencies... Done

The following packages will be automatically installed or upgraded 
with new version:

+==============================================================================
| Package                 New Version        Arch    Build  Repos          Size
+==============================================================================
Installing:
  mpv-0.27.2              0.29.1             x86_64  1      slonly        836 K
['836'] ['2070']
Kb Mb 836 2.02

Installing summary
===============================================================================
Total 1 package.
0 package will be installed, 1 will be upgraded and 0 will be reinstalled.
Need to get 836 Kb of archives.
After this process, 2.02 Mb of additional disk space will be used.

Would you like to continue [y/N]? y

[1/1][ Download ] --> mpv-0.29.1-x86_64-1_slonly.txz

--2020-03-06 09:46:22--  https://slackonly.com/pub/packages/14.2-x86_64/multimedia/mpv/mpv-0.29.1-x86_64-1_slonly.txz
Resolviendo slackonly.com... 45.58.49.216, 2602:ffc5::ffc6:f752
Conectando con slackonly.com[45.58.49.216]:443... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 852072 (832K)
Grabando a: “/tmp/slpkg/packages/mpv-0.29.1-x86_64-1_slonly.txz”

mpv-0.29.1-x86_64-1_slonly. 100%[===========================================>] 832,10K  40,6KB/s    en 35s     

2020-03-06 09:47:04 (23,5 KB/s) - “/tmp/slpkg/packages/mpv-0.29.1-x86_64-1_slonly.txz” guardado [852072/852072]


+==============================================================================
| MD5SUM check for mpv-0.29.1-x86_64-1_slonly.txz [ PASSED ]
+==============================================================================

[ upgrading ] --> mpv-0.29.1-x86_64-1_slonly.txz

+==============================================================================
| Upgrading mpv-0.27.2-x86_64-1_slonly package using /tmp/slpkg/packages/mpv-0.29.1-x86_64-1_slonly.txz
+==============================================================================

Pre-installing package mpv-0.29.1-x86_64-1_slonly...

Removing package /var/log/packages/mpv-0.27.2-x86_64-1_slonly-upgraded-2020-03-06,09:47:04...
  --> Deleting /usr/doc/mpv-0.27.2/Copyright
  --> Deleting /usr/doc/mpv-0.27.2/LICENSE
  --> Deleting /usr/doc/mpv-0.27.2/README.md
  --> Deleting /usr/doc/mpv-0.27.2/RELEASE_NOTES
  --> Deleting /usr/doc/mpv-0.27.2/input.conf
  --> Deleting /usr/doc/mpv-0.27.2/manual/client-api-changes.rst
  --> Deleting /usr/doc/mpv-0.27.2/manual/compile-windows.md
  --> Deleting /usr/doc/mpv-0.27.2/manual/contribute.md
  --> Deleting /usr/doc/mpv-0.27.2/manual/edl-mpv.rst
  --> Deleting /usr/doc/mpv-0.27.2/manual/encoding.rst
  --> Deleting /usr/doc/mpv-0.27.2/manual/interface-changes.rst
  --> Deleting /usr/doc/mpv-0.27.2/manual/mplayer-changes.rst
  --> Deleting /usr/doc/mpv-0.27.2/manual/release-policy.md
  --> Deleting /usr/doc/mpv-0.27.2/manual/tech-overview.txt
  --> Deleting /usr/doc/mpv-0.27.2/manual/waf-buildsystem.rst
  --> Deleting /usr/doc/mpv-0.27.2/mplayer-input.conf
  --> Deleting /usr/doc/mpv-0.27.2/mpv.SlackBuild
  --> Deleting /usr/doc/mpv-0.27.2/mpv.conf
  --> Deleting /usr/doc/mpv-0.27.2/restore-old-bindings.conf
  --> Deleting empty directory /usr/doc/mpv-0.27.2/manual/
  --> Deleting empty directory /usr/doc/mpv-0.27.2/

Verifying package mpv-0.29.1-x86_64-1_slonly.txz.
Installing package mpv-0.29.1-x86_64-1_slonly.txz:
PACKAGE DESCRIPTION:
# mpv (a movie player based on MPlayer and mplayer2)
#
# mpv is a fork of mplayer2 and MPlayer. It shares some features with
# the former projects while introducing many more. It supports a wide
# variety of video file formats, audio and video codecs, and subtitle
# types.
#
# mpv homepage: http://mpv.io/
#
Executing install script for mpv-0.29.1-x86_64-1_slonly.txz.
Package mpv-0.29.1-x86_64-1_slonly.txz installed.

Package mpv-0.27.2-x86_64-1_slonly upgraded with new package /tmp/slpkg/packages/mpv-0.29.1-x86_64-1_slonly.txz.

Completed!

+==============================================================================
| Total 0 package installed and 1 package upgraded
+==============================================================================
| Package mpv-0.29.1 upgraded successfully
+==============================================================================

Fail again xD well you can read the last make output here -> https://pastebin.com/z6TGgJgU

@gigabyte-1000
Copy link

gigabyte-1000 commented Mar 7, 2020

Hi sorry for the delay, yeah I ran into that error too, I think its just a bug in the build, I renamed the folder lib64 to lib
/tmp/bomi/build/lib64 -> /tmp/bomi/build/lib then just retype make it should build fine.

I also encountered a ffmpeg error complaining about opencl, so I had to recompile ffmpeg but that could just be my pc.
http://slackware.uk/people/alien/restricted_slackbuilds/ffmpeg/build/

@inukaze
Copy link
Author

inukaze commented Mar 7, 2020

/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: release/video/ffmpegfilters.o: referencia sin definir al símbolo '_talloc_free@@TALLOC_2.0.2'
/usr/lib64/libtalloc.so.2: error adding symbols: DSO missing from command line
collect2: error: ld devolvió el estado de salida 1
Makefile.Release:1278: fallo en las instrucciones para el objetivo '../../build/bomi'
make[2]: *** [../../build/bomi] Error 1
make[2]: se sale del directorio '/tmp/bomi/src/bomi'
Makefile:40: fallo en las instrucciones para el objetivo 'release'
make[1]: *** [release] Error 2
make[1]: se sale del directorio '/tmp/bomi/src/bomi'
Makefile:40: fallo en las instrucciones para el objetivo 'build/build/bomi/bomi'
make: *** [build/build/bomi/bomi] Error 2

@gigabyte-1000
Copy link

thats a new error, try updating to talloc-2.3.1-x86_64-3 , if that doesnt work you may need to recompile ffmpeg :)

@inukaze
Copy link
Author

inukaze commented Mar 7, 2020

¿ From where you recommend i download "talloc-2.3.1-x86_64-3" ?

slpkg -F talloc

Packages with name matching [ talloc ]

+==============================================================================
| Repository Package                                                       Size
+==============================================================================

Found summary
===============================================================================
Total found 0 packages in 0 repositories.

@gigabyte-1000
Copy link

gigabyte-1000 commented Mar 8, 2020

http://slackware.cs.utah.edu/pub/slackware/slackware64-current/slackware64/l/talloc-2.3.1-x86_64-3.txz
upgradepkg --install-new talloc-2.3.1-x86_64-3.txz

you can also try
slackpkg search talloc

if all else fails, I made a package for bomi but I run slackware-current, however it might still work on 14.2.
bomi-git-0.9.11-cd11107-x86_64-1.txz.zip

@inukaze
Copy link
Author

inukaze commented Mar 8, 2020

Well here i go again :

su 
cd /tmp/
wget -c http://slackware.cs.utah.edu/pub/slackware/slackware64-current/slackware64/l/talloc-2.3.1-x86_64-3.txz
upgradepkg --install-new talloc-2.3.1-x86_64-3.txz ; ldconfig
ASS=yes CELT=yes DC1394=yes DECKLINK=no FAAC=yes FDK_AAC=no FLITE=yes FREI0R=yes GME=yes GSM=yes ILBC=yes LADSPA=yes LAME=yes MODPLUG=yes OPENAL=yes OPENCORE=yes OPENCV=yes OPENSSL=yes OPUS=yes QUVI=yes RTMP=yes SCHROEDINGER=yes SNAPPY=yes SPEEX=yes TWOLAME=yes VIDSTAB=yes WEBP=yes X264=yes X265=yes XVID=yes ZMQ=yes ZVBI=yes slpkg -s sbo ffmpeg
cd /tmp/bomi
make clean
./configure --prefix=/usr
make

release/release/moc_visualizer.o release/release/moc_encoderdialog.o   -L/tmp/bomi/src/bomi/../../build/lib -lbz2 -lz /tmp/bomi/build/lib/libmpv.a -lavformat -lavutil -lavcodec -lswscale -lswresample -lavfilter -lass -ldvdread -ldvdnav -lbluray -lchardet -lgobject-2.0 -lglib-2.0 -lxcb-icccm -lxcb-screensaver -lxcb-randr -lxcb-render -lxcb-xtest -lxcb -lX11 -lasound -ljack -lpulse -lcdio_paranoia -lcdio_cdda -lcdio -lm -Wl,-rpath,/usr/lib64 -lsmbclient -lvdpau -lva-glx -lva-x11 -lva -ldl -lQt5Quick -lQt5Svg -lQt5Widgets -lQt5X11Extras -lQt5Gui -lQt5Qml -lQt5Network -lQt5Sql -lQt5Xml -lQt5DBus -lQt5Core -lGL -lpthread 
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: release/video/ffmpegfilters.o: referencia sin definir al símbolo '_talloc_free@@TALLOC_2.0.2'
/usr/lib64/libtalloc.so.2: error adding symbols: DSO missing from command line
collect2: error: ld devolvió el estado de salida 1
Makefile.Release:1278: fallo en las instrucciones para el objetivo '../../build/bomi'
make[2]: *** [../../build/bomi] Error 1
make[2]: se sale del directorio '/tmp/bomi/src/bomi'
Makefile:40: fallo en las instrucciones para el objetivo 'release'
make[1]: *** [release] Error 2
make[1]: se sale del directorio '/tmp/bomi/src/bomi'
Makefile:40: fallo en las instrucciones para el objetivo 'build/build/bomi/bomi'
make: *** [build/build/bomi/bomi] Error 2

you can also try
slackpkg search talloc


slackpkg search talloc

Looking for talloc in package list. Please wait... DONE

No package name matches the pattern.

that packages does not exist on Slackware 14.2, from where i can download the source code ?

if all else fails, I made a package for bomi but I run slackware-current, however it might still work on 14.2.
bomi-git-0.9.11-cd11107-x86_64-1.txz.zip

Not in need, because the diferences between versions can be big, and Slackware-Current had a lot of packages don't exist on 14.2 like "alsa-pure" for purge pulseaudio.

Well i try with the file :

wget -c https://github.com/xylosper/bomi/files/4302723/bomi-git-0.9.11-cd11107-x86_64-1.txz.zip
 
unzip bomi-git-0.9.11-cd11107-x86_64-1.txz.zip 
Archive:  bomi-git-0.9.11-cd11107-x86_64-1.txz.zip
  extracting: bomi-git-0.9.11-cd11107-x86_64-1.txz
 
installpkg bomi-git-0.9.11-cd11107-x86_64-1.txz
 Verifying package bomi-git-0.9.11-cd11107-x86_64-1.txz.
 Installing package bomi-git-0.9.11-cd11107-x86_64-1.txz:
 PACKAGE DESCRIPTION:
 Package bomi-git-0.9.11-cd11107-x86_64-1.txz installed.
 
 error while loading shared libraries: libavformat.so.58: cannot open shared object file: No such file or directory
 
ldd /usr/bin/bomi | grep found
 /usr/bin/bomi: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /usr/bin/bomi)
 /usr/bin/bomi: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /usr/bin/bomi)
 /usr/bin/bomi: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by /usr/bin/bomi)
 /usr/bin/bomi: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /usr/bin/bomi)
 /usr/bin/bomi: /usr/lib64/libQt5Core.so.5: version `Qt_5.13' not found (required by /usr/bin/bomi)
 	libavformat.so.58 => not found
 	libavutil.so.56 => not found
 	libavcodec.so.58 => not found
 	libswscale.so.5 => not found
 	libswresample.so.3 => not found
 	libavfilter.so.7 => not found
 	libass.so.5 => not found
 	libdvdread.so.7 => not found
 	libcdio.so.19 => not found
 	libva-glx.so.2 => not found
 	libva-x11.so.2 => not found
 	libva.so.2 => not found

@gigabyte-1000
Copy link

try to recompile ffmpeg, it looks like the talloc error is coming from that.
ffmpegfilters.o: referencia sin definir al símbolo '_talloc_free@@TALLOC_2.0.2'

@inukaze
Copy link
Author

inukaze commented Mar 10, 2020

echo 'login to root account'
su 

echo 'enter in directory /tmp and delete sub-directory called bomi'
cd /tmp/ ; rm -rf bomi

echo 'download the package talloc-2.3.1-x86_64-3.txz'
wget -c http://slackware.cs.utah.edu/pub/slackware/slackware64-current/slackware64/l/talloc-2.3.1-x86_64-3.txz

echo 'install the downloaded package'
upgradepkg --install-new talloc-2.3.1-x86_64-3.txz ; ldconfig

echo 'Download, Compile & Install ffmpeg from the SlackBuild.org repository'
echo -ne 'y\n' | ASS=yes CELT=yes DC1394=yes DECKLINK=no FAAC=yes FDK_AAC=no FLITE=yes FREI0R=yes GME=yes GSM=yes ILBC=yes LADSPA=yes LAME=yes MODPLUG=yes OPENAL=yes OPENCORE=yes OPENCV=yes OPENSSL=yes OPUS=yes QUVI=yes RTMP=yes SCHROEDINGER=yes SNAPPY=yes SPEEX=yes TWOLAME=yes VIDSTAB=yes WEBP=yes X264=yes X265=yes XVID=yes ZMQ=yes ZVBI=yes slpkg -s sbo --rebuild --reinstall ffmpeg

echo 'Download the source code of bomi'
git clone https://github.com/d-s-x/bomi

echo 'enter in the downloaded folder with bomi source code'
cd /tmp/bomi

echo 'use the configure script to set prefix /usr, this automatically start the make, wait until the compilation finish or fail'
./configure --prefix=/usr ; make

output : 
g++: error: /tmp/bomi/build/lib/libmpv.a: No existe el fichero o el directorio
Makefile.Release:1278: fallo en las instrucciones para el objetivo '../../build/bomi'
make[2]: *** [../../build/bomi] Error 1
make[2]: se sale del directorio '/tmp/bomi/src/bomi'
Makefile:40: fallo en las instrucciones para el objetivo 'release'
make[1]: *** [release] Error 2
make[1]: se sale del directorio '/tmp/bomi/src/bomi'
Makefile:40: fallo en las instrucciones para el objetivo 'build/build/bomi/bomi'
make: *** [build/build/bomi/bomi] Error 2


echo 'well this version does not work well i try with this git again :' 
cd /tmp ; rm -rf /tmp/bomi
git clone https://github.com/xylosper/bomi
cd bomi
./configure --prefix=/usr
make

Output (is the same again) : 
release/release/moc_videocolordialog.o release/release/moc_algorithmobject.o release/release/moc_mrlstate_old.o release/release/moc_smbauth.o release/release/moc_fontcombobox.o release/release/moc_jrserver.o release/release/moc_windowsize.o release/release/moc_videopreview.o release/release/moc_triangleitem.o release/release/moc_visualizer.o release/release/moc_encoderdialog.o   -L/tmp/bomi/src/bomi/../../build/lib -lbz2 -lz /tmp/bomi/build/lib/libmpv.a -lavformat -lavutil -lavcodec -lswscale -lswresample -lavfilter -lass -ldvdread -ldvdnav -lbluray -lchardet -lgobject-2.0 -lglib-2.0 -lxcb-icccm -lxcb-screensaver -lxcb-randr -lxcb-render -lxcb-xtest -lxcb -lX11 -lasound -ljack -lpulse -lcdio_paranoia -lcdio_cdda -lcdio -lm -Wl,-rpath,/usr/lib64 -lsmbclient -lvdpau -lva-glx -lva-x11 -lva -ldl -lQt5Quick -lQt5Svg -lQt5Widgets -lQt5X11Extras -lQt5Gui -lQt5Qml -lQt5Network -lQt5Sql -lQt5Xml -lQt5DBus -lQt5Core -lGL -lpthread 
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: release/video/ffmpegfilters.o: referencia sin definir al símbolo '_talloc_free@@TALLOC_2.0.2'
/usr/lib64/libtalloc.so.2: error adding symbols: DSO missing from command line
collect2: error: ld devolvió el estado de salida 1
Makefile.Release:1278: fallo en las instrucciones para el objetivo '../../build/bomi'
make[2]: *** [../../build/bomi] Error 1
make[2]: se sale del directorio '/tmp/bomi/src/bomi'
Makefile:40: fallo en las instrucciones para el objetivo 'release'
make[1]: *** [release] Error 2
make[1]: se sale del directorio '/tmp/bomi/src/bomi'
Makefile:40: fallo en las instrucciones para el objetivo 'build/build/bomi/bomi'
make: *** [build/build/bomi/bomi] Error 2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants