Project

General

Profile

Include extralibs during compile?

Added by Stephan Oelze almost 12 years ago

Dear Forum!

The more i play with tvheadend, the more i like it! :)

In order to get it running on my Router with sundtek usbstick,
the sundtek support suggests me to compile tvheadend with extra libs.(libmediaclient.so)

How is this done during compile process of tvheadend?
A small tip of you would make my life much easier!

On my ubuntu machine it works like a charm from the
ppa of Mr. Sutton.

I also tried to start tvheadend on openwrt after exporting the libary.
'export LD_PRELOAD=/tmp/opt/lib/libmediaclient.so'
But with no luck.

After all i would be happy to provide an working makefile for openwrt here.
Which brings together the greatest piece of Hardware and Software on the greatest plattform. ;)

Thank you!
Stephan


Replies (1)

RE: Include extralibs during compile? - Added by Stephan Oelze almost 12 years ago

If i compile in ubuntu, it does :

root@Glotzkiste:~/build/tvheadend-3.2.18/build.linux# ldd ./tvheadend
linux-vdso.so.1 => (0x00007fff3610f000)
/opt/lib/libmediaclient.so (0x00007fb8ec9b8000)
libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007fb8ec5dd000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fb8ec3c6000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fb8ec1be000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb8ebfba000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb8ebd9c000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb8eb9dd000)
/lib64/ld-linux-x86-64.so.2 (0x00007fb8ecbca000)

but in openwrt:

root@OpenWrt:/tmp# ldd ./tvheadend
librt.so.0 => /lib/librt.so.0 (0x77472000)
libdl.so.0 => /lib/libdl.so.0 (0x7745e000)
libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0x77407000)
libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x772c6000)
libpthread.so.0 => /lib/libpthread.so.0 (0x772a0000)
libm.so.0 => /lib/libm.so.0 (0x7727b000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x77258000)
libc.so.0 => /lib/libc.so.0 (0x771ec000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x77486000)

as you can see The Bold line is missing......
Any ideas on this?

    (1-1/1)