Page 1 of 2

avidemux-2.7.1

Posted: 09 Jan 2019, 12:04
by leclaw
Running Porteus 4.0 from 32GB flash drive on HP2000 laptop 4 GB ram. FAT32 with functional 'save' partition.

I tried to install "avidemux-2.7.1-x86_64-1_slonly.txz" from usm.
Conversion to .xzm and the rest of the process 'seemed' to progress properly. The avidemux-2.7.1-x86_64-bundle.xzm which I have created does 'activate', but when I try to run the program from the "Video Editor Avidemux" entry which now appears in "Applications-->Multimedia" the
result is: Sorry - Plasma Could not find program 'avidemux3_qt5'
I'm still sort of new to Porteus. Have successfully installed Google Earth, Nmap, and a couple other modules but the above error is new to me.
The installation process references qt-4, but there was no mention in the files I saw being installed of qt-5...
Is there possibly a way to resolve this?
I can post the entire terminal screen from the install attempt if that would help.
Thank you. b

Re: avidemux-2.7.1

Posted: 09 Jan 2019, 13:31
by ncmprhnsbl
welcome to porteus forum :)
can you try running in a terminal:

Code: Select all

avidemux3_qt4

Re: avidemux-2.7.1

Posted: 09 Jan 2019, 14:48
by leclaw
Hope I've done this correctly...

Code: Select all

root@porteus:/# pwd
/
root@porteus:/# avidemux3_qt4 run
avidemux3_qt4: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory
root@porteus:/# 

Re: avidemux-2.7.1

Posted: 09 Jan 2019, 21:33
by leclaw
As a novice, this is just a guess, but I have a suspicion that the problem might have to do with a difference between the two Qt versions (4 and 5)?
Perhaps I should have started with a version other than "avidemux-2.7.1-x86_64-1_slonly.txz"?
Also, I am using the KDE Desktop.
tks b

Re: avidemux-2.7.1

Posted: 09 Jan 2019, 22:47
by ncmprhnsbl
let's see what's in your bundle:

Code: Select all

$ls /mnt/live/memory/images/avidemux-2.7.1-x86_64-bundle.xzm/var/log/packages
another useful command might be:

Code: Select all

$ldd /usr/bin/avidemux3_qt4 | grep "not found"

Re: avidemux-2.7.1

Posted: 09 Jan 2019, 23:24
by leclaw
Hi ncmprhnsbl,
*First command* the result is at the bottom...

Code: Select all

root@porteus:~# $ls /mnt/live/memory/images/avidemux-2.7.1-x86_64-bundle.xzm/var/log/packages
bash: /mnt/live/memory/images/avidemux-2.7.1-x86_64-bundle.xzm/var/log/packages: Is a directory
root@porteus:~# cd $ls /mnt/live/memory/images
root@porteus:/mnt/live/memory/images# ls -a
./               avidemux-2.7.1-x86_64-bundle.xzm/
../              epdfview-0.1.8-x86_64-3gv.xzm/
000-kernel.xzm/  firefox-63.0-x86_64-1.xzm/
001-core.xzm/    fvd-module-1.0.8-4.x86_64.xzm/
002-xorg.xzm/    google-earth-7.3.2.5483-x86_64-1_slonly.xzm/
003-kde.xzm/     nmap-7.12-x86_64-bundle.xzm/
root@porteus:/mnt/live/memory/images# ls avidemux-2.7.1-x86_64-bundle.xzm/var/log/packages
aften-0.0.8-x86_64-1ponce           insync-1.3.12.36116-x86_64-1_slonly
avidemux-2.7.1-x86_64-1_slonly      jack2-1.9.10-x86_64-1_slonly
celt-0.11.3-x86_64-1dj              libdca-0.0.5-x86_64-1ponce
gst-plugins-base0-0.10.36-x86_64-2  libvisual-0.4.0-x86_64-3
gstreamer0-0.10.36-x86_64-1         wps-office-10.1.0.5707~a21-x86_64-1_slonly
root@porteus:/mnt/live/memory/images#
*Second command*

Code: Select all

root@porteus:/mnt/live/memory/images# /usr/bin/avidemux3_qt4 | grep "not found"
/usr/bin/avidemux3_qt4: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory
Hope I performed these commands properly...
Thank You. b

