LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 01-04-2007, 02:49 PM   #1
kryptobs2000
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 306

Rep: Reputation: 30
compiling looking in the wrong place for a libtool archive


when trying to compile pygtk I get the following error:

[QUOTE]/bin/sed: can't read /usr/lib/libcairo.la: No such file or directory
libtool: link: `/usr/lib/libcairo.la' is not a valid libtool archive{/QUOTE]

libcairo.la is in /usr/local/lib/, so what do I pass to tell it this?
 
Old 01-04-2007, 09:56 PM   #2
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
well it's just kind of strange that libcairo.la is in /usr/local
which is the place for experimental not system libs.
it's been a long time since i built gnome and freinds but by putting some of it in /usr/local i think you are making a mess.
yes i can think of hack ways to recover but better rethink what you are doing before the mess gets worse.
 
Old 01-05-2007, 01:28 AM   #3
kryptobs2000
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 306

Original Poster
Rep: Reputation: 30
I didn't specify to put it there, it just installed it there by default for some reason
 
Old 01-05-2007, 03:51 PM   #4
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
yea the default ./configure never overwrites system files but rather they go in /usr/local for safety
when you are actually installing something to your system you put it with ./configure --prefix=/usr

BUT do you have another system libciaro in /usr that goes with your gtk ?
this is what i have seen people do so often

if you are going to install upgraded versions of gtk/gnome junk i think uninstall the other stuff first or use your systems package manager.

running two versions of modern gtk is not for the uninitiated.
it's not imposible because obviously the developers do it. it's just a huge mess unless you know what you are doing.
 
Old 01-05-2007, 09:09 PM   #5
kryptobs2000
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 306

Original Poster
Rep: Reputation: 30
no, I do not have another version of libcairo there, that's why I don't understand why it did this from what you are telling me.

edit: I did have another version of cairo installed which I was sure to uninstall with slackwares package manager beforehand I think.

Last edited by kryptobs2000; 01-05-2007 at 09:10 PM.
 
Old 01-05-2007, 10:31 PM   #6
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
yea it could be alot of reasons. (i don't mean to come off like lecturer)
basically the configure script is making a guess or an informed guess because your gtk is in /usr.
it might work to have it in /usr/local with some fudging but to be on the safe side i would reinstall cairo with
./configure --prefix=/usr
you can't really be sure your gtk will still work because it was linked against the old cairo
but it very well might be just fine.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need help compiling from source - libtool error Feeg Linux - Software 0 07-04-2006 11:16 PM
FreeBSD PHP5 ports error - libphp5.la is not a valid libtool archive BizHat.com *BSD 2 08-18-2005 10:27 AM
GTK+-2.6.2 compile error: libtool looking in wrong place for libglib-2.0.la Locura Linux - Software 5 02-17-2005 03:51 PM
/usr/lib/libkdeui.la is not a valid libtool archive pradsy90 Linux - Security 2 03-29-2004 04:22 PM
trouble w/ libtool (i think) compiling rhythmbox tektone Linux - Software 2 03-12-2004 03:10 PM


All times are GMT -5. The time now is 12:38 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration