LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-20-2013, 08:07 PM   #1
aaro
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Rep: Reputation: Disabled
Compilation error in Slackware 14.0


Recently installed Slackware 14.0 and can't be more happy with it. Only problem is i haven't been able to compile any app. Tried with dzen2 and asclock. Both compilations failing with the same error:

gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found

I've tried using:

-fno-lto -fno-use-linker-plugin

with the same result. I've checked that the LIBRARY_PATH variable points to the right dir and that the requested file is present:

aaro ~ $ echo $LIBRARY_PATH
/usr/libexec/gcc/i486-slackware-linux/4.7.1

aaro ~ $ locate liblto_plugin.so
/usr/lib/liblto_plugin.so
/usr/libexec/gcc/i486-slackware-linux/4.7.1/liblto_plugin.so.0.0.0
/usr/libexec/gcc/i486-slackware-linux/4.7.1/liblto_plugin.so
/usr/libexec/gcc/i486-slackware-linux/4.7.1/liblto_plugin.so.0

aaro ~ $ uname -a
Linux satellite 3.2.29-smp #1 SMP Mon Sep 17 13:02:10 CDT 2012 i686 Intel(R) Core(TM) i5 CPU M 450 @ 2.40GHz GenuineIntel GNU/Linux

Also tried compiling dzen2 with slackbuilds script with same result. So, right now i'm clueless. I'm using Slackware 14.0 i686 (full install). It's running on my 64 bits processor powered laptop (core i5). Any help appreciated. Thanks in advance.
 
Old 01-20-2013, 09:12 PM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 226Reputation: 226Reputation: 226
Well I don't think you should have a copy of it in /usr/lib as it isn't in the gcc package.

Also what are the file sizes for those files, as in are they actually a file or are they empty.
 
Old 01-21-2013, 04:43 AM   #3
aaro
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
The one in /usr/lib was my first try for a workaround, it was not originally there.
Here the files and sizes:

aaro /usr/libexec/gcc/i486-slackware-linux/4.7.1 $ ls -l
total 95872
-rwxr-xr-x 1 root root 11411136 Jan 17 23:45 cc1
-rwxr-xr-x 1 root root 11592160 Jun 20 2012 cc1obj
-rwxr-xr-x 1 root root 12410528 Jun 20 2012 cc1plus
-rwxr-xr-x 1 root root 319344 Jun 20 2012 collect2
-rwxr-xr-x 1 root root 3640 Jun 20 2012 ecj1
-rwxr-xr-x 1 root root 12135640 Jun 20 2012 f951
-rwxr-xr-x 1 root root 15573376 Jun 20 2012 gnat1
-rwxr-xr-x 1 root root 12370988 Jun 20 2012 go1
drwxr-xr-x 2 root root 4096 Jun 20 2012 install-tools
-rwxr-xr-x 1 root root 10852596 Jun 20 2012 jc1
-rwxr-xr-x 1 root root 206704 Jun 20 2012 jvgenmain
-rwxr-xr-x 1 root root 993 Jun 20 2012 liblto_plugin.la
lrwxrwxrwx 1 root root 22 Dec 19 07:30 liblto_plugin.so -> liblto_plugin.so.0.0.0
lrwxrwxrwx 1 root root 22 Dec 19 07:30 liblto_plugin.so.0 -> liblto_plugin.so.0.0.0
-rwxr-xr-x 1 root root 68388 Jan 19 01:04 liblto_plugin.so.0.0.0
-rwxr-xr-x 1 root root 403444 Jun 20 2012 lto-wrapper
-rwxr-xr-x 1 root root 10789812 Jun 20 2012 lto1
drwxr-xr-x 2 root root 4096 Jun 20 2012 plugin
 
Old 01-21-2013, 04:52 AM   #4
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 226Reputation: 226Reputation: 226
Well the file size matches the package so it should be ok.

Apart from installing the system what have you done with it before now (questions below :- )

Are these the first programs you have tried to compile?
Have you installed other 3rd party packages?
Did you do a full install or did you skip packages?
 
Old 01-21-2013, 08:07 AM   #5
aaro
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Only additional thing i made was add 3rd party repositories and installing some packages from there. I installed slacky.eu and salix repos and used slapt-get to install some packages. Even though i was very careful assigning priorities with official slackware repos with the highest, slacky.eu second and salix 3rd. It's the only thing i can think where something could go wrong. And if nobody else is getting this same error so i can suppose that it's my installation the problem. Many thanks for the help anyway
 
Old 01-21-2013, 12:45 PM   #6
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 248

Rep: Reputation: Disabled
I have no problem here building that packages.Slackware64 current
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Octave 3.4.2 gives compilation error on Slackware-current 64 Bindestreck Slackware 1 05-25-2012 11:26 AM
unable to resolve compilation error;./List.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ amolgupta Programming 3 01-09-2009 10:09 AM
Inkscape compilation error: *** [extension/internal/pdfinput/pdf-parser.o] Error 1 w1k0 Slackware 12 10-25-2008 09:53 AM
compilation error : /tmp/cczC6Kc3.s:7368: Error: unknown pseudo-op: `.ltorg' nankie Red Hat 0 08-19-2008 10:15 AM
Error during compilation of X-WIndows on slackware-10.2 tooparam Linux - General 2 11-27-2005 10:05 PM


All times are GMT -5. The time now is 05:33 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration