LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-04-2007, 02:19 PM   #1
google01103
Member
 
Registered: May 2006
Distribution: Suse 10.2 x64
Posts: 247

Rep: Reputation: 31
Unable to compile gtk/gnome apps.


I'm trying to compile a couple of gtk/gnome apps and make errors with these msgs:
- "libtool: link: cannot find the library `/usr/lib64/libgobject-2.0.la".
- "libtool: link: cannot find the library `/usr/lib64/libgtk-x11-2.0.la'
"
This is because Suse places the gnome libraries in /opt/gnome/lib64 but the file gobject-2.0.pc has the line " libdir=/opt/gnome/lib64" so the library location should be ok but obviously something isn't working correctly.

Any help is appreciated.
 
Old 05-04-2007, 03:23 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Is /opt/gnome/lib64/pkgconfig in your PKG_CONFIG_PATH?
 
Old 05-04-2007, 05:36 PM   #3
google01103
Member
 
Registered: May 2006
Distribution: Suse 10.2 x64
Posts: 247

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Arow
Is /opt/gnome/lib64/pkgconfig in your PKG_CONFIG_PATH?
yes,
> echo $PKG_CONFIG_PATH
/opt/gnome/lib64/pkgconfig:/opt/gnome/share/pkgconfig:/opt/kde3/lib/pkgconfig:/usr/lib64/pkgconfig:/opt/kde3/lib/pkgconfig:/usr/lib64/pkgconfig
 
Old 06-12-2007, 08:18 AM   #4
mpenda
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
Ever find an answer?

I have the exact same issue....the path is correct for pkgconfig.....but "configure" for a few apps complains that it can't fine gnome libraries.

Thought perhaps you found a solution elsewhere.
Many thanks.
 
Old 06-12-2007, 08:43 AM   #5
google01103
Member
 
Registered: May 2006
Distribution: Suse 10.2 x64
Posts: 247

Original Poster
Rep: Reputation: 31
So long ago and getting so old fast

I think what I did was create soft links so that the libraries where found "ln -s /opt/gnome/lib64/libgobject-2.0.la /usr/lib64/libgobject-2.0.la"

If I recall everytime the compile halted I did this for the not found library and that I had to do this 3 or 4 times. Fortunately I don't compile many Gnome apps. as I'm a KDE'er and usually I can find an rpm.

Iirc Suse 10.3 will place gnome under /usr as does most distro's
 
Old 06-12-2007, 09:27 AM   #6
mpenda
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
Ah.....

Thanks for the tip....a linking I will go.....

With age comes wisdom....I just wish I could remember what wisdom I've learned....
 
Old 02-14-2008, 10:26 AM   #7
bullpost
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
As an adjunct here I will post a problem which seems related.
After running an SLE10 system for a while, I noticed the GUI was hanging.
On investigation I found error messages in the log file indicating certain shared libraries could not be found. I traced them to /opt/gnome/lib64 . Used ldconfig to determine that this directory was not in the current shared library cache. It was however in /etc/ld.so.cache and so I used ldconfig to regenerate the cache.
This solved the problem.
 
  


Reply

Tags
compile, gnome, gtk



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
Unable to compile Gnome apps google01103 SUSE / openSUSE 1 04-05-2007 08:42 AM
cant compile gtk apps bee2643 Linux - General 2 04-13-2006 12:52 PM
New GTK apps doesn't use GNOME theme e_liming Linux - Software 1 04-05-2006 10:43 AM
Gentoo: Skinning GTK apps without installing gnome tsalem Linux - Newbie 13 10-17-2004 08:48 AM
Unable to compile from source... can't find GTK kaega2 Mandriva 4 06-01-2004 12:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 07:05 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