LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-11-2003, 11:04 AM   #1
m2calabr
LQ Newbie
 
Registered: Mar 2003
Location: Eugene Oregon USA
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
Slackware GunCash help


I am trying to install (by compile) the latest version of GnuCash (1.8.2)
I am running Slack 9.0rc1 (updated by using swaret).

I have made sure to install all of the packages that it has needed.
Here is what happens:
./configure --enable-static --with-libguppi-prefix=/usr/share/guppi --enable-gui --with-gnome=/opt/gnome --with-gnome-lib=/usr/lib
(I have done this without the --with-gnome-lib as well)

This works.

make

Everything compiles, linking is a problem. I get errors like:
grep: /usr/X11R6/lib/libfreetype.la: No such file or directory
sed: can't read /usr/X11R6/lib/libfreetype.la: No such file or directory
libtool: link: `/usr/X11R6/lib/libfreetype.la' is not a valid libtool archive
make[4]: *** [libgncmod-gnome-utils.la] Error 1

Now I know that I have the library libfreetype.la on my systems. To try and fix the problem, I have tried a symbolic link from the know location to where it want the file. As soon as I fix this one another library comes up. How do you tell libtool where the libraries are?

I have search for this error on the net, I find the question, but no answer to it.

Thanks for you help.
 
Old 03-11-2003, 03:36 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Well,

there's a few possibilities ...

Did you check whether
Code:
less /usr/X11R6/lib/libfreetype.la
produces readable output?

Also, are you aware of the fact that
Freetype and Freetype2 use the same
names for their files? Maybe you are
facing a version conflict (even though
that doesn't sound too likely looking at
the errors you quote).

Cheers,
Tink
 
Old 03-12-2003, 12:12 AM   #3
m2calabr
LQ Newbie
 
Registered: Mar 2003
Location: Eugene Oregon USA
Distribution: Slackware
Posts: 2

Original Poster
Rep: Reputation: 0
Talking Found the answer!

I am posting the answer I figured out so others might have less pain.

First, the error:
grep: /usr/X11R6/lib/libfreetype.la: No such file or directory
sed: can't read /usr/X11R6/lib/libfreetype.la: No such file or directory
libtool: link: `/usr/X11R6/lib/libfreetype.la' is not a valid libtool archive
make[4]: *** [libgncmod-gnome-utils.la] Error 1

What this really means is that libtool is looking for a library that is directly needed by the source or a library that is indirectly needed.

Soooo, the previous post let me know that the *.la file are text files explaining things about the library. One piece of information in this file is which libraries are needed by THIS (the library file you are looing at) library.

So libtools knew were to find my base libraries, but when it checked to see if I had everything it went through the *.la files.

Soooooo, you have a couple of choices. 1) Edit the la files to point the dependencies to the correct library. I did this with some of the files using KFileReplace. 2) Create a symbolic link to where libtool expects to find the file. For example ln -s /usr/lib/libfreetype.la /usr/X11R6/lib/libfreetype.la . I did this for a few files that it would have been a real pain to change. 3) Make sure you have the most recent packages or installs of the libraries you need. Be aware that if you use a package install and then do a compile install of the same library you can actually cause this problem.

My problem came from moving to Slack 9.0rc while GnuCash looked for older libraries from Slack 8.1.

I hope this helps someone.
 
  


Reply



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
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 09:54 AM
Dual boot windows/slackware, but slackware installed first? Cryptic_K Slackware 3 11-20-2006 12:49 PM
Slackware 10 RC2 released; Slackware 10 imminent... SBing Slackware 22 06-22-2004 07:53 AM
Newer Slackware Packages on older slackware version pengStudent Slackware 2 11-12-2003 12:47 PM
wine and winesetuptk working well with slackware 9.0 and slackware 9.1 oobe Linux - Software 0 10-19-2003 12:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:48 AM.

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