Closed TheChief79 closed 12 years ago
On OSX i get this
Dyld Error Message:
Symbol not found: __ZN4MPTV6Socket6osInitEv
Referenced from: /Applications/XBMC.app/Contents/Resources/XBMC/addons/pvr.team-mediaportal.tvserver/XBMC_MPTV.pvr
Expected in: flat namespace
The missing symbol on OSX should be solved with 0938783a1f5174bc6bb1c1328a6c6cdf22379379.
The iOS error seems to be a link problem against the wrong libsmbclient library. This means that the pvrclient part of the build system does not pass the proper library paths. I don't know how to solve this at the moment...
I removed -lsmbclient from Makefile in MP addon. I can enable and disable the addon now, but cannot test, because, i do not have MPTV.
Someone in the XBMC forum tested my latest build and it seems to work on ATV now. He wrote
I tried the new build and everything is fine so far.
But only SD-Channels working, with HD, there no picture but only sound. But thats not a problem for me.
THX a lot!!!!!!!!
-boschdi
So it should be ok to remove -lsmbclient from Makefile. Memphiz wrote about this:
MPTV addon links to smbclient? Thats not a good idea imho. If XBMC dyloads smbclient at the same time you can get really wonky results i guess.
Beside that - specifiyng -lsmbclient resulting in /Users/Shared/xbmc-depends/iphoneos5.1_armv7/lib/libsmbclient.dylib.0 is completly correct. You just have to ensure that the path gets changed into /Applications/XBMC.app/Frameworks/libsmbclient.dylib.0 inside of the MPTV binary before deployment (search google for install_name_tool).
Thanks for the hint. Just tested on Linux and it is ok to remove it. b8c570697bdf06b95ec9ca2ca052bf1174a6fbaa should fix this issue.
There must be a problem with the addon. One user send this report:
Seems to be linked to a wrong library (at wrong place). I get the same error, when i try to enabl the addon on iOS. Any Ideas?
libsmbclient.dylib.0 is included in XBMC.app/Frameworks and XBMC.frapplicance/Frameworks in both builds.