Author Topic: Scp Not Working On Cacko 1.21b  (Read 3435 times)

fir

  • Newbie
  • *
  • Posts: 32
    • View Profile
Scp Not Working On Cacko 1.21b
« 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?

Glenbo

  • Newbie
  • *
  • Posts: 8
    • View Profile
Scp Not Working On Cacko 1.21b
« Reply #1 on: December 02, 2004, 05:02:31 pm »
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.

dwchapin

  • Newbie
  • *
  • Posts: 13
    • View Profile
Scp Not Working On Cacko 1.21b
« Reply #2 on: December 02, 2004, 06:34:41 pm »
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....
SL-5500 OZ 3.5.1, SL-C860 w/Cacko 1.22 lite, hotfix A
CF: Socket CF-Bluetooth 'G', SMC Wireless card, various storage CFs
SD: 1GB Lexar
SuSE 9.2 (home), Win2K (work)

sargon

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • http://
Scp Not Working On Cacko 1.21b
« Reply #3 on: December 02, 2004, 08:51:20 pm »
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).

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Scp Not Working On Cacko 1.21b
« Reply #4 on: December 02, 2004, 09:24:38 pm »

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

fir

  • Newbie
  • *
  • Posts: 32
    • View Profile
Scp Not Working On Cacko 1.21b
« Reply #5 on: December 03, 2004, 11:07:55 am »
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

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.

dwchapin

  • Newbie
  • *
  • Posts: 13
    • View Profile
Scp Not Working On Cacko 1.21b
« Reply #6 on: December 04, 2004, 12:05:18 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

(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.
« Last Edit: December 04, 2004, 12:21:08 am by dwchapin »
SL-5500 OZ 3.5.1, SL-C860 w/Cacko 1.22 lite, hotfix A
CF: Socket CF-Bluetooth 'G', SMC Wireless card, various storage CFs
SD: 1GB Lexar
SuSE 9.2 (home), Win2K (work)

ev1l

  • Hero Member
  • *****
  • Posts: 608
    • View Profile
    • http://bbshuffle.blogspot.com/
Scp Not Working On Cacko 1.21b
« Reply #7 on: December 05, 2004, 10:53:15 pm »
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  

fir

  • Newbie
  • *
  • Posts: 32
    • View Profile
Scp Not Working On Cacko 1.21b
« Reply #8 on: December 08, 2004, 09:05:57 am »
Quote
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!