libstdc++-libc6.2-2.so.3 error - Forum - OpenEdge Deployment - Progress Community
 Forum

libstdc++-libc6.2-2.so.3 error

This question is answered

Hi 

I have a problem with converting databases on a 64 Bit CentOS 7.6.1810 server.

The databases are copied from an old Fedora Server with OpenEdge 9.1. 

I read the prerequisites here before installing OpenEdge and was installting libstdc++ with yum install libstdc++.

After that, I was opening this article. 

Before coping from one server to the other I was truncating the bi files in 9.1 with $DLC/bin/proutil <dbname> -C truncate bi.

The path from the databases hast not changed, on both servers e.g. /path/database.

Now, when I'm trying to convert with $DLC/bin/91dbutils/conv911 <dbname> I get this output. 

[root@ko-imas2019 ~]# /home/dlc11.7/bin/91dbutils/conv911 $WDB/inv
Progress conv911 Messages:

Are you certain you wish to convert the database from V9 to V11
/home2/imasdb/inv ? y/n:

y
PROGRESS Version 9.1E as of Fri Oct 22
/home/dlc11.7/bin/91dbutils/91_proutil: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
OpenEdge Release 10.2B05 as of Tue Sep 6 14:17:10 EDT 2011
You must have your database backed up before running the conversion. (1024)
Have you done this (y/n) ?
y
- The database is in use by another user. (529)
Sie müssen Ihre Datenbank vor der Konvertierung sichern. (1024)
Ist das geschehen (y/n) ?
y
Konvertierung abgebrochen. 1115 ist keine gültige Versionsnummer. (1285)

When I'm trying to convert from 9 to 10 like in the manuel I'll get the following output.

[root@ko-imas2019 ~]# proenv

DLC: /home/dlc11.7
WRKDIR: /usr/wrk
OEM: /home/oemgmt
OEMWRKDIR: /usr/wrk_oemgmt

Inserting /home/dlc11.7/bin to beginning of path and
setting the current directory to /usr/wrk.

OpenEdge Release 11.7.4 as of Wed Oct 10 18:18:59 EDT 2018

proenv>ORIGDLC=$DLC;export ORIGDLC
proenv>DLC=$ORIGDLC/bin/102dbutils;export DLC
proenv>PROCONV=$DLC/convmap.cp; export PROCONV
proenv>$DLC/102b05_dbutil $WDB/inv -C conv910
You must have your database backed up before running the conversion. (1024)
Have you done this (y/n) ?
y
- The database is in use by another user. (529)


Because of the shared libary error, 

[root@ko-imas2019 ~]# ldd $DLC/bin/_progres
linux-vdso.so.1 => (0x00007ffcc03db000)
librt.so.1 => /lib64/librt.so.1 (0x00007fa225d9a000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa225b7e000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fa22597a000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fa225743000)
libm.so.6 => /lib64/libm.so.6 (0x00007fa225441000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fa22513a000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fa224f24000)
libc.so.6 => /lib64/libc.so.6 (0x00007fa224b57000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa225fa2000)
libfreebl3.so => /lib64/libfreebl3.so (0x00007fa224954000)

I found so much about missing stdc++-libc6.2-2.so.3 library like Article 000056051 but I still got this error. Maybe also the The database is in use by another user. (529) while converting from 9 to 10 comes with the same error?

Also when I'm trying to truncate the bi files with 91dbutils I got this error.

[root@ko-imas2019 ~]# $DLC/bin/91dbutils/91truncatebi $WDB/inv
Progress 91truncatebi Messages:

Are you certain you wish to truncate the bi file for database
/home2/imasdb/inv ? y/n:

y
PROGRESS Version 9.1E as of Fri Oct 22
/home/dlc11.7/bin/91dbutils/91_proutil: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory

Verified Answer
  • You need compat-libstdc++296 package installed for 91_proutil to work on CentOS 7

    wget mirror.centos.org/.../compat-libstdc -296-2.96-144.el6.i686.rpm

    rpm -Uv compat-libstdc++-296-2.96-144.el6.i686.rpm

    and then 91_proutil should work

    This however

    >>

    proenv>$DLC/102b05_dbutil $WDB/inv -C conv910

    You must have your database backed up before running the conversion. (1024)

    Have you done this (y/n) ?

    y

    - The database is in use by another user. (529)

    <<

    has nothing to do with that library/package and it's not linked with it. My guess would be that either .lk file is present or your full machine hostname is too long (> 28 chars) and previous OE versions do not like that

All Replies
  • You need compat-libstdc++296 package installed for 91_proutil to work on CentOS 7

    wget mirror.centos.org/.../compat-libstdc -296-2.96-144.el6.i686.rpm

    rpm -Uv compat-libstdc++-296-2.96-144.el6.i686.rpm

    and then 91_proutil should work

    This however

    >>

    proenv>$DLC/102b05_dbutil $WDB/inv -C conv910

    You must have your database backed up before running the conversion. (1024)

    Have you done this (y/n) ?

    y

    - The database is in use by another user. (529)

    <<

    has nothing to do with that library/package and it's not linked with it. My guess would be that either .lk file is present or your full machine hostname is too long (> 28 chars) and previous OE versions do not like that

  • Great thanks!

    I installed compat-libstdc++296 via yum, then all dependencies are resolved.

    yum install mirror.centos.org/.../compat-libstdc -296-2.96-144.el6.i686.rpm

    After that also converting via conv911 in 91dbutils was no problem.


    Also I changed the hostname, no database is in use message appears