# Help building Plex Home Theater

**URL:** <https://forums.plex.tv/t/help-building-plex-home-theater/29256>\
**Category:** Apps & Creations\
**Created:** [February 17, 2013, 3:31pm UTC](https://forums.plex.tv/t/help-building-plex-home-theater/29256 "2013-02-17T15:31:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zAo](https://avatars.discourse-cdn.com/v4/letter/z/ce7236/32.png) [@zAo](https://forums.plex.tv/u/zAo)\
**Post date:** [February 17, 2013, 3:31pm UTC](https://forums.plex.tv/t/help-building-plex-home-theater/29256/1 "2013-02-17T15:31:08Z")

</div>

Or is it a bug?
Hi!  
  
I installed the latest Arch Linux i686 and did a git clone from:  
https://github.com/plexinc/plex-home-theater-public/  
  
After resolving all the dependencies, the build went fine; no errors. But, if I want to run it, I got:  

```auto

Unable to find path to XBMC data files!<br />
Exiting Plex Media Server queue...<br />
***Error in `./plexhometheater': free(): invalid pointer: 0x09573400***<br />
======= Backtrace: =========<br />
/usr/lib/libc.so.6(+0x764b2)[0xb58154b2]<br />
/usr/lib/libc.so.6(+0x77200)[0xb5816200]<br />
/usr/lib/libpthread.so.0(+0x6af6)[0xb64d1af6]<br />
/usr/lib/libpthread.so.0(+0x6d16)[0xb64d1d16]<br />
/usr/lib/libc.so.6(clone+0x5e)[0xb588fcce]<br />
======= Memory map: ========<br />
[Snipped memory dump]<br />

```

  
  
I configured with:  

```auto

./configure --prefix=/usr --with-platform=linux --disable-webserver --enable-libcec

```

  
  
Can someone help me resolving this issue?  
  
Thanks in advance,  
  
zAo | Johan

---

<div class="post-metadata">

**Author:** ![rZn](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/rzn/32/5472_2.png) [@rZn](https://forums.plex.tv/u/rZn)\
**Post date:** [February 18, 2013, 12:03pm UTC](https://forums.plex.tv/t/help-building-plex-home-theater/29256/2 "2013-02-18T12:03:13Z")

</div>

Hi.  
  
  
  
EDIT: Find the fix…

```auto

<br />
$export XBMC_HOME=/usr/share/XBMC<br />
$plexhometheater<br />

```

  
  
found it here: http://forums.plexapp.com/index.php/topic/58625-gentoo-from-git-sources-pht-status/page\_\_view\_\_findpost\_\_p\_\_347113  
  
I've got the same error on both my htpc and my thinkpad both are x86\_64 builds  
  

```auto

<br />
Unable to find path to XBMC data files!<br />
Exiting Plex Media Server queue...<br />
***Error in `plexhometheater': free(): invalid pointer: 0x00000000010ab9d0***<br />
======= Backtrace: =========<br />
/usr/lib/libc.so.6(+0x7ab06)[0x7fc401464b06]<br />
/usr/lib/libc.so.6(+0x7b883)[0x7fc401465883]<br />
/usr/lib/libpthread.so.0(+0x7bd2)[0x7fc405f39bd2]<br />
/usr/lib/libpthread.so.0(+0x7e1d)[0x7fc405f39e1d]<br />
/usr/lib/libc.so.6(clone+0x6d)[0x7fc4014d2efd]<br />
======= Memory map: ========<br />
--SNIP--<br />

```

  
  
Regards.

---

<div class="post-metadata">

**Author:** ![zAo](https://avatars.discourse-cdn.com/v4/letter/z/ce7236/32.png) [@zAo](https://forums.plex.tv/u/zAo)\
**Post date:** [February 20, 2013, 8:53am UTC](https://forums.plex.tv/t/help-building-plex-home-theater/29256/3 "2013-02-20T08:53:15Z")

</div>

Thanks rZn!  
  
  
  
I currently get an error on libavformat.so.54, but I’m one step further now. Thanks!

---

<div class="post-metadata">

**Author:** ![tobiashieta](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tobiashieta/32/82153_2.png) [@tobiashieta](https://forums.plex.tv/u/tobiashieta)\
**Post date:** [February 20, 2013, 4:55pm UTC](https://forums.plex.tv/t/help-building-plex-home-theater/29256/4 "2013-02-20T16:55:45Z")

</div>

You can’t use the automake buildsystem for PLEX/ht:  
  
  
  
mkdir build; cd build  
  
cmake … ; make  
  
  
  
Should get you started

---

<div class="post-metadata">

**Author:** ![futa\_mill](https://avatars.discourse-cdn.com/v4/letter/f/2acd7d/32.png) [@futa\_mill](https://forums.plex.tv/u/futa_mill)\
**Post date:** [March 16, 2013, 5:09am UTC](https://forums.plex.tv/t/help-building-plex-home-theater/29256/5 "2013-03-16T05:09:58Z")

</div>

> You can't use the automake buildsystem for PLEX/ht:  
>   
> mkdir build; cd build  
> cmake .. ; make  
>   
> Should get you started

Is this always going to be the case. A few weeks ago I attempted to use the buildroot for the pivos xios ds provided here&nbsp;[https://github.com/Pivosgroup.](https://github.com/Pivosgroup.) Which I pointed to plex ht but ran into countless issues when it started to build plex. It seems you guys have moved onto cmake and left make in the dust.

---

<div class="post-metadata">

**Author:** ![tobiashieta](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tobiashieta/32/82153_2.png) [@tobiashieta](https://forums.plex.tv/u/tobiashieta)\
**Post date:** [March 16, 2013, 5:59am UTC](https://forums.plex.tv/t/help-building-plex-home-theater/29256/6 "2013-03-16T05:59:36Z")

</div>

I would never use automake. But cmake can generate makefiles.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 10:55pm UTC](https://forums.plex.tv/t/help-building-plex-home-theater/29256/7 "2019-12-20T22:55:26Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
