Libsodium.dll ruby

My project name is alpha-21 i want to know how can i import libsodium.dll to bot

Hey @JaZz executing the following in your project’s container should get libsodium installed. You’ll have to make sure whatever wrapper you’re going to use can find it at its non-default location, but at least the library will be available.

wget https://download.libsodium.org/libsodium/releases/LATEST.tar.gz
tar -xvf LATEST.tar.gz
cd libsodium-stable
./configure --prefix=/app
make && make check
make install

That will place libsodium.so and associated files in /app/lib. If you clean up the extraneous files after you’re done this should only take up about 5Mb of your project’s disk space.

1 Like

Sorry for the necroposting, popping in from nowhere and all, but only the ones in app/lib where .so files at are at are needed, right? Just like remove include/ and all. Thanks in advance.

.so is the Linux version of Windows’ .dll.

You can’t convert .dll into .so or vice-versa.

Glitch containers run on Linux, thus meaning the .so libraries (DLLs) are needed.

Umm i dont know what you guys talking about because i am new to ruby i am just a front and backend Javascript dev

@mobilegaming08, yes, that’s correct, if you follow the commands I listed that should place the required libsodium files in /app/lib so they can be used by other code. You should then be able to delete LATEST.tar.gz and /app/libsodium-stable once the install is complete.

@JaZz I don’t think any of this is Ruby-related.