[mythtv-users] Building V35 for the Raspberry Pi 4

James Abernathy jfabernathy at gmail.com
Wed Feb 12 11:15:38 UTC 2025


On Tue, Feb 11, 2025 at 4:06 PM Peter Bennett <pb.mythtv at gmail.com> wrote:

>
> On 2/11/25 15:26, James Abernathy wrote:
>
>
>
> On Tue, Feb 11, 2025 at 9:28 AM Peter Bennett <pb.mythtv at gmail.com> wrote:
>
>>
>> linmythexiv2 in built from source in MythTV. The cmake process builds
>> and installs usr/lib/libmythexiv2.so.0.99.0.0 . So this is not a case of
>> a missing run time dependency. For some reason cmake is not building or
>> not installing  libmythexiv2.so.0.99.0.0 . Look at the lib directory in
>> the output from cmake (the directory in CMAKE_INSTALL_PREFIX) to see if
>> libmythexiv2.so.0.99.0.0 is there.
>>
>> If it is not there, perhaps some build dependency is not found,
>> preventing libmythexiv2 being built.
>>
>> Peter
>>
>
> I don't know what dependency it was, but I added libsqlite3-dev and
> rebuilt after cleaning out the regular cmake build of plain old mythtv and
> this time the .deb installed and worked. I definitely has libmythexiv2 libs.
>
> I'm going to save that .deb and on a fresh install of RPI OS, I'll see
> what happens just installing the .deb
>
> JIm A
>
>
>
> To force a rebuild of everything, just delete
>
> 1. the directory from DCMAKE_INSTALL_PREFIX. In the case of mythtv-light
> that is normally in the form
>
>    $HOME/proj/build/noble-amd64/mythtv/master. It varies according to your
> operating system and branch.
>
> 2. Directory build-qt5 in the source tree.
>
> Peter
>

I think the complete rebuild is required every time you want to build
mythtv-light into a .deb.

I tried on my Production backend which is Debian 12 x86_64 to just do a git
pull on both packaging and mythtv repos and then checkout fixes/35.
Next I tried the build_package.sh and it flew through the build as very
little had changed.

i tried to install that .deb file and it did install cleanly, but
mythbackend would not run on reboot because it could not find
libmythtvexiv2.so...

Not sure what causes that, but this time I followed your 2 steps above and
also had to remove all the .pc files in /usr/lib/pkgconfig/

Then I rebuilt the mythtv-light package and it installed and worked
correctly.

Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20250212/c15b363e/attachment.htm>


More information about the mythtv-users mailing list