| Suse/Novell This Forum is for the discussion of Suse Linux. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-04-2007, 02:19 PM
|
#1
|
|
Member
Registered: May 2006
Distribution: Suse 10.2 x64
Posts: 247
Rep:
|
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.
|
|
|
|
05-04-2007, 03:23 PM
|
#2
|
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware, Cross Linux from Scratch, Gentoo
Posts: 2,663
Rep: 
|
Is /opt/gnome/lib64/pkgconfig in your PKG_CONFIG_PATH?
|
|
|
|
05-04-2007, 05:36 PM
|
#3
|
|
Member
Registered: May 2006
Distribution: Suse 10.2 x64
Posts: 247
Original Poster
Rep:
|
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
|
|
|
|
06-12-2007, 08:18 AM
|
#4
|
|
LQ Newbie
Registered: Jun 2007
Posts: 2
Rep:
|
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.
|
|
|
|
06-12-2007, 08:43 AM
|
#5
|
|
Member
Registered: May 2006
Distribution: Suse 10.2 x64
Posts: 247
Original Poster
Rep:
|
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
|
|
|
|
06-12-2007, 09:27 AM
|
#6
|
|
LQ Newbie
Registered: Jun 2007
Posts: 2
Rep:
|
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....
|
|
|
|
02-14-2008, 10:26 AM
|
#7
|
|
LQ Newbie
Registered: Feb 2008
Posts: 1
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:26 AM.
|
|
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
|
|