GLIBCXX Version

Post here if you are a new Porteus member and you're looking for some help.
willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

GLIBCXX Version

Post#1 by willard » 29 Nov 2016, 04:13

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

jssouza
Samurai
Samurai
Posts: 180
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

Re: GLIBCXX Version

Post#2 by jssouza » 29 Nov 2016, 09:53

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

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: GLIBCXX Version

Post#3 by willard » 29 Nov 2016, 20:39

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

Bogomips
Full of knowledge
Full of knowledge
Posts: 2549
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: GLIBCXX Version

Post#4 by Bogomips » 29 Nov 2016, 21:08

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.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: GLIBCXX Version

Post#5 by willard » 30 Nov 2016, 06:22

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

Bogomips
Full of knowledge
Full of knowledge
Posts: 2549
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: GLIBCXX Version

Post#6 by Bogomips » 30 Nov 2016, 12:47

Please post output of

Code: Select all

usm  -i
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: GLIBCXX Version

Post#7 by willard » 30 Nov 2016, 21:16

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

Bogomips
Full of knowledge
Full of knowledge
Posts: 2549
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: GLIBCXX Version

Post#8 by Bogomips » 30 Nov 2016, 22:06

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)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: GLIBCXX Version

Post#9 by willard » 01 Dec 2016, 00:21

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

Bogomips
Full of knowledge
Full of knowledge
Posts: 2549
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: GLIBCXX Version

Post#10 by Bogomips » 01 Dec 2016, 12:53

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
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: GLIBCXX Version

Post#11 by willard » 02 Dec 2016, 01:15

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

Bogomips
Full of knowledge
Full of knowledge
Posts: 2549
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: GLIBCXX Version

Post#12 by Bogomips » 02 Dec 2016, 02:43

What is ouput of:

Code: Select all

ls -l  /usr/lib/qt-3.3.8b/lib
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

willard
Black ninja
Black ninja
Posts: 80
Joined: 02 Sep 2012, 08:36
Location: Sweden

Re: GLIBCXX Version

Post#13 by willard » 02 Dec 2016, 02:58

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

jssouza
Samurai
Samurai
Posts: 180
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm
Location: Liechtenstein

Re: GLIBCXX Version

Post#14 by jssouza » 02 Dec 2016, 07:25

Shouldn't /sbin/ldconfig be run after modifying /etc/ld.so.conf?

Bogomips
Full of knowledge
Full of knowledge
Posts: 2549
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: GLIBCXX Version

Post#15 by Bogomips » 02 Dec 2016, 12:59

^ 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
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Post Reply