Page 1 of 2

GLIBCXX Version

Posted: 29 Nov 2016, 04:13
by willard
Re: 3.1, 32-bit
Greetings!
SSR has always installed OOTB, but not with Porteus:

Code: Select all

@porteus:/home/guest# simplescreenrecorder
simplescreenrecorder: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by simplescreenrecorder)
simplescreenrecorder: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by simplescreenrecorder)
root@porteus:/home/guest# 
Q: Please interpret this SSR dialog regarding GLIBCXX version?
http://www.maartenbaert.be/simplescreenrecorder/
willard

Re: GLIBCXX Version

Posted: 29 Nov 2016, 09:53
by jssouza
Hi willard,

How did you install simplescreenrecorder?
On 3.1 lxqt 32bit I was successfully able to install it directly from usm and run it without any errors.

Code: Select all

usm -g simplescreenrecorder
The simplescreenrecorder bundle created by USM with additional dependencies pulled in are as follows:

Code: Select all

guest@porteus:~$ ls /mnt/live/memory/images/simplescreenrecorder-20131227-i486-bundle.xzm/var/log/packages
celt-0.11.3-i486-1ponce
jack-audio-connection-kit-0.124.1-i486-1ponce
simplescreenrecorder-20131227-i486-1alien

Re: GLIBCXX Version

Posted: 29 Nov 2016, 20:39
by willard
jssouza wrote:Hi willard,

How did you install simplescreenrecorder?
On 3.1 lxqt 32bit I was successfully able to install it directly from usm and run it without any errors.

Code: Select all

usm -g simplescreenrecorder
The simplescreenrecorder bundle created by USM with additional dependencies pulled in are as follows:

Code: Select all

guest@porteus:~$ ls /mnt/live/memory/images/simplescreenrecorder-20131227-i486-bundle.xzm/var/log/packages
celt-0.11.3-i486-1ponce
jack-audio-connection-kit-0.124.1-i486-1ponce
simplescreenrecorder-20131227-i486-1alien
jssouza,
SBo
I've never used CLI usm and need the additional syntax to install/activate SSR (SSR download appears in /tmp/usm):

Code: Select all

root@porteus:~# usm -g simplescreenrecorder
 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit
1) simplescreenrecorder-20131227-i486-1alien.tgz
#? 1
Processing:   simplescreenrecorder-20131227-i486-1alien.tgz 
Ignored libraries: 
Libraries required:  60
Libraries found in system: 60
Libraries to resolve: 0
The following packages are required. 
simplescreenrecorder-20131227-i486-1alien.tgz [700K] [not installed]
Total size: 700 KB
 Press [r] to remove packages, [q] to quit, or enter to start downloading.
Downloading: simplescreenrecorder-20131227-i486-1alien.tgz  DONE
root@porteus:~# 
willard

Re: GLIBCXX Version

Posted: 29 Nov 2016, 21:08
by Bogomips

Code: Select all

activate   /tmp/usm/simplescreenrecorder-20131227-i486-1alien.xzm
Anyway usm might have already done it for you. In any case it needs to be moved to the modules folder so that it is activated every time Porteus is started.

Re: GLIBCXX Version

Posted: 30 Nov 2016, 06:22
by willard
Bogomips wrote:

Code: Select all

activate   /tmp/usm/simplescreenrecorder-20131227-i486-1alien.xzm
Anyway usm might have already done it for you. In any case it needs to be moved to the modules folder so that it is activated every time Porteus is started.
Hi,
SSR now functions OK, but it uses the qt4.x lib that inhibits qt3.x applications functionality, rendering them useless:

Code: Select all

root@porteus:/home/guest# qdvdauthor
qdvdauthor: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory
root@porteus:/home/guest# 
. . . qdvdauthor did function OK prior to installing module 'qt-4.8.5-i486-2.xzm'!
Q: Can qt3.x code function in a qt4.x environment?
willard

Re: GLIBCXX Version

Posted: 30 Nov 2016, 12:47
by Bogomips
Please post output of

Code: Select all

usm  -i

Re: GLIBCXX Version

Posted: 30 Nov 2016, 21:16
by willard
Bogomips wrote:Please post output of

Code: Select all

usm  -i
Hi,

Code: Select all

guest@porteus:~$ sudo usm -i
Password:
++++++++++++++++++++++++++++++
usm application information
USM version:  3.1.9
DB version:  161003
Current storage: /tmp/usm
Current config: /etc/usm/usm.conf
Current platform: Porteus-v3.1
Current arch: i686
Slackware Slackware 14.1
Current kernel 3.17.4-porteus
Current distros: slackware slackwarepatches slacky salix alien ponce slackonly
quiet initrd=initrd.xz changes=/porteus/
 Use: usm -i <package> 
 For example: usm -i imagemagick
guest@porteus:~$
The qdvdauthor developer claims its possible, following this directive:
Make sure you have the path to Qt3.x set BEFORE the path to Qt4.x.
E.g. export PATH=/usr/lib/qt3/bin:$PATH
. . . please validate
willard

Re: GLIBCXX Version

Posted: 30 Nov 2016, 22:06
by Bogomips
Thanks for providing info. Now have clearer picture of where you are. So try it:

Code: Select all

export PATH=/usr/lib/qt3/bin:$PATH
qdvdauthor
8)

Re: GLIBCXX Version

Posted: 01 Dec 2016, 00:21
by willard
Bogomips wrote:Thanks for providing info. Now have clearer picture of where you are. So try it:

Code: Select all

export PATH=/usr/lib/qt3/bin:$PATH
qdvdauthor
8)
B,
No change, but errors flagged:

Code: Select all

guest@porteus:~$ export PATH=/usr/lib/qt-3.3.8b/bin:$PATH
guest@porteus:~$ $PATH
bash: /usr/lib/qt-3.3.8b/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/opt/porteus-scripts:/usr/lib/qt/bin:/usr/lib/qt/bin:/usr/lib/qt/bin:/usr/lib/qt/bin: No such file or directory
guest@porteus:~$ qdvdauthor
qdvdauthor: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory
guest@porteus:~$ 

Code: Select all

guest@porteus:~$ cd /usr/lib/qt-3.3.8b/lib
guest@porteus:/usr/lib/qt-3.3.8b/lib$ ls
libdesignercore.a        libqt-mt.la         libqui.prl
libdesignercore.prl      libqt-mt.prl        libqui.so@
libeditor.a              libqt-mt.so@        libqui.so.1@
libeditor.prl            libqt-mt.so.3@      libqui.so.1.0@
libqassistantclient.a    libqt-mt.so.3.3@    libqui.so.1.0.0*
libqassistantclient.prl  libqt-mt.so.3.3.8*  pkgconfig/
guest@porteus:/usr/lib/qt-3.3.8b/lib$ sudo ln -s libqt-mt.so.0 libqt-mt.so.3
Password:
ln: failed to create symbolic link ‘libqt-mt.so.3’: File exists
guest@porteus:/usr/lib/qt-3.3.8b/lib$ 
willard

Re: GLIBCXX Version

Posted: 01 Dec 2016, 12:53
by Bogomips
Try as Superuser:

Code: Select all

echo  /usr/lib/qt-3.3.8b/lib >> /etc/ld.so.conf
cat /etc/ld.so.conf
Then:

Code: Select all

export PATH=/usr/lib/qt3/bin:$PATH
echo $PATH
qdvdauthor

Re: GLIBCXX Version

Posted: 02 Dec 2016, 01:15
by willard
Hi,
NO-go:

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# $PATH
bash: /usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/lib/qt/bin:/usr/lib/qt/bin: No such file or directory
root@porteus:/home/guest# cat /etc/ld.so.conf
/lib
/usr/lib
/usr/local/lib
/usr/i486-slackware-linux/lib
/usr/lib/qt-3.3.8b/lib
root@porteus:/home/guest# export PATH=/usr/lib/qt-3.3.8b/bin:$PATH
root@porteus:/home/guest# echo $PATH
/usr/lib/qt-3.3.8b/bin:/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/lib/qt/bin:/usr/lib/qt/bin
root@porteus:/home/guest# qdvdauthor
qdvdauthor: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory
root@porteus:/home/guest# 
I know it can be done w/SW14.2, so there must be more options . . .
willard

Re: GLIBCXX Version

Posted: 02 Dec 2016, 02:43
by Bogomips
What is ouput of:

Code: Select all

ls -l  /usr/lib/qt-3.3.8b/lib

Re: GLIBCXX Version

Posted: 02 Dec 2016, 02:58
by willard
Bogomips wrote:What is ouput of:

Code: Select all

ls -l  /usr/lib/qt-3.3.8b/lib
B,
This module was originally a TGZ that Porteus changed to XZM, so usm doesn't recognize it:

Code: Select all

guest@porteus:~$ ls -l  /usr/lib/qt-3.3.8b/lib
total 14179
-rw-r--r-- 1 root root 6864194 Feb 28  2008 libdesignercore.a
-rw-r--r-- 1 root root     868 Feb 28  2008 libdesignercore.prl
-rw-r--r-- 1 root root  452906 Feb 28  2008 libeditor.a
-rw-r--r-- 1 root root     803 Feb 28  2008 libeditor.prl
-rw-r--r-- 1 root root   38070 Feb 28  2008 libqassistantclient.a
-rw-r--r-- 1 root root     814 Feb 28  2008 libqassistantclient.prl
-rw-r--r-- 1 root root     826 Feb 28  2008 libqt-mt.la
-rw-r--r-- 1 root root     788 Feb 28  2008 libqt-mt.prl
lrwxrwxrwx 1 root root      17 Nov 26 20:31 libqt-mt.so -> libqt-mt.so.3.3.8*
lrwxrwxrwx 1 root root      17 Nov 26 20:31 libqt-mt.so.3 -> libqt-mt.so.3.3.8*
lrwxrwxrwx 1 root root      17 Nov 26 20:31 libqt-mt.so.3.3 -> libqt-mt.so.3.3.8*
-rwxr-xr-x 1 root root 6958628 Feb 28  2008 libqt-mt.so.3.3.8*
-rw-r--r-- 1 root root     694 Feb 28  2008 libqui.prl
lrwxrwxrwx 1 root root      15 Nov 26 20:31 libqui.so -> libqui.so.1.0.0*
lrwxrwxrwx 1 root root      15 Nov 26 20:31 libqui.so.1 -> libqui.so.1.0.0*
lrwxrwxrwx 1 root root      15 Nov 26 20:31 libqui.so.1.0 -> libqui.so.1.0.0*
-rwxr-xr-x 1 root root  197504 Feb 28  2008 libqui.so.1.0.0*
drwxr-xr-x 2 root root      31 Feb 28  2008 pkgconfig/
guest@porteus:~$ 
willard

Re: GLIBCXX Version

Posted: 02 Dec 2016, 07:25
by jssouza
Shouldn't /sbin/ldconfig be run after modifying /etc/ld.so.conf?

Re: GLIBCXX Version

Posted: 02 Dec 2016, 12:59
by Bogomips
^ You're the boss. :( So let's give it a whirl.

Code: Select all

echo  /usr/lib/qt-3.3.8b/lib >> /etc/ld.so.conf
cat /etc/ld.so.conf
/sbin/ldconfig
    export PATH=/usr/lib/qt3/bin:$PATH
    echo $PATH
    qdvdauthor