LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-25-2006, 02:58 PM   #1
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Rep: Reputation: 30
Where can I get libfontconfig.so.1 ?


I have a Slack box without any GUIs installed and I'm trying to install mplayer. I've got part way but I'm missing some of the dependencies below. Can anyone please help me out as to where to find them. Is it just one package I'm missing?
Code:
	libmad.so.0 => /usr/lib/libmad.so.0 (0x40017000)
	libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x4002d000)
	libpng.so.3 => /usr/lib/libpng.so.3 (0x4009b000)
	libz.so.1 => /usr/lib/libz.so.1 (0x400cc000)
	libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400de000)
	libasound.so.2 => /usr/lib/libasound.so.2 (0x400fb000)
	libdl.so.2 => /lib/libdl.so.2 (0x401be000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x401c3000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40214000)
	libcdda_interface.so.0 => /usr/lib/libcdda_interface.so.0 (0x4027e000)
	libcdda_paranoia.so.0 => /usr/lib/libcdda_paranoia.so.0 (0x40293000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x4029c000)
	libungif.so.4 => /usr/lib/libungif.so.4 (0x402b2000)
	libfontconfig.so.1 => not found
	libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x402bb000)
	libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x403d9000)
	libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x4040a000)
	libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x4040d000)
	libXext.so.6 => not found
	libX11.so.6 => not found
	libm.so.6 => /lib/libm.so.6 (0x4042f000)
	libGL.so.1 => not found
	libXxf86dga.so.1 => not found
	libXv.so.1 => not found
	libXxf86vm.so.1 => not found
	libXinerama.so.1 => not found
	libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x40453000)
	libartsc.so.0 => /opt/kde/lib/libartsc.so.0 (0x404d2000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x404d8000)
	libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x404dd000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x404e1000)
	libesd.so.0 => /usr/lib/libesd.so.0 (0x40561000)
	libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x4056b000)
	libc.so.6 => /lib/libc.so.6 (0x4058f000)
	/lib/ld-linux.so.2 (0x40000000)
	libXext.so.6 => not found
	libX11.so.6 => not found
	libXext.so.6 => not found
	libX11.so.6 => not found
	libstdc++.so.5 => /usr/lib/./libstdc++.so.5 (0x406a9000)
	libX11.so.6 => not found
	libXext.so.6 => not found
	libgcc_s.so.1 => /usr/lib/./libgcc_s.so.1 (0x40762000)
Thanks
 
Old 04-25-2006, 04:02 PM   #2
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
This stuff is all X11 libraries, and should be in /usr/X11R6/lib. You might need to add /usr/X11R6/lib to /etc/ld.so.conf and then run "ldconfig".
 
Old 04-25-2006, 04:32 PM   #3
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Original Poster
Rep: Reputation: 30
hmm I've looked and in /usr I only have a link X11@, but I can see where it is going. Have I not installed something from the disc, or is this something extra I need to get?
 
Old 04-25-2006, 05:44 PM   #4
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Please run these commands and post the output:

$ cat /etc/ld.so.conf
$ ls -l /usr/X11R6/lib/*font*

Thanks!

Peace...
 
Old 04-25-2006, 09:43 PM   #5
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Did you install Disk 2 when you installed slackware? All X related stuff is on this disk. If you don't have the disk, you can download all the packages from the 'x' directory from the slackware website. You will also need to grab a few out of the 'l' directory. If you are ever wondering what package you need, slackware has a great "search by file name" feature on their package page. For instance, searching for 'libfontconfig.so' returns the 'x11-6.9.0-i486-1' package. Just download and install, boda bing boda boom, done.

regards,
...drkstr
 
Old 04-26-2006, 01:46 AM   #6
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Original Poster
Rep: Reputation: 30
Thanks for the help. I installed the 'x11-6.9.0-i486-1' package and that resolved all my dependencies. MPlayer now runs, but it's cutting off the first second of the sound files I'm playing. Given the sounds I need to play are around 3 seconds, this is a bit of a problem. When MPlayer runs it says
Code:
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
This is a lame question, but I'm still struggling with installing. I downloaded the source files and uncompressed them, but I don't know where to type make, or how to give it the compiler options. Can you help?

Thanks
 
Old 04-26-2006, 03:07 AM   #7
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
cd to the directory you extracted it to and then:
Code:
#./configure --enable-gui --disable-runtime-cpudetection
#make install
'--enable-gui' is required if you want to use the gui mode in MPlayer

FYI: it's a good idea to build software into a slackware package before installing. This allows you to easily remove it if you want to upgrade to a newer version. Instructions on building slackware packages

regards,
...drkstr
 
Old 04-26-2006, 04:00 AM   #8
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Original Poster
Rep: Reputation: 30
Thanks drkstr, that's compiled it properly. I'm still having the same problem though, with the first 0.5-1.0 seconds being cut off. I'm going to start a new thread on that one to open it up a bit.

Thanks for the help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libfontconfig...what package is it in? RoaCh Of DisCor Linux - Software 3 11-28-2004 07:28 PM
Gimp error: can't find libfontconfig.1 andrewlkho Linux - Software 1 04-27-2004 10:29 AM
X errors: libfontconfig.so.1 undefined symbol: FT_Get_PS_Font_Info Don_Quixote Slackware 0 04-25-2004 04:13 AM
libfontconfig - 9.0rc1# gazurtoids Slackware 2 03-14-2003 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration