Picovoice / picovoice

On-device voice assistant platform powered by deep learning
Apache License 2.0
561 stars 109 forks source link

pvrecorder encountering compatibility issues on Ubuntu 20.04 (glibc) #824

Closed mshmedlab closed 4 months ago

mshmedlab commented 4 months ago

The problem is that installing Eagle caused an upgrade to PV recorder from 1.2.0 to 1.2.2, causing the PvRecorder is crashing with the error

OSError: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.33' not found (required by /home/msh/.local/lib/python3.8/site-packages/pvrecorder/lib/linux/x86_64/libpv_recorder.so) `

  1. My system is UBUNTU 20.04. Upgrading GLIBC in UBUNTU isn't recommended
  2. I have downgraded the PvRecorder to 1.2.0 and it seems that eagle is working, can i work with new eagle and PvRecorder 1.2.0?

What is the recommendation? Does PicoVoice supports UBUNTU 20.04? Regards, Raz

mrrostam commented 4 months ago

Hi,

  1. Since Eagle doesn't rely on the pvrecorder package, I assume you meant the pveagledemo package. If you've already downgraded pvrecorder and it's working fine for you, that's okay. However, please be aware that older versions may lack certain bug fixes and patches, which could cause issues in specific cases.
  2. Generally speaking, Picovoice products support the latest LTS release of Ubuntu so if it's possible you can upgrade your system to Ubuntu 22.04 LTS or the newly released 24.04 LTS.

By the way, this issue is opened in the wrong repository with an incorrect title. I'll have to close it, but feel free to open a new issue in either the pvrecorder or Eagle repository if you encounter more issues.

mshmedlab commented 4 months ago

Hi, Thanks for the prompt response. You are correct, the problem started when I installed the eagle demo. I am using Ubuntu 20.04 which should be supported . How should I fix the glibc issue? Regards Raz

Get Outlook for iOShttps://aka.ms/o0ukef


From: Reza (Pouya) Rostam @.> Sent: Thursday, May 9, 2024 3:43:46 PM To: Picovoice/picovoice @.> Cc: MSH LAB @.>; Author @.> Subject: Re: [Picovoice/picovoice] Picovoice Console Issue: (Issue #824)

Hi,

  1. Since Eagle doesn't rely on the pvrecorder package, I assume you meant the pveagledemo package. If you've already downgraded pvrecorder and it's working fine for you, that's okay. However, please be aware that older versions may lack certain bug fixes and patches, which could cause issues in specific cases.
  2. Generally speaking, Picovoice products support the latest LTS release of Ubuntu so if it's possible you can upgrade your system to Ubuntu 22.04 LTS or the newly released 24.04 LTS.

By the way, this issue is opened in the wrong repository with an incorrect title. I'll have to close it, but feel free to open a new issue in either the pvrecorderhttps://github.com/Picovoice/pvrecorder or Eaglehttps://github.com/Picovoice/eagle repository if you encounter more issues.

— Reply to this email directly, view it on GitHubhttps://github.com/Picovoice/picovoice/issues/824#issuecomment-2102590259, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BIL7VXDFR65YXOYMBAEK6FLZBNVQFAVCNFSM6AAAAABHOLNZZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBSGU4TAMRVHE. You are receiving this because you authored the thread.Message ID: @.***>

mrrostam commented 4 months ago

I thought you said you downgraded your pvrecorder, and that solved the issue, correct? If you mean you want to use the latest pvrecorder, I'm afraid you cannot.