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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
03-13-2005, 08:40 PM
#1
Member
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582
Rep:
trouble configuring a program
hey
i got this program, and when i type ./configure it gives me an error of this:
checking for main in -lgthread-2.0... no
gthread library NOT available
hoever, i can't find anything called lgthread2.0 anywhere on the internet
anyone?
Thanks
03-13-2005, 09:12 PM
#2
Senior Member
Registered: Jun 2004
Posts: 2,553
Rep:
03-13-2005, 09:16 PM
#3
Member
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582
Original Poster
Rep:
alright thanks, however, i have that installed. =\
why is it still giving me an error?
03-14-2005, 05:51 AM
#4
Senior Member
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524
Rep:
perhaps you haven't set up your library-link-path
$ echo $LD_LIBRARY_PATH
(...)
$ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/here/is/the/library
$ (try compiling again)
$ echo 'LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/here/is/the/library' >> ~/.bash_profile
$ source ~/.bash_profile
hope this helps,
Jonas Kölker
03-14-2005, 06:07 AM
#5
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
Make sure you also have glib2-devel, not only the library itself.
03-14-2005, 11:06 PM
#6
Member
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582
Original Poster
Rep:
Mara: yep, i made sure i did
jonaskoelker:
When i type echo $LD_LIBRARY_PATH i get this:
mark@linux:~> echo $LD_LIBRARY_PATH
mark@linux:~>
03-15-2005, 02:31 AM
#7
Senior Member
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524
Rep:
... then add the path where the library is (see my previous post for a brief howto). If you don't know where it is, use `find'; chances are that it's somewhere under /usr/lib
03-17-2005, 12:26 AM
#8
Member
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582
Original Poster
Rep:
hey, thanks a lot of your posts,
I never really ran into this problem before so im not really familiar with this.
When i try and locate the LD_Library i don't get any result...
is the LD_Library what im supposed to be searching for anyways?
03-17-2005, 12:40 AM
#9
Senior Member
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524
Rep:
Quote:
is the LD_Library what im supposed to be searching for anyways?
No. And it's called LD_LIBRARY_PATH
google("gcc environment variables", Lucky=true) ==
http://gcc.gnu.org/onlinedocs/gcc/En...Variables.html
read about LIBRARY_PATH there; the same thing goes for LD_LIBRARY_PATH, except LD => Link Dynamically (iirc).
what you should be searching for is glib2.
03-17-2005, 09:27 AM
#10
Member
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582
Original Poster
Rep:
hey, I'm kind of confused, so basically i want to use glib2 as a library, but shouldn't it be already a library? isn't that what it is?
Anyways, i type locate glib2 and i really don't find any usable directories:
Quote:
mark@linux:~> locate glib2
/etc/profile.d/glib2.csh
/etc/profile.d/glib2.sh
/home/mark/bin/thunderbird/components/imglib2.xpt
/opt/gnome/share/locale/am/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/ar/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/az/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/be/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/bg/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/bn/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/ca/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/cs/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/cy/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/da/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/de/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/el/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/en_CA/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/en_GB/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/eo/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/es/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/et/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/eu/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/fa/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/fi/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/fr/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/ga/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/gl/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/gu/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/he/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/hi/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/hr/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/id/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/is/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/it/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/ja/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/ko/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/lt/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/lv/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/mk/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/mn/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/ms/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/nb/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/ne/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/nl/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/nn/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/no/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/pa/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/pl/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/pt/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/pt_BR/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/ro/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/ru/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/sk/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/sl/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/sq/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/sr/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/sr@ije/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/sr@Latn/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/sv/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/ta/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/tr/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/uk/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/vi/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/wa/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/yi/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/zh_CN/LC_MESSAGES/glib20.mo
/opt/gnome/share/locale/zh_TW/LC_MESSAGES/glib20.mo
/opt/mozilla/lib/components/imglib2.xpt
/opt/mozilla/lib/components/libimglib2.so
/opt/MozillaFirefox/lib/components/imglib2.xpt
/usr/share/doc/packages/glib2
/usr/share/doc/packages/glib2/AUTHORS
/usr/share/doc/packages/glib2/ChangeLog
/usr/share/doc/packages/glib2/COPYING
/usr/share/doc/packages/glib2/NEWS
/usr/share/doc/packages/glib2/README
mark@linux:~>
03-20-2005, 03:30 PM
#11
Member
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582
Original Poster
Rep:
anyone?
im really lost =\
03-28-2005, 12:52 AM
#12
Member
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582
Original Poster
Rep:
hmm, since i still can't figure it out, is it possible to use a mandrake rpm in a suse system?
03-28-2005, 04:33 PM
#13
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
Mandrake RPM won't install in SUSE in most cases (dependencies).
Please run
rpm -qa|grep glib
It should list you all your glib packages. Plase post the list.
All times are GMT -5. The time now is 11:26 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News