turingmachine / omxplayer-sync

OMXPlayer-Sync facilitates synchronization of multiple OMXPlayer instances over the network in a master/slave fashion.
194 stars 70 forks source link

libssl1.0.0 is not installed #80

Closed MennoBroere closed 5 years ago

MennoBroere commented 5 years ago

Hi,

I'm trying to install OMXplayer-Sync on a fresh Raspberry Po Model 3b+ running the latest version of Streth. But when running:

dpkg -i omxplayer_0.3.7~git20170130~62fb580_armhf.deb

I got this errors:

dpkg: dependency problems prevent configuration of omxplayer: omxplayer depends on libssl1.0.0; however: Package libssl1.0.0 is not installed.

dpkg: error processing package omxplayer (--install): dependency problems - leaving unconfigured Processing triggers for man-db (2.7.6.1-2) ... Errors were encountered while processing: omxplayer

It looks like libssl is not included in Stretch. But running Jessie on a Model 3B+ ins't possible either.

How could i fix this?

Thanks!

magdesign commented 5 years ago

We never tested it on Stretch so far. Did you try to install libssl1.0.0 manually from here: https://packages.debian.org/jessie/libssl1.0.0

MennoBroere commented 5 years ago

This does get me further but i'm not able to play any files:

root@raspberrypi:/home/pi# omxplayer-sync -muv synctest.mp4 WARNING: dbus connection could not be established org.freedesktop.DBus.Error.ServiceUnknown: The name org.mpris.MediaPlayer2.omxplayer was not provided by any .service files WARNING: omxplayer did not start. Try to test with omxplayer -s OPTIONS root@raspberrypi:/home/pi#

stroith commented 5 years ago

This does get me further but i'm not able to play any files:

root@raspberrypi:/home/pi# omxplayer-sync -muv synctest.mp4 WARNING: dbus connection could not be established org.freedesktop.DBus.Error.ServiceUnknown: The name org.mpris.MediaPlayer2.omxplayer was not provided by any .service files WARNING: omxplayer did not start. Try to test with omxplayer -s OPTIONS root@raspberrypi:/home/pi#

I'm having the same issue

DSPeelJ commented 5 years ago

Try setting the sleep value to 20 or even 40. I had the omxplayer did not start issue with other files without changing this. Where it says initialize(self): sleep(10) # wait for omxplayer to appear on dbus return self._get_dbus_interface

DSPeelJ commented 5 years ago

Also make sure your piconfig is set to wait for network.

See if this helps

oBlight commented 5 years ago

I was able to resolve this error by installing the latest libssl using: apt-get install libssl1.0.2

This installs and then grumbles about omxplayer being broken, which you can fix using the command it suggests as a second step: apt --fix-broken install

Works fine for me after those two steps run on both master + slave RPi's.

(Appears to be an issue only on Raspian Stretch)

DSPeelJ commented 5 years ago

Thanks for the input!

3mrrrx commented 5 years ago

i am having the same issue..

also tried:

''' apt-get install libssl1.0.2 '''

did not help!

i am running raspain stretch. what kind of raspian are you running?

DSPeelJ commented 5 years ago

I'm on stretch as well but on the older pi3 not the newest one.

3mrrrx commented 5 years ago

i think its an operating system issue, as the Raspian Stretch does not have libssl1.0.0 installed.

on my pi3 b+ i can only install libssl1.0.2 not libssl1.0.0

i also installed libssl-dev

i tried creating symbolic links of both libssl1.0.2 and libssl-dev to libssl1.0.0

still did not help!

sad that code can not run on current systems.

pagaille commented 5 years ago

In my installation notes back in april 2018 I wrote "!!! omxplayer currently only installs itself on Jessie (not Stretch) because of a unmet dependency —> libssl1.0.0"

oBlight commented 5 years ago

@3mrrrx when you say that command didn’t work, what exactly happened? Did it return an error at all?

I’m using Raspberry Pi v2 running the latest Raspian install (stretch) and after installing the latest libssl as per my notes above, it works fine.

If you could type the error message for us here, it might just provide a little more information for us to help?

oBlight commented 5 years ago

Just on the off-chance, you might consider trying to install the latest libssl beta using:

apt-get install libssl1.1.1

Mediensysteme commented 5 years ago

The following commands worked for me:

sudo su
apt-get update
apt-get upgrade
apt-get install libghc-these-prof
apt-get install libghc-terminal-size-prof
apt-get install libglib2.0-dev
apt-get install libgtk2.0-dev
apt-get install --reinstall python-gi
apt-get install ffmpeg
apt-get remove omxplayer
rm -rf /usr/bin/omxplayer /usr/bin/omxplayer.bin /usr/lib/omxplayer
apt-get install libpcre3 fonts-freefont-ttf fbset libssh-4 python3-dbus
wget http://omxplayer.sconde.net/builds/omxplayer_0.3.7~git20170130~62fb580_armhf.deb
dpkg -i omxplayer_0.3.7~git20170130~62fb580_armhf.deb
wget -O /usr/bin/omxplayer-sync https://github.com/turingmachine/omxplayer-sync/raw/master/omxplayer-sync
chmod 0755 /usr/bin/omxplayer-sync
chmod 0755 /usr/bin/omxplayer
apt --fix-broken install
apt-get install libpcre3
apt --fix-broken install
wget https://github.com/turingmachine/omxplayer-sync/raw/master/synctest.mp4

running on RaspberryPi 3 B+ 2017 with 2018-11-13-raspbian-stretch