I've got a hard time installing libserial
on my Raspi 3B with the recent Raspbian: Both the libserial
docs, and the Debian package directory suggest to install the libserial-dev
package but a
sudo apt-get install libserial-dev
says that the package in question doesn't exist. So: Is the information from two different "official" websites wrong, or has the package been revoked or…? Compiling the library from scratch doesn't help either as is doesn't even compile due to a bug in some Python source file. Thank you.
UPDATE: This is a list of packages containing libserial
in their respective names available to me:
pi@autoradio:~ $ apt list libserial*
Auflistung... Fertig
libserializer-java/oldoldstable 1.1.6-4 all
libserialport-dev/oldoldstable,now 0.1.0-1 armhf [installiert]
libserialport0/oldoldstable,now 0.1.0-1 armhf [Installiert,automatisch]
There is a version of libserial
for Stretch, but apparently not available (any more?). 0.6.0 seems to be not accepted due to an outdated libc6
and libstdc++
:
pi@autoradio:/import/valen/autoradio $ sudo dpkg -i libserial0_0.6.0_rc2+svn122-4+b11_armhf.deb
(Reading database ... 142438 files and directories currently installed.)
Preparing to unpack libserial0_0.6.0_rc2+svn122-4+b11_armhf.deb ...
Unpacking libserial0:armhf (0.6.0~rc2+svn122-4+b11) over (0.6.0~rc2+svn122-4+b11) ...
dpkg: dependency problems prevent configuration of libserial0:armhf:
libserial0:armhf depends on libc6 (>= 2.28); however:
Version of libc6:armhf on system is 2.19-18+deb8u10.
libserial0:armhf depends on libstdc++6 (>= 5.2); however:
Version of libstdc++6:armhf on system is 4.9.2-10+deb8u2.
dpkg: error processing package libserial0:armhf (--install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Errors were encountered while processing:
libserial0:armhf
UPDATE #2: Maybe I've really got an age-old version of Raspbian:
pi@autoradio:/import/valen/autoradio $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie