Entware / Entware-ng

Entware-ng
GNU General Public License v2.0
1.21k stars 152 forks source link

Amule fails to start #608

Closed thuantran closed 7 years ago

thuantran commented 7 years ago

Amule fail to start with following error: amuled -f -c /opt/var/amule amuled: error while loading shared libraries: libbfd-2.26.1.so: cannot open shared object file: No such file or directory

Looks like it needs to be recompile with latest libbfd.

Please tell me when it's up.

Thanks and best regards.

zyxmon commented 7 years ago

It looks like you have not run

opkg update
opkg upgrade

before package installation. If it does not help, please update all libraries running

opkg list-installed|grep -v "libc "|sed 's/ - .*$//'|grep lib|grep -v libpthread|grep -v libgcc|xargs -n 5 opkg --force-reinstall install

opkg system is not always clever enough to update all needed files.

thuantran commented 7 years ago

Does not fixed the problem for me after what I have done what you told me:

ASUSWRT-Merlin RT-AC56U 380.65-4 Wed Mar 29 04:39:47 UTC 2017 admin@RT-AC56U-84E0:/tmp/home/root# opkg update Downloading http://entware.zyxmon.org/binaries/armv7/Packages.gz Updated list of available packages in /opt/var/opkg-lists/packages admin@RT-AC56U-84E0:/tmp/home/root# opkg upgrade admin@RT-AC56U-84E0:/tmp/home/root# opkg list-installed|grep -v "libc "|sed 's/

As I told you this is because of lifbfd has been updated to version 2.26 without recompiling amule. So I tried to reinstall amule package and that fixed it for me. I have all these packages installed long ago, maybe that's why and you should have increase the amule - 2.3.2-1 to amule - 2.3.2-2 for libbfd update?

thuantran commented 7 years ago

Got different error now:

 2017-04-01 21:18:52: Initialising aMuleD SVN compiled with wxBase v2.8.12
 2017-04-01 21:18:52: Checking if there is an instance already running...
 2017-04-01 21:18:52: No other instances are running.
 2017-04-01 21:18:52: ListenSocket: Ok.
 2017-04-01 21:18:52: Loading temp files from /mnt/<FSDfsdfsf>
 2017-04-01 21:18:52: All PartFiles Loaded.
 2017-04-01 21:18:52: amuled: OnInit - starting timer

Terminated after throwing an instance of 'std::bad_alloc'
        what(): std::bad_alloc
        backtrace:
[2] ?? in /opt/lib/libstdc++.so.6[0x40815058]

Aborted

Fixed it by rebooting the router.