OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: fir on December 02, 2004, 10:31:30 am
-
I can ssh in and out of my SL-C860, but if I initiate an scp either into it or out of it I get the following error:
scp: error while loading shared libraries: scp: undefined symbol: __clz_tab
Any idea how to get this working?
-
I have this problem too. But I can get around it by using 'su' to switch to root first and then trying scp or sftp. I haven't tried to figure out why it doesn't work under the normal 'zaurus' user.
-
This is interesting ... I *just* started having this problem. I recently reflashed with Cacko 1.21b to try to debug a bluetooth card issue, which more or less coincided with the beginning of the scp problem, but I could have sworn that 1) it didn't start happening the day after the reflash, and 2) that I reflashed with exactly the same downloaded rom image and hotfix 'B' that I used the first time, ie: nothing should have changed....
-
I have seen this several times on my 860. It always shows up after installing a package which modifies /etc/ld.so.conf to add another location for libraries (and it adds a new libssl in the process). tkcMail does this, and OM/PI has done this in the past as well (I don't remember if the latest version does or not). I always install apps to my SD card, so the location usually (for me) is /mnt/card/QtPalmtop/lib
That new location for libraries has a different version of libssl. That version is causing your problem.
You can either edit /etc/ld.so.conf and remove the new line (be sure to run ldconfig afterward), or delete the offending libssl and make a link pointing to /us/lib/libssl.so.0.9.7
Keep in mind that some apps won't run properly with the libssl which is in the Cacko ROM (tkcMail comes to mind---grrrrr).
-
Here is your solution:
https://www.oesf.org/forums/inde...p,and,__clz_tab (https://www.oesf.org/forums/index.php?showtopic=2738&hl=cacko,and,scp,and,__clz_tab)
-
That lead to another thread where someone purports to offer the file needed to solve the problem:
https://www.oesf.org/forums/inde...indpost&p=16896 (https://www.oesf.org/forums/index.php?showtopic=2853&view=findpost&p=16896)
But this posting leaves me feeling like a dunce. The psoter says "Here it is" but I don't see anything to click on to get the file. What am I missing?
Frank.
-
Amazingly enough if you're using Cacko there's still a copy in /usr/lib.rom even though you've blown away the business copy in /usr/lib. Quite thoughtful of the rom designers. So all you need to do is this (as root):
#cd /usr/lib
#mv libcrypto.so.0.9.7 libcrypto.so.0.9.7.bk
#ln -s /usr/lib.rom/libcrypto.so.0.9.7
(Obviously if you want a full-fledged copy instead of a softlink that works too.) This was suggested in another thread (https://www.oesf.org/forums/index.php?showtopic=5590), but with the wrong advice about ldconfig, which you should not run after doing the above. In fact you really should move the .bk file out of there entirely, because if you ever run 'ldconfig' it actually reinstigates the problem by re-softlinking the 0.9.7 to the 0.9.7.bk you just created, and you're back where you started!
The above fixes the scp problem for me, and the KOpieMail/Pi (which I believe is the culprit that writes over the rom's libcrypto, at least in my case) still runs.
This is great -- I was going nuts without scp.
-
Anyone else getting errors when transfering multibple files over USB? If i insert a 5 seconds sleep in between each file I transfer everything goes fine
-
Amazingly enough if you're using Cacko there's still a copy in /usr/lib.rom even though you've blown away the business copy in /usr/lib. Quite thoughtful of the rom designers. So all you need to do is this (as root):
#cd /usr/lib
#mv libcrypto.so.0.9.7 libcrypto.so.0.9.7.bk
#ln -s /usr/lib.rom/libcrypto.so.0.9.7
This solved my problem. Thanks everyone!