2009-04-07, 17:32
McGeagh Wrote:Python is annoying... like the snake it is, its wrangled itself in places not encapsulated by a #ifdef HAS_PYTHON...libGoAhead, DllLoader/exports/exports_python_linux, FileSystem/PluginDirectory, etc...
Question.... How do i tell xbmc to look for samba in the /usr/ folders, rather than in xbmc itself...? Whats the reason why samba, along with some other libs, in xbmc and not in the /usr folder? I tried getting libsmbclient for armel, and place it in the xbmc folder, but then it looks for dependencies, and placing it in either /usr or xbmc folder doesnt work... so want to make xbmc look in /usr for it...
Also slightly confused on some other libs that seem to build one on make, such as libGoAhead has made an arm version (apparently due to its name... -arm.a) and libsmb doesnt?
Sorry to be a pain... you lot have been a real help. Thanks!
first thing you need to understand is just because a certain lib is used internally in xbmc does not mean that you can replace it with a system lib. If the lib is wrapped, you must use the internal version or xbmc will not work correctly. You can tell if a lib is wrapped by looking at its makefile and if you see refs to "wrapper" in the linkage, its wrapped.
next, xbmc loads .so libs from its system directory. if you want to build against a real system lib, then you have to change the makefile and the xbmc source code to link and reference the real system lib. So how OSX does this for ffmpeg.
Bottom line, it's not as simple as just pointing xbmc to just real system libs. Much more complex than that.