Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: eumagga0x2a on August 13, 2016, 05:12:18 PM

Title: Ubuntu cross-version compatibility of Avidemux binaries
Post by: eumagga0x2a on August 13, 2016, 05:12:18 PM
Has anyone tried to install and to run Qt4 Avidemux binaries built by Jan on Ubuntu 14.04.x on Ubuntu 16.04.1 and vice versa Qt5 binaries built on Ubuntu 16.04.1 on 14.04.x? I would not be surprised if they turn out to be fully compatible.
Title: Re: Ubuntu cross-version compatibility of Avidemux binaries
Post by: Jan Gruuthuse on August 13, 2016, 05:18:39 PM
only 64-bit build
Title: Re: Ubuntu cross-version compatibility of Avidemux binaries
Post by: eumagga0x2a on August 13, 2016, 05:20:52 PM
Yes, sure, I meant only 64bit. Do they run?
Title: Re: Ubuntu cross-version compatibility of Avidemux binaries
Post by: Jan Gruuthuse on August 13, 2016, 05:30:46 PM
When you install .debs it should run on debian based. Yes both run on my sytem respectivly 14.04 build on 14.04 or 16.04 build on 16.04.
Title: Re: Ubuntu cross-version compatibility of Avidemux binaries
Post by: eumagga0x2a on August 13, 2016, 05:32:28 PM
No, I meant to test if the 14.04 build runs on 16.04 and vice versa.
Title: Re: Ubuntu cross-version compatibility of Avidemux binaries
Post by: Jan Gruuthuse on August 13, 2016, 05:57:54 PM
most likely not QT4 (14.04.5) <> QT5 (16.04.1). Gonna test anyway
Title: Re: Ubuntu cross-version compatibility of Avidemux binaries
Post by: Jan Gruuthuse on August 13, 2016, 06:00:32 PM
16.04.1 is not running on 14.04.5:
Code: [Select]
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libADM_coreJobs.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/libADM_coreJobs.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/libADM_core6.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libADM_core6.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libADM_coreAudio6.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libADM_coreMuxer6.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/libADM_coreUtils6.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libADM_coreUtils6.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/libADM_coreVideoEncoder6.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libADM_coreVideoEncoder6.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libADM_coreSqlLight3.so)
Title: Re: Ubuntu cross-version compatibility of Avidemux binaries
Post by: Jan Gruuthuse on August 13, 2016, 06:09:10 PM
can't test 14.04.5 on 16.04.1 (14.04 is running some jobs now), perhaps have a go tomorrow.
Title: Re: Ubuntu cross-version compatibility of Avidemux binaries
Post by: Jan Gruuthuse on August 13, 2016, 06:11:02 PM
these run http://www.avidemux.org/nightly/appImage/ on both 16.04.1 and 14.04.5. (64-bit) no install required. Probably on 32-bit too, someone need to try this and report back ;)
Title: Re: Ubuntu cross-version compatibility of Avidemux binaries
Post by: eumagga0x2a on August 13, 2016, 06:35:33 PM
16.04.1 is not running on 14.04.5:
Code: [Select]
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libADM_coreJobs.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/libADM_coreJobs.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/libADM_core6.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libADM_core6.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libADM_coreAudio6.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libADM_coreMuxer6.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/libADM_coreUtils6.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libADM_coreUtils6.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/libADM_coreVideoEncoder6.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libADM_coreVideoEncoder6.so)
/usr/bin/avidemux3_qt4: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libADM_coreSqlLight3.so)

Thanks, you are trying to run avidemux3_qt4, but I thought you compiled qt4 builds only on 14.04, weren't you? It means, you should have tried to run

Code: [Select]
/usr/bin/avidemux3_qt5
on 14.04, where the binary has been built on 16.04.1.

Yes, appImage should work, but it is not the point ;)
Title: Re: Ubuntu cross-version compatibility of Avidemux binaries
Post by: Jan Gruuthuse on August 13, 2016, 07:00:40 PM
Code: [Select]
/usr/bin/avidemux3_qt5
/usr/bin/avidemux3_qt5: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/bin/avidemux3_qt5)
/usr/bin/avidemux3_qt5: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/bin/avidemux3_qt5)
/usr/bin/avidemux3_qt5: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libADM_UIQT56.so)
/usr/bin/avidemux3_qt5: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libADM_render6_QT5.so)
Title: Re: Ubuntu cross-version compatibility of Avidemux binaries
Post by: eumagga0x2a on August 13, 2016, 07:25:05 PM
Thank you. What a pity, the gcc and therefore libstdc++6 version on 14.04.5 is too old then (gcc version is maybe the only version info that really matters, and the only one which is missing).

