Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-17-2009, 03:55 AM   #1
Senior Member
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,437

Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
fontconfig-compat32 package breaks VLC build

I've just ran into this problem today. Whenever I try to compile VLC using alien bob's slackbuild on Slackware64 it finishes fine. But when I install the multilib packages I get the following error.

/usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/ when searching for -lpthread
/usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/lib/ could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[5]: *** [] Error 1
make[5]: Leaving directory `/tmp/build/tmp-vlc/vlc-1.0.1/modules/codec'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/tmp/build/tmp-vlc/vlc-1.0.1/modules/codec'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/tmp/build/tmp-vlc/vlc-1.0.1/modules/codec'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/tmp/build/tmp-vlc/vlc-1.0.1/modules'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/build/tmp-vlc/vlc-1.0.1'
make: *** [install] Error 2

I noticed /usr/lib/ could not read symbols: File in wrong format and my first impression was that the build is looking at the 32bit library and that is causing the build to fail. So im removed the fontconfig-compat32 package and it finished fine. All is good now I just thought I would post this incase anyone wanted to confirm the error.
Old 09-17-2009, 05:23 AM   #2
Registered: May 2009
Location: Warsaw, Poland
Distribution: Slackware64-current
Posts: 191

Rep: Reputation: 32
I have similiar problems with building many packages - this is because of default search path for libtool: /usr/lib is sooner checked, than /usr/lib64, and when libtool find a library by name, it stops searching further - libtool doesn't check the compatibility while searching.
Currently, I've removed all paths from /etc/, that pointed to 32-bit libraries.
For compatibility packaging, You should use the bash environment script from AlienBob's repository, and for native builds allways set --libdir option for configure script For me - it helps.


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 with QT compat32 in Slackware64 Daedra Slackware 10 09-09-2009 03:39 PM
Problem using Alien Bobs VLC build. garyg007 Slackware 14 04-13-2009 12:49 PM
Alien Bob's VLC Build + Slamd64 Question Daedra Slackware 10 02-22-2009 03:40 PM
Taking frequent breaks during LFS build sundar22in Linux From Scratch 3 08-28-2007 11:43 PM
fontconfig-2.2.92 build error with freetype2 behmjose Linux - Newbie 0 02-21-2004 08:59 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration