XBMC Fedora 9 problem

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Bajki Offline
Junior Member
Posts: 4
Joined: Nov 2008
Reputation: 0
Post: #1
I do like this

[root@Bajki Bajki]# yum groupinstall 'Development Tools'

[root@Bajki Bajki]# yum groupinstall 'Development Libraries'

[root@Bajki Bajki]# yum install subversion

[root@Bajki Bajki]# svn co http://xbmc.svn.sourceforge.net/svnroot/...linuxport/

[root@Bajki Bajki]# rpm -Uvh http://rpm.livna.org/livna-release-9.rpm

[root@Bajki Bajki]# yum install fribidi* libogg libogg-devel SDL* glew glew-devel libvorbis libvorbis-devel gperf libmad-devel tre tre-devel boost boost-devel bzip2-devel bzip2-libs curl-devel lzo lzo-devel libXinerama-devel mysql-libs mysql-devel freetype-devel jasper jasper-devel sqlite-devel faac faac-devel enca enca-devel hal hal-devel hal-libs cmake nasm libXmu-devel fontconfig-devel pcre-devel gcc-c++

[root@Bajki Bajki]# ln -s /usr/lib/mysql/libmysqlclient.so.15.0.0 /usr/lib/libmysqlclient.so

[root@Bajki Bajki]# cd linuxport/XBMC/

[root@Bajki Bajki]# ./configure

and then this..

[Image: aV1_H5cA.jpg]

what i need to do ??

Thanks!!!
find quote
assen Offline
Member
Posts: 54
Joined: Sep 2008
Reputation: 0
Post: #2
Hi,

On Fedora, libmysqclient is usually in /usr/lib/mysql. The linker is not configured to search in this directory by default, therefore it does not find the library. There are several options here, easies is to

ln -s /usr/lib/mysql/libmysqlclient.so.XX /usr/lib/libmysqlclient.so