Binaries compiled on 14.04.5 should run fine on 16.04.1, looking forward to your testing.
Title: Re: Ubuntu cross-version compatibility of Avidemux binaries
Post by: mean on August 13, 2016, 08:43:19 PM
You could try the universal binaries, they should work on both
Title: Re: Ubuntu cross-version compatibility of Avidemux binaries
Post by: Jan Gruuthuse on August 14, 2016, 05:56:35 AM
You could try the universal binaries, they should work on both

universal binaries as like avidemuxUniversal_amd64_160813.app?

these run http://www.avidemux.org/nightly/appImage/ on both 16.04.1 and 14.04.5. (64-bit) no install required. Probably on 32-bit too, someone need to try this and report back ;)
Title: Re: Ubuntu cross-version compatibility of Avidemux binaries
Post by: Jan Gruuthuse on August 14, 2016, 06:12:18 AM
14.04.5 QT4 build is running on 16.04.1
Code: [Select]
/usr/bin/avidemux3_qt4
Directory ~/.avidemux6/ exists.Good.
Using ~/.avidemux6/ as base directory for prefs, jobs, etc.
*************************
  Avidemux v2.6.12 (160813_f7c426ac435) .
*************************
 http://www.avidemux.org
 Code      : Mean, JSC, Grant Pedersen
 GFX       : Nestor Di, nestordi@augcyl.org
 Design    : Jakub Misak
 FreeBSD   : Anish Mistry, amistry@am-productions.biz
 Audio     : Mihail Zenkov
 Mac OS X  : Kuisathaverat, Harry van der Wolf
 Win32     : Grant Pedersen

Compiler: GCC 4.8.4
Build Target: Linux (x86-64)
User Interface: Qt (4.8.7)

Large file available: 1 offset
Time: Sun Aug 14 08:03:44 2016

0: /usr/bin/avidemux3_qt4

remark installing 14.04.5 QT4 build destroys the installed 16.04.1 build QT5:

Code: [Select]
Directory ~/.avidemux6/ exists.Good.
Using ~/.avidemux6/ as base directory for prefs, jobs, etc.
*************************
  Avidemux v2.6.12 (160813_f7c426ac435) .
*************************
 http://www.avidemux.org
 Code      : Mean, JSC, Grant Pedersen
 GFX       : Nestor Di, nestordi@augcyl.org
 Design    : Jakub Misak
 FreeBSD   : Anish Mistry, amistry@am-productions.biz
 Audio     : Mihail Zenkov
 Mac OS X  : Kuisathaverat, Harry van der Wolf
 Win32     : Grant Pedersen

Compiler: GCC 5.4.0 20160609
Build Target: Linux (x86-64)
User Interface: Qt (5.5.1)

Large file available: 1 offset
Time: Sun Aug 14 08:08:45 2016

0: /usr/bin/avidemux3_qt5

Initialising prefs
 [load]  Loading prefs from ~/.avidemux6/config2
  [load]  Preferences found and loaded
 [cpuCaps]Checking CPU capabilities
MMX detected
MMXEXT detected
SSE detected
SSE2 detected
SSE3 detected
SSSE3 detected
[cpuCaps]End of CPU capabilities check (cpuMask :ffffffff, cpuCaps :1e6)
 [setMask]  [CpuCaps] Setting mask to 0x7fffffff
  [UI_Init]  Starting QT4 GUI...
  [loadTranslator]  Using system language
  [loadTranslator]  Initializing language en_US
/usr/bin/avidemux3_qt5: symbol lookup error: /usr/bin/avidemux3_qt5: undefined symbol: _Z13ADM_getI8NDirRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
Title: Re: Ubuntu cross-version compatibility of Avidemux binaries
Post by: eumagga0x2a on August 14, 2016, 09:46:06 AM
remark installing 14.04.5 QT4 build destroys the installed 16.04.1 build QT5

Yes, this is expected. Qt4 and Qt5 builds can coexist if the core Avidemux libs they rely upon are built with the similar gcc version which is not the case now.

Thanks a lot for your testing. I hoped that it could be possible for you to simplify your build setup for Avidemux debs, performing all builds on 16.04.1, but this didn't work out. Of course, it is possible to build everything on 14.04.5, but the outdated Qt5 version on 14.04.5 might be a valid reason not to do so.

If dealing with Debian and Ubuntu maintainers in order to integrate Avidemux into their distributions if harder than investing time and effort into creating a reliably working appImage of Avidemux, that says a lot about the maintainers.
Title: Re: Ubuntu cross-version compatibility of Avidemux binaries
Post by: mean on August 14, 2016, 12:02:11 PM
appImage is the way to go