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

Cant get work in Ubuntu, PYTHON_VLC_LIB_PATH problem #69

Open
pjkool opened this issue Nov 26, 2023 · 3 comments
Open

Cant get work in Ubuntu, PYTHON_VLC_LIB_PATH problem #69

pjkool opened this issue Nov 26, 2023 · 3 comments

Comments

@pjkool
Copy link

pjkool commented Nov 26, 2023

Hi,
I am getting error when running
$ python3 $HOME/bin/music-caster/src/music_caster.py --debug
DEBUG: True
Locked music_caster.lock pid = 11110
Cannot load lib specified by PYTHON_VLC_LIB_PATH env. variable

what is the problem?
Thank You very much

@elibroftw
Copy link
Owner

When did you clone the repo? It works in Manjaro.

@fz0000
Copy link
Contributor

fz0000 commented Mar 23, 2024

Try the following steps:

  1. If you cloned the repo, check your git config:
cd $HOME/bin/music-caster
git config core.symlinks

If the result is false, run git config core.symlinks true to enable it then git checkout src/vlc_lib/ to update your files.

  1. If you still have this error after the above step, or you downloaded the code without git, try to use your own libvlc files as a workaround:
    1. make sure libvlc-dev is installed: sudo apt install libvlc-dev
    2. Run whereis libvlc.so in your terminal to find your system lib files.
      (The output might looks something like this: libvlc.so: /usr/lib/x86_64-linux-gnu/libvlc.so)
    3. Copy your lib files to src/vlc_lib folder and replace the old files.
      e.g. cp -f /usr/lib/x86_64-linux-gnu/libvlc* $HOME/bin/music-caster/src/vlc_lib/

@elibroftw
Copy link
Owner

Thanks fz0000. Linux support definitely in the dumpster right now. I don't have the time but I want to create a docker image with the dependencies so that I can build an AppImage fairly easily.

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

3 participants