LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-01-2003, 11:23 AM   #1
Baran
Member
 
Registered: Aug 2003
Location: Tampere-FINLAND
Distribution: Mandrake 10.1
Posts: 105

Rep: Reputation: 15
Cannot find path for library


I have the same problem when trying to install from source. When I try to configure by

./configure

it starts the process but it terminates with error something like this...

could not find library for X includes....

and in some other programs it gives such an error

glibc2.0> is required ...

although I have the glibc2.1.. for example

Help me if you can
 
Old 09-01-2003, 01:17 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
What is your distribution and release version? It sounds as if you may have not installed the developmental packages for whatever you are trying to install.

# What is the running kernel and compiler installed
cat /proc/version

# Guides to software management
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation
 
Old 09-02-2003, 03:06 AM   #3
Baran
Member
 
Registered: Aug 2003
Location: Tampere-FINLAND
Distribution: Mandrake 10.1
Posts: 105

Original Poster
Rep: Reputation: 15
sorry

I am sorry, I know I have to be more specific, but I cannot note down the error message for some reason, here is what I know about my system:

Red Hat 9.0
Linux Kernel 2.4.20
GCC 3.2.1
GNU libc 2.3.2
 
Old 09-02-2003, 09:37 AM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
To copy/paste: Hold left click down and drag curser across desired text (the error messages in the x terminal you gave the command), switch to your browser, and middle click will paste it in the reply box.

Post the error message and perhaps we can help.
 
Old 09-03-2003, 05:44 AM   #5
Baran
Member
 
Registered: Aug 2003
Location: Tampere-FINLAND
Distribution: Mandrake 10.1
Posts: 105

Original Poster
Rep: Reputation: 15
thanks I got the message, it is as follows

checking for char... yes
checking size of char... 1
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
[root@localhost kxine-0.4]#


now what should I do?
 
Old 09-03-2003, 05:46 AM   #6
Baran
Member
 
Registered: Aug 2003
Location: Tampere-FINLAND
Distribution: Mandrake 10.1
Posts: 105

Original Poster
Rep: Reputation: 15
one other type of error I encounter is like this


checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.0.0... Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found

configure: error: Library requirements (glib-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
[root@localhost sinek-0.7]#
 
  


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
library path Scott7 Debian 1 10-19-2005 08:25 AM
library path variable vrdhananjay Linux - Software 2 09-03-2005 07:31 PM
How do I add library path? scc28y Linux - Newbie 5 03-18-2005 11:56 PM
media library and GTK path johnnydangerous Fedora 2 03-08-2005 03:30 AM
GD Library path? kinkybullet Linux - Newbie 1 02-11-2004 10:15 PM


All times are GMT -5. The time now is 11:17 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration