LinuxQuestions.org
Review your favorite Linux distribution.
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 12-30-2014, 09:15 AM   #1
Youmu
Member
 
Registered: Oct 2014
Distribution: Slackware 14.1 64x
Posts: 53

Rep: Reputation: Disabled
Building cairo package problems. Slack 14.1 current.


Hello.
I wanted to build a cairo package using SlackBuild script and get the following error message:
Code:
  CCLD   libcairo.la
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/lib/libpixman-1.so: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[3]: *** [libcairo.la] Error 1
make[3]: Leaving directory `/tmp/cairo-1.12.16/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/cairo-1.12.16/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/cairo-1.12.16'
make: *** [all] Error 2
It says that build cannot read libpixman-1.so. This file is in binary format, so what should I do?
I am using Slackware 14.1 x64 and I wanted to rebuild cairo because of gimp lags and slowdown.
Thanks for help!
 
Old 12-30-2014, 09:51 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 7,224

Rep: Reputation: 4927Reputation: 4927Reputation: 4927Reputation: 4927Reputation: 4927Reputation: 4927Reputation: 4927Reputation: 4927Reputation: 4927Reputation: 4927Reputation: 4927
How are you trying to rebuild cairo? What slackbuild script are you using? Where did you get it? Errors like this typically occur when it's expecting a different architecture than the file provides.
 
Old 12-30-2014, 09:58 AM   #3
Youmu
Member
 
Registered: Oct 2014
Distribution: Slackware 14.1 64x
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
How are you trying to rebuild cairo? What slackbuild script are you using? Where did you get it? Errors like this typically occur when it's expecting a different architecture than the file provides.
Thanks for reply.
Well I have solved problem myself now - as you mentioned it was package for different architecture.
And if you want to know about SlackBuild scripts - they are from slackbuilds.org site. Pretty useful and saves time.
 
Old 12-30-2014, 09:59 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Also, when you enabled multilib support, did you follow AlienBob's instructions --> http://alien.slackbook.org/dokuwiki/...kware:multilib or did you do it some other way? Or, worse yet, did you NOT enable multilib support and someone else installed ABI incompatible files on your system?

[EDIT]
How exactly did you resolve the problem? That might be helpful for someone having the same issue that stumbles across this thread. You don't have to give back, but it's nice if you do.
[/EDIT]

Last edited by weibullguy; 12-30-2014 at 10:03 AM.
 
Old 12-30-2014, 10:13 AM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 7,224

Rep: Reputation: 4927Reputation: 4927Reputation: 4927Reputation: 4927Reputation: 4927Reputation: 4927Reputation: 4927Reputation: 4927Reputation: 4927Reputation: 4927Reputation: 4927
Quote:
Originally Posted by Youmu View Post
And if you want to know about SlackBuild scripts - they are from slackbuilds.org site. Pretty useful and saves time.
I know all about slackbuild scripts. They were used long before slackbuilds.org came around (I was just trying to figure out if you were using one from there or from somewhere else). Now we just have a great place for people to submit them and. If you aren't already aware, check out sbopkg. It is an ncurses based program that will act as a front-end for slackbuilds.org. It speeds up the process even more.
 
  


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
Problems building cairo 1.12.16 from source Shaggy1 Linux - Software 3 09-17-2014 01:20 PM
[SOLVED] Problems building Firefox 13.0 from source under -current mats_b_tegner Slackware 12 01-10-2013 10:07 AM
[SOLVED] Building Kernel using older config - Slack Current dc_eros Slackware 5 04-15-2010 10:19 AM
[SOLVED] ORBit2 Slackbuild fails when building 32 bit package on current multilib damgar Slackware 4 04-10-2010 02:26 PM
building a slack package? mrchaos Slackware 21 06-29-2005 11:07 AM

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

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