Page 1 of 1

[REQUEST] Shared library locations, MythTV Backend

Posted: 25 Mar 2014 23:01
by Naoyuki Tai
It sounds a little silly, but I managed to run MythTV backend on the N4F 9.2 server by installing packages.

You need MySQL, MythTV backend, some more packages, and some trouble shooting, but in the end, I did it and it works!
I'm using a linux machine and Mac as a front end to watch TV show.
Having the backend on NAS box makes a lot of sense since it's where the disks sit.

I have none of analog video, and all capturing is done on HDHR Prime with cable card, so the data stream is on the network only.
I upgraded from dual core to quad since the commercial flagging is CPU intense.

With that, I consolidated two machines (one was Mythbuntu) into one, so added CPU power minus one machine means, overall, I reduced some power consumption in the house.
I still have a bit of problem to solve - how to do mythweb.

The main trouble was the shared library locations.
MySQL and MythTV install share lib in non "/usr/lib" or "/usr/local/lib" locations, and me being noob of N4F, I ended up hacking rc script to run ldconfig with /etc/ld-elf.so.conf? rather than the hard coded path.
(I'm a FreeBSD user since 3.x, MythTV user since 0.16, FYI)

REQUEST - I'd like to be able to add some directory path for ldconfig from web UI. That would make my life easier.

SUGGESTIONS - MySQL, MythTV backend become standard services of N4F. It would be really cool.
MythBuntu makes life easier but if N4F can run MythTV backend with a few clicks, that would be super.
For setting up the MythTV backend, you need a X-server capable machine and therefore, it needs some knowledge of networked X11.
But otherwise, setting up MythTV backend wasn't too hard.