Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running in Ubuntu 22.04. #106

Open
slannon97 opened this issue Dec 24, 2023 · 6 comments
Open

Error running in Ubuntu 22.04. #106

slannon97 opened this issue Dec 24, 2023 · 6 comments

Comments

@slannon97
Copy link

slannon97 commented Dec 24, 2023

I'm trying to run the bot after performing a clean install of Ubuntu 22.04 LTS. I followed all the steps and installed all necessary requirements, but I receive the following error.
" /home/chris/.local/lib/python3.10/site-packages/pydantic/_migration.py:283: User
Warning: pydantic.error_wrappers:ValidationError has been moved to pydantic:V alidationError.
warnings.warn(f'{import_path} has been moved to {new_location}.')
Traceback (most recent call last):
File "/home/chris/TTMediaBot/TTMediaBot.py", line 7, in
from bot import Bot, app_vars
File "/home/chris/TTMediaBot/bot/init.py", line 10, in
from bot import (
File "/home/chris/TTMediaBot/bot/TeamTalk/init.py", line 19, in
from bot.TeamTalk.thread import TeamTalkThread
File "/home/chris/TTMediaBot/bot/TeamTalk/thread.py", line 14, in
from bot.TeamTalk.structs import *
File "/home/chris/TTMediaBot/bot/TeamTalk/structs.py", line 3, in
import TeamTalkPy
File "/home/chris/TTMediaBot/TeamTalkPy/init.py", line 1, in
from .TeamTalk5 import *
File "/home/chris/TTMediaBot/TeamTalkPy/TeamTalk5.py", line 24, in
dll = cdll.LoadLibrary("libTeamTalk5.so")
File "/usr/lib/python3.10/ctypes/init.py", line 452, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python3.10/ctypes/init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: libssl.so.1.1: cannot open shared object file: No such file or director
y "
Is this perhaps an error with the TT SDK? When I installed the bot on Ubuntu 20.04, I noticed it was using 5.8, which may not be compatible with 22.04. I'm at a loss and not sure what to do to fix this.

@johanntan
Copy link

You will need to install the libssl package.

wget -q 'http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.1.1f-1ubuntu2_amd64.deb'
sudo dpkg -i libssl-dev_1.1.1f-1ubuntu2_amd64.deb

@slannon97
Copy link
Author

I receive the following error.
" dpkg: dependency problems prevent configuration of libssl-dev:amd64:
libssl-dev:amd64 depends on libssl1.1 (= 1.1.1f-1ubuntu2); however:
Package libssl1.1 is not installed.

dpkg: error processing package libssl-dev:amd64 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libssl-dev:amd64"
I tried running sudo apt install libssl-dev, but this doesn't work either. Does this involve downgrading a component? If so, I'd rather not do that.

@beqabeqa473
Copy link
Collaborator

beqabeqa473 commented Dec 25, 2023 via email

@lbk2907
Copy link

lbk2907 commented Dec 25, 2023 via email

@slannon97
Copy link
Author

Thank you, this fixed the issue. I don't like it's a workaround. The program should be updated at some point rather than relying on old outdated components that don't ship with newer distros.

@musti12kelek
Copy link

Hello, although I wrote the commands you specified, I could not run TTMediaBot in Ubuntu 22.04. I didn't know what I should do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants