Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

-beta3: gzip is back, new "error" with unrar

Featured Replies

Hi all,

 

In -beta3 Tom has re-included gzip.

 

In my go-script I install unrar:

 

installpkg /boot/Customizations/unrar/unrar-3.7.5-i486-1.tgz

 

But now I get a new error:

 

root@NAS_Serup:~# unrar

unrar: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

 

I guess I'm missing a file?

 

Regards,

Søren

I guess unrar is written in c++  :P

 

Yes the c++ runtime library was omitted because it's over 800K in size by itself.

 

If I may ask - what are you using unrar for??

Good point WeeboTech - probably a better solution is for advanced users to install needed packages on-the-fly via the 'go' script.

 

You also could put the library itself (libstdc++.so.6.0.3) on the Flash, say in a created directory called 'config/usr/lib', and then create a symlink to it via 'go' script in the /usr/lib directory, something like this:

 

(cd /usr/lib; ln -s /boot/config/usr/lib/libstdc++.so.6.0.3 libstdc++.so.6)

 

This way, the library only takes up space in RAM when it's loaded; though the application will load slower.

 

Note: C++ can be a real pain if the run-time library is not compiled with the same compiler version as the application.  For this reason you see many apps that statically link the run-time (so the needed library modules are included with the application image).  Perhaps there's a version of unrar where this is the case.

> probably a better solution is for advanced users to install needed packages on-the-fly via the 'go' script.

I concur.

 

Another option is to extract the library to a directory on the flash

 

Then when needed set an environment variable before running the application.

 

export LD_LIBRARY_PATH=/boot/lib

 

However this is not as clean as the symlink.

 

When I need to do this with special libraries, I usually make a script that does it all then calls the application.

(symlink is still cleaner, but sometimes I need to isolate libraries/programs).

 

 

 

Here s a quick script that can called from the go script.

It will install all packages in /boot/packages.

Just drop them in that directory and reboot (or rerun the script)

 

root@unraid:/boot/config/rc.local# more S10-installpkg

 

#!/bin/bash
for package in /boot/packages/*.tgz
do echo "Installing $package"
   installpkg $package 2>&1 | logger -tinstallpkg -plocal7.info -i
done

 

One point to consider, is any packages installed will probably have man and usr doc files.

These should be removed (if known) to save ram.

 

  • Author

Thanks you two. I'll look into your suggestions.

 

Tom, it is way faster to unpack large archives directly on the unraid server (where the data are placed), then on my laptop through a wireless g connection.

 

Regards,

Søren

 

> it is way faster to unpack large archives directly on the unraid server

I agree,

I have one share called pub (for public files) for all drives, manuals, source code archives, etc, etc.

 

I wget all my files from the internet via telnet on the unraid server.

then unzip/untar them there for the very same reason.

 

(Although not having nfs is killing me).

 

 

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.