I think libstdc++ is just a wrapper package for libuclibc++ so it won't have any files in it.
- K.C.
If I try the command "bittorrent-console" I get this still:
I did find a package named libstdc++ so I installed that:Code:$ bittorrent-console /opt/bin/python2.4: can't load library 'libstdc++.so.6'
However, when I try to see what files that package provided:Code:$ ipkg info 'libstd*' Package: libstdc++ Version: 0.2.0-6 Depends: libuclibc++ Status: install user installed Section: util Architecture: mipsel maintainer: NSLU2 Linux <nslu2-linux@yahoogroups.com> MD5Sum: 91fc3fd01f496b90076978073bc99255 Size: 653 Filename: libstdc++_0.2.0-6_mipsel.ipk Source: / Description: =Standard C++ library, wrapped for uClibc++ Successfully terminated.
Hmmm. Apparently none at all.Code:$ ipkg files libstdc++ Package libstdc++ (0.2.0-6) is installed on root and has the following files: Successfully terminated.
So, does anyone have any idea how I can get libstc++.so.6 library installed?
I think libstdc++ is just a wrapper package for libuclibc++ so it won't have any files in it.
- K.C.
I'm also interested in getting python installed and running as I intend to install fail2ban (ip banning ware) to curb the brute force attacks on vsftp. fail2ban is dependent on python so...
I'll be attempting to get python up this weekend... I'll post more if I'm successful (wasn't with perl from the ddwrt group but hey different software right?)
What is the use of that, when I am getting the following error?
If libstdc++ is just a wrapper package for libuclibc++, then why doesn't it install a symlink file at least?Code:$ bittorrent-console /opt/bin/python2.4: can't load library 'libstdc++.so.6'
Saaaaaaaayyyyyyyy ... that gives me an idea ......
...
...
I'm so clever! I made a symlink myself, /opt/lib/libstdc++.so.6 --> /opt/lib/libuClibc++-0.2.2.so
Python is now working !
(Well, if I'm really so clever, how come it took me this long to get Python working?)
Not so clever. Update to latest uclibc which include libstdc++.
libuclibc++ is different library with similar interface!
I have also removed libstdc++ wrapper package for this reason.
I'm very confused now.
I removed the link I made before for libstdc++ on this advice, and I updated uclibc. Python still worked! Great!
Now later I have installed rtorrent. Now I get:
We are back there again!Code:$ rtorrent rtorrent: can't load library 'libstdc++.so.6'
Should I put the symlink back? Or what do I do now?
I had a look at what was actually in uclibc
Hmmm. No libstdc++ there.Code:$ ipkg files uclibc Package uclibc (0.9.28-5) is installed on root and has the following files: /opt/lib/libcrypt-0.9.28.so /opt/lib/libnsl-0.9.28.so /opt/lib/libcrypt.so.0 /opt/lib/libutil-0.9.28.so /opt/lib/libm.so /opt/sbin/ldconfig /opt/lib/libgcc_s.so.1 /opt/lib/ld-uClibc.so.0 /opt/lib/libresolv.so.0 /opt/lib/libpthread.so.0 /opt/lib/libresolv-0.9.28.so /opt/lib/libdl.so.0 /opt/lib/libintl.so /opt/lib/libgcc_s.so /opt/lib/libnsl.so.0 /opt/lib/librt.so /opt/lib/libdl.so /opt/lib/libc.so.0 /opt/lib/libintl.so.0 /opt/lib/libpthread.so /opt/lib/libcrypt.so /opt/lib/libnsl.so /opt/lib/libintl-0.9.28.so /opt/lib/librt-0.9.28.so /opt/lib/libuClibc-0.9.28.so /opt/lib/libutil.so.0 /opt/lib/libm.so.0 /opt/lib/libpthread-0.9.28.so /opt/lib/ld-uClibc-0.9.28.so /opt/lib/libdl-0.9.28.so /opt/lib/libutil.so /opt/lib/librt.so.0 /opt/lib/libm-0.9.28.so /opt/lib/libc.so /opt/lib/libresolv.so Successfully terminated.
Last edited by hal2k1; 12-02-2007 at 10:23.
uclibc-opt_0.9.28-12 includes proper libstdc++ by default now
Thank you oleo for that very prompt response.
OK, I installed that. Here is how it went:
That fixed everything.Code:[root@wl700ge ~]$ ipkg install -force-overwrite uclibc-opt Installing uclibc-opt (0.9.28-12) to root... Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc-opt_0.9.28-12_mipsel.ipk package uclibc-opt suggests installing ipkg-opt Configuring uclibc-opt Updating /opt/etc/ld.so.cache Successfully terminated. [root@wl700ge ~]$ ipkg install -force-overwrite ipkg-opt Installing ipkg-opt (0.99.163-9) to root... Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ipkg-opt_0.99.163-9_mipsel.ipk Configuration file '/opt/etc/ipkg.conf' ==> File on system created by you or by a script. ==> File also in package provided by package maintainer. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions (if diff is installed) The default action is to keep your current version. *** ipkg.conf (Y/I/N/O/D) [default=N] ?n Configuring ipkg-opt Successfully terminated.
So, for those of you who followed kfurge's original install instructions, and who want to run python, rtorrent or amule (and possibly others as well), that is what is required.
You need to (force) install the packages uclibc-opt and ipkg-opt, and when you install ipkg-opt, keep your current configuration so that ipkg.conf is not over-written.