OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Scp Not Working On Cacko 1.21b, undefined symbol: __clz_tab
fir
post Dec 2 2004, 07:31 AM
Post #1





Group: Members
Posts: 32
Joined: 20-November 04
Member No.: 5,540



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?
Go to the top of the page
 
+Quote Post
Glenbo
post Dec 2 2004, 02:02 PM
Post #2





Group: Members
Posts: 8
Joined: 17-November 04
Member No.: 5,496



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.
Go to the top of the page
 
+Quote Post
dwchapin
post Dec 2 2004, 03:34 PM
Post #3





Group: Members
Posts: 13
Joined: 24-September 04
Member No.: 4,748



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....
Go to the top of the page
 
+Quote Post
sargon
post Dec 2 2004, 05:51 PM
Post #4





Group: Members
Posts: 23
Joined: 29-September 03
Member No.: 520



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).
Go to the top of the page
 
+Quote Post
stupkid
post Dec 2 2004, 06:24 PM
Post #5





Group: Members
Posts: 578
Joined: 2-January 04
From: Texas USA
Member No.: 1,324



Here is your solution:

http://www.oesf.org/forums/inde...p,and,__clz_tab
Go to the top of the page
 
+Quote Post
fir
post Dec 3 2004, 08:07 AM
Post #6





Group: Members
Posts: 32
Joined: 20-November 04
Member No.: 5,540



That lead to another thread where someone purports to offer the file needed to solve the problem:

http://www.oesf.org/forums/inde...indpost&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.
Go to the top of the page
 
+Quote Post
dwchapin
post Dec 3 2004, 09:05 PM
Post #7





Group: Members
Posts: 13
Joined: 24-September 04
Member No.: 4,748



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, 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.
Go to the top of the page
 
+Quote Post
ev1l
post Dec 5 2004, 07:53 PM
Post #8





Group: Members
Posts: 608
Joined: 21-June 04
From: The Netherlands
Member No.: 3,774



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 dry.gif
Go to the top of the page
 
+Quote Post
fir
post Dec 8 2004, 06:05 AM
Post #9





Group: Members
Posts: 32
Joined: 20-November 04
Member No.: 5,540



QUOTE(dwchapin @ Dec 4 2004, 05:05 AM)
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!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th May 2013 - 07:29 PM