where XX is the exact version on F9 (I don't have it right now).

WWell,
find quote
Bajki Offline
Junior Member
Posts: 4
Joined: Nov 2008
Reputation: 0
Post: #3
assen Wrote:Hi,

On Fedora, libmysqclient is usually in /usr/lib/mysql. The linker is not configured to search in this directory by default, therefore it does not find the library. There are several options here, easies is to

ln -s /usr/lib/mysql/libmysqlclient.so.15 /usr/lib/libmysqlclient.so

where XX is the exact version on F9 (I don't have it right now).

WWell,
it won't work...
find quote
althekiller Offline
Team-XBMC Developer
Posts: 4,701
Joined: May 2004
Reputation: 12
Post: #4
You need to run ldconfig after creating the symlink.

Pleas use pastebin instead of a silly screen shot next time.
find quote
Bajki Offline
Junior Member
Posts: 4
Joined: Nov 2008
Reputation: 0
Post: #5
I figured out...

This is right command

ln -s /usr/lib64/mysql/libmysqlclient.so.15.0.0 /usr/lib64/libmysqlclient.so

Thanks to all
find quote
Bajki Offline
Junior Member
Posts: 4
Joined: Nov 2008
Reputation: 0
Post: #6
But here is new problem

[Bajki@Bajki ~]$ xbmc
Fatal error encountered, aborting
Error log at /var/tmp/Bajki-xbmc.log
Aborted (core dumped)


00:07:42 T:3659824 M:585392128 NOTICE: Mapping drive Q to /usr/share/xbmc
00:07:42 T:3659824 M:585392128 NOTICE: Mapping drive U to /home/Bajki/.xbmc
00:07:42 T:3659824 M:585392128 NOTICE: Mapping drive T to /home/Bajki/.xbmc/use
rdata
00:07:42 T:3659824 M:585392128 WARNING: CopyFile, cant open file </usr/share/xbm
c/userdata/Lircmap.xml>. trying to use lowercase </usr/share/xbmc/userdata/lircm
ap.xml>
00:07:42 T:3659824 M:585392128 ERROR: CopyFile - cant open source file </usr/s
hare/xbmc/userdata/Lircmap.xml>
00:07:42 T:3659824 M:585392128 NOTICE: ----------------------------------------
-------------------------------
00:07:42 T:3659824 M:585392128 NOTICE: Starting XBMC, Platform: GNU/Linux. Bui
lt on Nov 26 2008 (SVN:exported)
00:07:42 T:3659824 M:585392128 NOTICE: Q is mapped to: /usr/share/xbmc
00:07:42 T:3659824 M:585392128 NOTICE: The executable running is: /usr/share/xb
mc/xbmc.bin
00:07:42 T:3659824 M:585392128 NOTICE: Log File is located: /var/tmp/Bajki-xbmc
.log
00:07:42 T:3659824 M:585392128 NOTICE: ----------------------------------------
-------------------------------
00:07:42 T:3659824 M:585134080 NOTICE: Setup SDL
00:07:42 T:3659824 M:583843840 INFO: Available videomodes (xrandr):
00:07:42 T:3659824 M:583843840 INFO: Number of connected outputs: 1
00:07:42 T:3659824 M:583843840 INFO: Output 'default' has 10 modes
00:07:42 T:3659824 M:583843840 INFO: ID:0x142 Name:1280x800 Refresh:50.000000
Width:1280 Height:800
00:07:42 T:3659824 M:583843840 INFO: Pixel Ratio: 1.000000
00:07:42 T:3659824 M:583843840 INFO: ID:0x143 Name:1024x768 Refresh:51.000000
Width:1024 Height:768
00:07:42 T:3659824 M:583843840 INFO: Pixel Ratio: 1.000000
00:07:42 T:3659824 M:583843840 INFO: ID:0x144 Name:800x600 Refresh:52.000000
Width:800 Height:600
00:07:42 T:3659824 M:583843840 INFO: Pixel Ratio: 1.000000
00:07:42 T:3659824 M:583843840 INFO: ID:0x145 Name:700x525 Refresh:53.000000
Width:700 Height:525
00:07:42 T:3659824 M:583843840 INFO: Pixel Ratio: 1.000000
00:07:42 T:3659824 M:583843840 INFO: ID:0x146 Name:640x512 Refresh:54.000000
Width:640 Height:512
00:07:42 T:3659824 M:583843840 INFO: Pixel Ratio: 1.000000
00:07:42 T:3659824 M:583843840 INFO: ID:0x147 Name:640x480 Refresh:55.000000
Width:640 Height:480
00:07:42 T:3659824 M:583843840 INFO: Pixel Ratio: 1.000000
00:07:42 T:3659824 M:583843840 INFO: ID:0x148 Name:640x480 Refresh:56.000000
Width:640 Height:480
00:07:42 T:3659824 M:583843840 INFO: Pixel Ratio: 1.000000
00:07:42 T:3659824 M:583843840 INFO: ID:0x149 Name:512x384 Refresh:57.000000
Width:512 Height:384
00:07:42 T:3659824 M:583843840 INFO: Pixel Ratio: 1.000000
00:07:42 T:3659824 M:583843840 INFO: ID:0x14a Name:400x300 Refresh:58.000000
Width:400 Height:300
00:07:42 T:3659824 M:583843840 INFO: Pixel Ratio: 1.000000
00:07:42 T:3659824 M:583843840 INFO: ID:0x14b Name:320x240 Refresh:59.000000
Width:320 Height:240
00:07:42 T:3659824 M:583843840 INFO: Pixel Ratio: 1.000000
00:07:42 T:3659824 M:583843840 INFO: LIRC Initialize: connect failed: No such
file or directory
00:07:42 T:3659824 M:583843840 INFO: Drives are mapped
00:07:42 T:3659824 M:583843840 NOTICE: load settings...
00:07:42 T:3659824 M:583843840 NOTICE: Mapping drive P to /home/Bajki/.xbmc/use
rdata
00:07:42 T:3659824 M:583843840 NOTICE: loading /home/Bajki/.xbmc/userdata/guise
ttings.xml
00:07:42 T:3659824 M:583843840 NOTICE: Getting hardware information now...
00:07:42 T:3659824 M:583843840 INFO: Using analog output
00:07:42 T:3659824 M:583843840 INFO: AC3 pass through is enabled
00:07:42 T:3659824 M:583843840 INFO: DTS pass through is enabled
00:07:42 T:3659824 M:583843840 NOTICE: Checking resolution 10
00:07:42 T:3659824 M:583843840 NOTICE: Setting autoresolution mode 3
05:07:42 T:3659824 M:583843840 NOTICE: No advancedsettings.xml to load (/home/B
ajki/.xbmc/userdata/advancedsettings.xml)
05:07:42 T:3659824 M:583843840 NOTICE: /home/Bajki/.xbmc/userdata/sources.xml
05:07:42 T:3659824 M:583843840 ERROR: Load Error loading /home/Bajki/.xbmc/use
rdata/sources.xml: Line 0, Failed to open file
05:07:42 T:3659824 M:583843840 INFO: Checking skinpath existence, and existen
ce of keymap.xml:Q:\skin...
05:07:42 T:3659824 M:583843840 INFO: XRANDR: /usr/share/xbmc/xbmc-xrandr --ou
tput default --mode 0x142
05:07:42 T:3659824 M:582897664 DEBUG: Constructing surface 720x480, shared=(ni
l), fullscreen=0
05:07:42 T:3659824 M:582897664 INFO: GLX Info: NOT Using destination window
05:07:42 T:3659824 M:582807552 INFO: GLX Info: Using parent window
05:07:42 T:3659824 M:582807552 INFO: GLX Info: Creating unshared context
05:07:42 T:3659824 M:577183744 INFO: GL_VENDOR = NVIDIA Corporation
05:07:42 T:3659824 M:577183744 INFO: GL_RENDERER = GeForce 8600M GT/PCI/SSE2
05:07:42 T:3659824 M:577183744 INFO: GL_VERSION = 2.1.2 NVIDIA 173.14.15
05:07:42 T:3659824 M:577183744 INFO: GL_EXTENSIONS = GL_ARB_color_buffer_floa
t GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragme
nt_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_imaging
GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffe
r_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader
_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_
compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_co
mbine GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repea
t GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matr
ix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB
_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once
GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_
EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EX
T_blend_subtract GL_EXT_compiled_vertex_
05:07:42 T:3659824 M:577093632 INFO: GL: Maximum texture width: 8192
05:07:42 T:3659824 M:577093632 INFO: load language info file: /usr/share/xbmc
/language/English/langinfo.xml
05:07:42 T:3659824 M:577093632 ERROR: unable to load /usr/share/xbmc/language/
English/langinfo.xml: Failed to open file at line 0
05:07:42 T:3659824 M:577007616 DEBUG: SECTION:LoadDLL(Q:\system\ImageLib-x86_6
4-linux.so)
05:07:42 T:3659824 M:577007616 DEBUG: Loading: /usr/share/xbmc/system/ImageLib
-x86_64-linux.so
05:07:42 T:3659824 M:577007616 WARNING: CreateFile, successfuly opened </usr/sha
re/xbmc/media/Splash.png> instead of </usr/share/xbmc/media/splash.png>
05:07:42 T:3659824 M:575188992 DEBUG: PICTURE: loaded image and created textur
e. height: 401, width: 721
05:07:42 T:3659824 M:575533056 DEBUG: Load /usr/share/xbmc/media/splash.png: 3
8.5ms
05:07:42 T:3659824 M:576479232 INFO: load language file:/usr/share/xbmc/langu
age/English/strings.xml
05:07:42 T:3659824 M:576479232 DEBUG: unable to load /usr/share/xbmc/language/
English/strings.xml: Failed to open file at line 0
05:07:42 T:3659824 M:576479232 DEBUG: unable to load Q:\language\english\strin
gs.xml: Failed to open file at line 0
05:07:42 T:3659824 M:576479232 WARNING: Emergency recovery console starting...
find quote
BLKMGK Offline
Donor
Posts: 1,634
Joined: Jul 2006
Reputation: 3
Location: USA Virginia
Post: #7
Umm, please use pastebin....

Ubuntu 10.10, MCE USB receiver, ASROCK 330 (ION), DVDs fed from unRAID cataloged by DVD Profiler. HD-DVD encoding Added DiNovo Mini KBRD w/track
find quote
assen Offline
Member
Posts: 54
Joined: Sep 2008
Reputation: 0
Post: #8
Hi,

This seems to have been solved (as I suggested - just did not notice the guy runs 64 bit, sorry), but just for the record:

althekiller Wrote:You need to run ldconfig after creating the symlink.

He does not. ldconfig updates the cache for ldd (the loader of dynamically linked libraries), which has nothing to do with the default library paths used by gcc when invoked as a linker. The problem on Fedora (I had it to) is that this path does not include /usr/lib/mysql (IMHO, installing mysql-devel package should update the gcc path, but it obviously does not -- which is Fedora bug), so -lmysqlclient fails with "Library not found".

WWell,
find quote
althekiller Offline
Team-XBMC Developer
Posts: 4,701
Joined: May 2004
Reputation: 12
Post: #9
Did you run "sudo make install" ? It doesn't look like your languages are installed.
find quote
Migi Offline
Junior Member
Posts: 2
Joined: Nov 2008
Reputation: 0
Post: #10
./configure
ln -s /usr/lib/mysql/libmysqlclient.so.15.0.0 /usr/lib/libmysqlclient.so
make

I get this error?

Making all in src
make[3]: Entering directory `/home/Migi/XBMC/XBMC/linuxport/XBMC/xbmc/visualizations/Goom/goom2k4-0/src'
make[4]: Entering directory `/home/Migi/XBMC/XBMC/linuxport/XBMC/xbmc/visualizations/Goom/goom2k4-0'
make[4]: Leaving directory `/home/Migi/XBMC/XBMC/linuxport/XBMC/xbmc/visualizations/Goom/goom2k4-0'
/bin/sh ../ylwrap goomsl_yacc.y y.tab.c goomsl_yacc.c y.tab.h goomsl_yacc.h y.output goomsl_yacc.output -- yacc -d
/bin/sh: ../ylwrap: není souborem ani adresářem
make[3]: *** [goomsl_yacc.c] Error 127
make[3]: Leaving directory `/home/Migi/XBMC/XBMC/linuxport/XBMC/xbmc/visualizations/Goom/goom2k4-0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Migi/XBMC/XBMC/linuxport/XBMC/xbmc/visualizations/Goom/goom2k4-0'
make[1]: *** [goom2k4-0/src/.libs/libgoom2.a] Error 2
make[1]: Leaving directory `/home/Migi/XBMC/XBMC/linuxport/XBMC/xbmc/visualizations/Goom'
make: *** [visualizations] Error 2
find quote