Jump to content


Photo

Bug in SCAM


  • Please log in to reply
19 replies to this topic

#1 jaSalta387

  • Member
  • 8 posts

0
Neutral

Posted 12 February 2012 - 23:34

Hello all,

I have just upgraded my ET-5000 to openpli 2.1, I used the nightly build of 12 February. Everything when smooth, with almost no problems. I wanted to use SCAM but it did not work "out of the box" after installing it with the plugin manager. So I had to go hands-on using a telnet connection. I experienced the following:

root@et5x00:~# /etc/init.d/softcam.scam start
/usr/bin/scam_3.60: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory

I found a workaround by created a symlink to the existing libssl.so.0.9.8

root@et5x00:~# ln -s /usr/lib/libssl.so.0.9.8 /usr/lib/libssl.so.0.9.7

It was not good yet:

root@et5x00:~# /etc/init.d/softcam.scam start
/usr/bin/scam_3.60: error while loading shared libraries: libcrypto.so.0.9.7: cannot open shared object file: No such file or directory

I did the same trick as for the previous library:

root@et5x00:~# ln -s /usr/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.0.9.7

And voila, scam was up and running. It'd be nice that the bug is patched somehow.

Re: Bug in SCAM #2 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,503 posts

+118
Excellent

Posted 13 February 2012 - 13:14

libcrypto.so.0.9.7 is allready a dependency from scam, so it should have worked if you installed it directly via our feeds

so did you install it from our feed or by hand?

on the Glassfibre 1GB DVB-C...


Re: Bug in SCAM #3 jaSalta387

  • Member
  • 8 posts

0
Neutral

Posted 13 February 2012 - 21:59

libcrypto.so.0.9.7 is allready a dependency from scam, so it should have worked if you installed it directly via our feeds

so did you install it from our feed or by hand?

I installed scam from the feed, that is with the plugin manager... so I think there is a bug.

Re: Bug in SCAM #4 tacked

  • Member
  • 14 posts

0
Neutral

Posted 13 April 2013 - 12:05

This problem still exist :( Have install scam 3.60 from the feed and got the same error.

 

Fixed this way:

 

ln -s /usr/lib/libssl.so.0.9.8 /usr/lib/libssl.so.0.9.7

 

and

 

ln -s /lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.0.9.7

Edited by tacked, 13 April 2013 - 12:05.


Re: Bug in SCAM #5 littlesat

  • PLi® Core member
  • 57,193 posts

+700
Excellent

Posted 13 April 2013 - 12:07

It seems good old scam relies on good old libraries... (but the new ones are still fine).


Edited by littlesat, 13 April 2013 - 12:07.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Bug in SCAM #6 jor

  • Member
  • 23 posts

0
Neutral

Posted 17 November 2018 - 11:57

I currently use openpli6.2 and there is need to upgrade a viaccess card running scam3.60. I installed via openpli feed but when I run scam3.60 I get the message " error while loading shared libraries: libcrypto.so.0.9.7: cannot open shared object file: No such file or directory ". I tried the soplution with symlinks with no success. Any suggestions ???



Re: Bug in SCAM #7 WanWizard

  • PLi® Core member
  • 70,552 posts

+1,813
Excellent

Posted 17 November 2018 - 16:18

This is an ongoing problem with antique binaries.

 

You could try

cd /usr/lib
ln -s libcrypto.so.1.0.2 libcrypto.so.0.9.7

and then hope the API and functionality is that far backward compatible...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Bug in SCAM #8 jor

  • Member
  • 23 posts

0
Neutral

Posted 17 November 2018 - 20:00

This is an ongoing problem with antique binaries.

 

You could try

cd /usr/lib
ln -s libcrypto.so.1.0.2 libcrypto.so.0.9.7

and then hope the API and functionality is that far backward compatible...

Unfortunately no luck. Any other ideas ??



Re: Bug in SCAM #9 WanWizard

  • PLi® Core member
  • 70,552 posts

+1,813
Excellent

Posted 17 November 2018 - 20:15

Define no luck? You get an error message on the ln command? Or scam doesn't start?

 

If it doesn't work, you're out of luck, the scam binary needs to be compiled against the current libraries, and only the owner of the source code can do that.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Bug in SCAM #10 jor

  • Member
  • 23 posts

0
Neutral

Posted 17 November 2018 - 20:24

Define no luck? You get an error message on the ln command? Or scam doesn't start?

 

If it doesn't work, you're out of luck, the scam binary needs to be compiled against the current libraries, and only the owner of the source code can do that.

Sorry I was not precise. Scam is not starting with the message "error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory"



Re: Bug in SCAM #11 WanWizard

  • PLi® Core member
  • 70,552 posts

+1,813
Excellent

Posted 17 November 2018 - 20:32

so did you make the symlink?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Bug in SCAM #12 mrvica

  • Senior Member
  • 1,261 posts

+86
Good

Posted 17 November 2018 - 20:34

then you have to do the same with libssl

ln -s libssl.so.1.0.2 libssl.so.0.9.7



Re: Bug in SCAM #13 WanWizard

  • PLi® Core member
  • 70,552 posts

+1,813
Excellent

Posted 17 November 2018 - 21:48

And check what the current versions are, the question is about OpenPLi 6.2, not sure that is already using v1.0.2 (I'm running 7.0-rc locally).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Bug in SCAM #14 jor

  • Member
  • 23 posts

0
Neutral

Posted 18 November 2018 - 07:55

Thanks all for your suggestions. The current versions are 1.0.0. So after giving ln -s libssl.so.1.0.0 libssl.so.0.9.7 and ln -s libcrypto.so.1.0.0 libcrypto.so.0.9.7  the problem was solved and scam_3.60 running fine !!!



Re: Bug in SCAM #15 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 18 November 2018 - 11:11

... for the time being, count on crashing sooner or later.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Bug in SCAM #16 jor

  • Member
  • 23 posts

0
Neutral

Posted 18 November 2018 - 11:47

... for the time being, count on crashing sooner or later.

Why ?? By the way, scam is not the softcam I prefer to use. I just used it trying to update my viaccess card.



Re: Bug in SCAM #17 WanWizard

  • PLi® Core member
  • 70,552 posts

+1,813
Excellent

Posted 18 November 2018 - 13:54

Because sooner or later the API of the libraries will no longer be compatible. And then the symlink trick will no longer work, a recomplile is the only way to fix that.

 

Doesn't Oscam not update the card?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Bug in SCAM #18 jor

  • Member
  • 23 posts

0
Neutral

Posted 18 November 2018 - 17:33

Now I got it. No, the card still remains not updated even after using scam. At the past oscam had some issues to update this card, on the contrary scam update the card in a few minutes. So I guess that the provider stopped sending emms to update it because they want their subscribers to use the V5 or V6 cards.



Re: Bug in SCAM #19 littlesat

  • PLi® Core member
  • 57,193 posts

+700
Excellent

Posted 18 November 2018 - 17:43

Swiss card... ? Then it is indeed Game Over....


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Bug in SCAM #20 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 21 November 2018 - 19:36

Because sooner or later the API of the libraries will no longer be compatible. And then the symlink trick will no longer work, a recomplile is the only way to fix that.

That was not what I was referring to. I was referring to slight abi-changes between versions of shared libraries, where 99% of the functions keep the same definitions and run without problems and 1% of the functions have a changed definition (other number of parameters, other types of parameters etc.) and at least the calling program will get a nonsense reply, at worst the program will be aborted with a segfault.

 

So that's what I mean with "will crash sooner or later". I really think it's unwise.


Edited by Erik Slagter, 21 November 2018 - 19:37.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.



3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users