LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 08-09-2016, 02:25 PM   #1
42sam
LQ Newbie
 
Registered: Aug 2016
Posts: 3

Rep: Reputation: Disabled
Question LFS 6.14 / GMP-6.1.0 Libtool error: libstdc++.ls is not a valid libtool archive


Hi everyone,

i've tried my best at following the book religiously but finally encountered my first issue.

Make fails for GMP build in chapter 6 giving me the following output:

......
......
libtool: error: '/usr/lib/../lib64/libstdc++.la' is not a valid libtool archive
make[2]: *** [libcxx.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Nonetheless i didn't get any errors while building GCC compiler prior to this.

Any help appreciated
Thanks.

Tells me if the above output is too scarce to find out where the problem is coming from.
 
Old 08-09-2016, 03:40 PM   #2
Krejzi
Member
 
Registered: Jan 2015
Posts: 215

Rep: Reputation: Disabled
Just rm the libtool archive and be done with it. It should be a symlink to /tools/lib equivalent ...
 
1 members found this post helpful.
Old 08-09-2016, 04:10 PM   #3
42sam
LQ Newbie
 
Registered: Aug 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi, thank you for your suggestion.

It is actually not a symlink, it's a file:

#################################################################
# libstdc++.la - a libtool library file
# Generated by libtool (GNU libtool 1.3134 2009-11-29) 2.2.7a
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libstdc++.so.6'

# Names of this library.
library_names='libstdc++.so.6.0.21 libstdc++.so.6 libstdc++.so'

# The name of the static archive.
old_library='libstdc++.a'

# Linker flags that can not go in dependency_libs.
inherited_linker_flags=''

# Libraries that this one depends upon.
dependency_libs=' -lm'

# Names of additional weak libraries provided by this library
weak_library_names=''

# Version information for libstdc++.
current=6
age=0
revision=21

# Is this an already installed library?
installed=yes

# Should we warn about portability when linking against -modules?
shouldnotlink=no

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/lib/../lib64'



should i still rm this ?
 
Old 08-09-2016, 04:13 PM   #4
Krejzi
Member
 
Registered: Jan 2015
Posts: 215

Rep: Reputation: Disabled
Well, do remove it if it causes you trouble.
 
1 members found this post helpful.
Old 08-09-2016, 04:41 PM   #5
42sam
LQ Newbie
 
Registered: Aug 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
I'm not sure about the "why" behind it but i did remove it and it works now.

Thank you you made my day.
 
  


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
ERROR :MPC make error libgmp.la is not a valid libtool bhupinderjitbawa Linux - Software 4 11-23-2015 04:43 PM
ERROR :MPC make error libgmp.la is not a valid libtool bhupinderjitbawa Linux - General 1 05-26-2011 11:58 AM
FreeBSD PHP5 ports error - libphp5.la is not a valid libtool archive BizHat.com *BSD 2 08-18-2005 10:27 AM
/usr/lib/libkdeui.la is not a valid libtool archive pradsy90 Linux - Security 2 03-29-2004 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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