Re: avidemux-2.7.1

Posted: 09 Jan 2019, 23:34
by leclaw
But, if I do:

Code: Select all

root@porteus:/usr/bin# pwd
/usr/bin
root@porteus:/usr/bin# find avidemux3_qt4
avidemux3_qt4
it does find avidemux3_qt4.

Re: avidemux-2.7.1

Posted: 09 Jan 2019, 23:44
by ncmprhnsbl
the second command is missing ldd at the beginning ;)
your bundle appears to missing qt4, hence "libQtGui.so.4: cannot open shared object file: No such file or directory"

so, what i'd try next would be to get qt4 and see what happens with that...

Re: avidemux-2.7.1

Posted: 09 Jan 2019, 23:56
by leclaw
I made a mistake executing the second command earlier. I think this is now what you asked for...

Code: Select all

root@porteus:/usr/bin# ldd /usr/bin/avidemux3_qt4 | grep "not found"
        libQtGui.so.4 => not found
        libQtCore.so.4 => not found
        libQtNetwork.so.4 => not found
        libQtOpenGL.so.4 => not found
        libQtOpenGL.so.4 => not found
        libQtGui.so.4 => not found
        libQtCore.so.4 => not found
        libQtOpenGL.so.4 => not found
        libQtGui.so.4 => not found
        libQtCore.so.4 => not found
        libQtOpenGL.so.4 => not found
        libQtGui.so.4 => not found
        libQtCore.so.4 => not found
root@porteus:/usr/bin# 
There are about 30 dependencies for avidemux3_qt4 which 'Are' there but these 4 or 5 seem to be missing.
Is it possible to manually insert these missing files into /usr/bin? (Not sure why some of the file names seem to be duplicated with this command.)
b

Re: avidemux-2.7.1

Posted: 10 Jan 2019, 00:04
by leclaw
Our replies crossed paths...
I believe that I understand what you mean by "try next would be to get qt4..."
Is it a package that is available via usm?

Code: Select all

root@porteus:/# usm -g qt4

 Nothing found for:  qt4 
b

Re: avidemux-2.7.1

Posted: 10 Jan 2019, 00:32
by fulalas
Have you tried the AppImage version? It's supposed to be portable (self-contained): https://www.fosshub.com/Avidemux.html (look for Linux Universal Binary)

AppImage is a wonderful idea that usually doesn't work outside famous distros, but who knows...? :P

Re: avidemux-2.7.1

Posted: 10 Jan 2019, 01:01
by leclaw
Hi fulalas,
I have not had any experience with Appimage files yet, but I have read a bit about them.
I was just at the Qt.io website reading up on the version that they offer now. One is 'paid' and the other is 'open source' which I guess is a free version. It does not say on the web site but these are probably Qt5.
If I install Qt5, from whichever source, am I going to have a problem with it working with the avidemux-2.7.1 bundle that I have already created? All of the missing dependencies shown above seem to be qt4?
Anyway, this is a great learning experience. I really Love Porteus...

Re: avidemux-2.7.1

Posted: 10 Jan 2019, 01:18
by leclaw
So I've just been at the Qt.io website. The open source versions that they offer are all qt5 (5.0 up to 5.11) and vary from 1.0GB to 7.0GB.
That is a lot of space for the 4 files that I need... Guess I'll look into the AppImage version.
Is there any other place I could get these 4 files?
libQtGui.so.4 => not found libQtCore.so.4 => not found libQtNetwork.so.4 => not found libQtOpenGL.so.4 => not found
Not sure if having these in usr/bin would clear my problem but it's a tempting thought.
tks. b

Re: avidemux-2.7.1

Posted: 10 Jan 2019, 01:22
by donald
Hi
use usm -g qt-4 as search term; not qt4

Re: avidemux-2.7.1

Posted: 10 Jan 2019, 01:48
by leclaw
Just plowing ahead with this, I downloaded the avidemux_2.7.1v2.appImage from the itsfoss link above. Made it executable and ran it. Received a vast array of error messages, and no sign of the files that I might be needing.
So now I am pretty well stumped.
I have Avidemux installed and running on the Windoz side but I am interested in trying it under Linux. Any further thoughts on what I might be doing wrong?
b.