LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Building cairo package problems. Slack 14.1 current. (https://www.linuxquestions.org/questions/slackware-14/building-cairo-package-problems-slack-14-1-current-4175529565/)

Youmu 12-30-2014 10:15 AM

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!

bassmadrigal 12-30-2014 10:51 AM

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.

Youmu 12-30-2014 10:58 AM

Quote:

Originally Posted by bassmadrigal (Post 5292657)
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.

weibullguy 12-30-2014 10:59 AM

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]

bassmadrigal 12-30-2014 11:13 AM

Quote:

Originally Posted by Youmu (Post 5292664)
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.


All times are GMT -5. The time now is 03:56 PM.