Coder Social home page Coder Social logo

Comments (5)

calebj avatar calebj commented on June 28, 2024 3

Related to #52. Lavalink doesn't run very well on embedded architectures like ARM, but it's possible.

You'll need to add libconnector.so to the lavaplayer-natives jar, then repack it into the Lavalink jar like so:

mkdir -p Lavalink-tmp/tmp/lavaplayer-natives ; pushd Lavalink-tmp
unzip ../Lavalink.jar
pushd tmp/lavaplayer-natives
unzip ../../BOOT-INF/lib/lavaplayer-natives-1.2.55.jar
mkdir -p natives/linux-arm/
cp ../../../libconnector.so natives/linux-arm/
jar -cvfm ../../BOOT-INF/lib/lavaplayer-natives-1.2.55.jar META-INF/MANIFEST.MF .
popd
rm -rf tmp/
jar -cvf0m ../Lavalink-repack.jar META-INF/MANIFEST.MF .
popd
rm -rf Lavalink-tmp

This assumes you have libconnector.so and Lavalink.jar in the cwd. You might also need libudpqueue.so.

I also have a PR (sedmelluq/lavaplayer#137) that would remove the need to repack jars to run Lavalink on platforms that don't have bundled libraries.

from lavalink.

AlekEagle avatar AlekEagle commented on June 28, 2024

I did all of that and sure enough I do need libudpqueue.so

from lavalink.

AlekEagle avatar AlekEagle commented on June 28, 2024

Has anyone made an ARM-bit libudpqueue.so yet? The docker you left in the PR isn't working on my computer

from lavalink.

calebj avatar calebj commented on June 28, 2024

It's Docker, and should work on any x86 machine. But I won't support it here. Here are the libraries I built for all ARM variants:
out-linux-arm.tar.gz. Repacking the udp-queue jar works the exact same way as the lavaplayer one.

from lavalink.

AlekEagle avatar AlekEagle commented on June 28, 2024

Thanks! I'll have them repacked in a few, thanks for all the help you have provided

from lavalink.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.