LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-13-2005, 08:40 PM   #1
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
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
 
Old 03-13-2005, 09:12 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
libgthread2 is a part of glib2
http://rpmfind.net//linux/RPM/suse/9...43.x86_64.html
 
Old 03-13-2005, 09:16 PM   #3
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
alright thanks, however, i have that installed. =\

why is it still giving me an error?
 
Old 03-14-2005, 05:51 AM   #4
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
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
 
Old 03-14-2005, 06:07 AM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
Make sure you also have glib2-devel, not only the library itself.
 
Old 03-14-2005, 11:06 PM   #6
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
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:~>
 
Old 03-15-2005, 02:31 AM   #7
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
... 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
 
Old 03-17-2005, 12:26 AM   #8
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
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?
 
Old 03-17-2005, 12:40 AM   #9
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
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.
 
Old 03-17-2005, 09:27 AM   #10
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
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:~>
 
Old 03-20-2005, 03:30 PM   #11
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
anyone?
im really lost =\
 
Old 03-28-2005, 12:52 AM   #12
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
hmm, since i still can't figure it out, is it possible to use a mandrake rpm in a suse system?
 
Old 03-28-2005, 04:33 PM   #13
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
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.
 
  


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
Trouble configuring linux Cripple Linux - Newbie 3 11-13-2005 09:39 PM
trouble configuring eth0 slack---line Slackware 11 06-11-2004 02:37 PM
trouble configuring Courier. wparsons Linux - Software 11 02-02-2004 02:58 PM
having trouble configuring x krackerroot Linux - Newbie 3 09-11-2003 09:25 AM
Having trouble configuring SSH Travis86 Linux - Networking 3 06-19-2003 09:42 PM


All times are GMT -5. The time now is 08:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration