glidernet / ogn-rf

This software listens to OGN radio messages and sends it to Open Glider Network.
GNU General Public License v3.0
18 stars 15 forks source link

ogn-rf and gsm_scan require deprecated libjpeg.so.8 (v0.2.5) #20

Open kerel-fs opened 7 years ago

kerel-fs commented 7 years ago

Currently I'm trying to package rtlsdr-ogn 0.2.5 for Debian (as a binary package, since ogn-decode is closed-source). Unfortunately ogn-rf and gsm_scan were built against libjpeg8, which isn't available in debian jessie and newer. Please build against libjpeg62-turbo in the next release of rtlsdr-ogn to fix this issue.

Romeo-Golf commented 7 years ago

from memory it was libjpeg-dev which I found to be required in place of libjpeg8 ..

kerel-fs commented 7 years ago

@Romeo-Golf Yes, thanks.

libjpeg-dev is a dummy/virtual package which defaults to the default Debian implementation of libjpeg.so.62 JPEG library (on debian jessie this means libjpeg62-turbo). That said, rtlsdr-ogn should be built against libjpeg.so.62, which is provided by libjpeg-dev.

snip commented 7 years ago

libjpeg-dev is for compilation time not running time isn't it? It doesn't replace libjpeg8 but libjpeg8-dev

kerel-fs commented 7 years ago

For v0.2.5 during runtime the shared library libjpeg.so.8 is required, provided by libjpeg8. During build time the headers were provided by libjpeg8-dev.

For the next release, the shared library libjpeg.so.62 will be required, provided by libjpeg62 aka. libjpeg62-turbo, if you use the headers provided by libjpeg-dev aka. libjpeg62-turbo-dev during build time.

kerel-fs commented 7 years ago

PS. Anyway, I already solved this ""problem"" by building a source package for ogn-rf. :) I will publish it when I managed to install the configuration file and the named pipe (fifo) properly.

snip commented 7 years ago

I think the fifo can be created by ogn-rf itself instead of externally creating it.

pyrog commented 7 years ago

I think the fifo can be created by ogn-rf itself instead of externally creating it.

👍

svoop commented 7 years ago

@kerel-fs

Same problem here: Another piece of software requires libjpeg-turbo and is therefore blocked by v0.2.5. The OS is Gentoo, building against libjpeg.so.62 in v0.2.6 will solve this.

Will you be cutting v0.2.6 any time soon? I don't want to jangle your nerves, I'm just asking because I'd like to move the receiver to it's proper location on top of the hangar – and in case anything goes wrong upping rtlsdr-ogn, it'll be much harder to plug onto the UART socket up there 😁

svoop commented 7 years ago

@kerel-fs I've just upped the ebuild to 0.2.6 and switched to libjpeg-turbo as suggested by you. However, it bombs: error while loading shared libraries: libjpeg.so.8. Wasn't the new release supposed to build against libjpeg.so.62?

kerel-fs commented 7 years ago

Yes, it was supposed to build against libjpeg.so.62, but apparently the update to 0.2.6 had to be done in a hurry so this issue wasn't considered. I guess it will be considered in a future update.

hb9eue commented 3 years ago

After upgrading from Raspian 10 to 11 libjpeg8 ist NOT available anymore. ogn-rf and ogn-decode depend from it and do not run anymore on my raspberry.

fe00h commented 2 years ago

Note that you can recompile the latest ogn-rf sources to avoid it depending on libjpeg8

DooMMasteR commented 2 years ago

ogn-decode still needs the libjpeg8 though...

VladimirVLF commented 2 years ago

You can build it from sources. New Raspbian OS have all build tools pre-installed, so just run:

wget -qO- http://www.ijg.org/files/jpegsrc.v8d.tar.gz | tar -xz
cd jpeg-8d/
./configure --libdir=/usr/lib/
make && sudo make install
rm -fr jpeg-8d/