[mythtv-users] building mythtv for Fedora 41 with cmake
James Abernathy
jfabernathy at gmail.com
Sun Feb 9 14:02:37 UTC 2025
Sorry about the partial email that went out too soon.
I think the correct way to use the new cmake build stuff has finally sunk
into my brain.
On a fresh nuc box with Fedora Plasma 41 installed I followed the cmake
readme and this time I built master with these commands:
cmake --preset qt5 -DCMAKE_INSTALL_PREFIX=~/mythtv-output-jfa
cmake --build build-qt5
This way I didn't need 'sudo' to accomplish this and everything is in my
$HOME directory.
At first I did what the Mythtv Build from Source wiki calls out for
libraries but I also try setting the LD_LIBRARY_PATH.
I created a file /etc/ld.so.conf.d called mythtv.conf with the contents:
/home/jim/mythtv-output-jfa/lib/
/home/jim/mythtv-output-jfa/lib64/
and ran sudo ldconfig
I added to the end of my ~/.bashrc file the following:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/jim/mythtv-output-jfa/
export PATH=$PATH:/home/jim/mythtv-output-jfa/bin/
mythfrontend --platform xcb runs against my production backend just fine.
Is this sort of what I'm supposed to do?
Do I need the /etc/ld.so.conf.d stuff or is LD_LIBRARY_PATH all I need?
Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20250209/7fe2b063/attachment.htm>
More information about the mythtv-users
mailing list