question

QuangtruHUYNH-0015 avatar image
4 Votes"
QuangtruHUYNH-0015 asked CarvilleStephen-2317 edited

teams-1.4.00.13653-1.x86_64 is no compatible with CentOS-7 x86_64

CentOS-7 x86_64 users can not upgrade from teams-1.4.00.7556-1.x86_64 to teams-1.4.00.13653-1.x86_64.

Error message:
---> Package teams.x86_64 0:1.4.00.13653-1 will be an update
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.8)(64bit) for package: teams-1.4.00.13653-1.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: teams-1.4.00.13653-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package: teams-1.4.00.13653-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: teams-1.4.00.13653-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.22)(64bit) for package: teams-1.4.00.13653-1.x86_64

Only CentOS-8/RHEL8 are supported now.

Is there a way to revert the decision to remove RHEL7/CentOS-7 support for teams?

Thanks.

Tru

office-teams-linux-itpro
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Our entire department (30 developers) installed Teams 1.4.00.13653 on CentOS 7 without any issues.

I'm running CentOS Linux release 7.6.1810.

My libstdc++ versions installed:

Name : libstdc++
Arch : i686
Version : 4.8.5

Name : libstdc++
Arch : x86_64
Version : 4.8.5

Version 4.8.5 should be the latest available through the official CentOS repo. We didn't have to do anything special to get Teams to install.

1 Vote 1 ·

Microsoft did a similar thing to Edge a month or so ago. That built the rpms against a version of libstdc++ that requires GLIBCXX_3.4.20 or above. The version of that ships with RHEL/CentOS/Oracle 7 cuts off at GLIBCXX_3.4.19. Turns out it, apparently, was not a real requirement and a new rpm was released about a week after the error was pointed out to them.

Whether teams will get a similar correction as the one for Edge is anyone's guess right now.

0 Votes 0 ·
JimmyYang-MSFT avatar image
0 Votes"
JimmyYang-MSFT answered EricJohnson-0549 commented

Hi @QuangtruHUYNH-0015

Is there a way to revert the decision to remove RHEL7/CentOS-7 support for teams?

Do you mean you want to update teams version to 1.4.00.13653 in CentOS 7?

There is new version of Teams, now in insiders, and it's expected that older OS, like Ubuntu 16 or CentOS7, might stop working. This is expected and workaround/solution is to use SNAP package. For more details how to install SNAP package, you could refer to:

https://phoenixnap.com/kb/snap-packages

Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

The link above is for ubuntu. Here is a link to specific instructions for centos - https://snapcraft.io/install/teams-for-linux/centos

0 Votes 0 ·

@EricJohnson-0549

Thanks for your correction!

0 Votes 0 ·

Sadly, snap's don't work with network share based home directories. Me and my Centos 7 desktop have had to go back to web based teams. Shame. This is probably just a RPM building error on MS part, not a real dependency. CO7 is a supported OS till June 2024.... Sigh.

1 Vote 1 ·
QuangtruHUYNH-0015 avatar image
0 Votes"
QuangtruHUYNH-0015 answered CarvilleStephen-2317 commented

@JimmyYang-MSFT ,
I would rather not install snap and manage snap packages outside yum/rpm repositories, but this may work for some end users.

@Nikko-7561,
7.6 is old, I am running centos-release-7-9.2009.1.el7.centos.x86_64 kernel 3.10.0-1160.31.1.el7.x86_64, and libstdc++-4.8.5-44.el7.x86_64 libstdc++-4.8.5-44.el7.i686. I wonder how teams could be installed without the same errors.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Could it be a linking issue? Are all the libstdc++ dependency paths included in LD_LIBRARY_PATH?

0 Votes 0 ·

Just for S&G I installed the version for snap. It is pretty barebones. Better than nothing I suppose but not preferable to the 1.4.00.7556 revision.

0 Votes 0 ·
CarvilleStephen-2317 avatar image
0 Votes"
CarvilleStephen-2317 answered QuangtruHUYNH-0015 published

Is the source RPM varilable? I could not find it in the repository. I am no expert on rpm building but I might be able to determine if the dependency is real.

· 9
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Even if the dependency were not really required, something fishy is going on with OP's configuration. Maybe YUM is looking in the wrong spot? Maybe libstdc++ was installed in a non-typical location? Maybe there is a discrepancy between the version Teams wants to install, and the one that it says it's installing. Who knows?

Whatever the reason, Teams or YUM can't find the dependencies, even though they do exist on OP's machine. Hence why I suggested that it might be a linking issue. I would first look to see where the dependencies are stored, and make sure the paths are accessible globally.

0 Votes 0 ·

I'm not so sure

I downloaded the rpm file, dropped it onto an NFS server and tried the install from a dozen CentOS 7 machines. They all reported the libstdc++.so.6 error.

 --> Finished Dependency Resolution
 Error: Package: teams-1.4.00.13653-1.x86_64 (/teams-1.4.00.13653-1.x86_64)
            Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
 Error: Package: teams-1.4.00.13653-1.x86_64 (/teams-1.4.00.13653-1.x86_64)
            Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit)
 Error: Package: teams-1.4.00.13653-1.x86_64 (/teams-1.4.00.13653-1.x86_64)
            Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
 Error: Package: teams-1.4.00.13653-1.x86_64 (/teams-1.4.00.13653-1.x86_64)
            Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
 Error: Package: teams-1.4.00.13653-1.x86_64 (/teams-1.4.00.13653-1.x86_64)
            Requires: libstdc++.so.6(GLIBCXX_3.4.22)(64bit)

0 Votes 0 ·
Lisa-7561 avatar image Lisa-7561 CarvilleStephen-2317 ·

But you do have libstdc++ version 4.8.5 installed, right? Where is the 64-bit version of libstdc++.so.6 located on your machine? It should be in /usr/lib64, but sometimes it’s installed somewhere else. If it’s not in /usr/lib64, then that could be part of the issue.

When you find the file, run:

strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX

In the output, do you see the version required for Teams?


0 Votes 0 ·
Show more comments
QuangtruHUYNH-0015 avatar image
0 Votes"
QuangtruHUYNH-0015 answered CarvilleStephen-2317 edited

Snapd is not helping our use case as https://snapcraft.io/docs/home-outside-home, our $HOME are NFS mounted don't live under /home ....

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Have you tried using a symbolic link?

ln -sf /path/to/user /home/user

You will probably have to edit the home directoy in /etc/passwd.

0 Votes 0 ·