LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 09-17-2009, 04:55 AM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,225

Rep: Reputation: 187Reputation: 187
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/libpthread.so 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/libfontconfig.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[5]: *** [liblibass_plugin.la] 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/libfontconfig.so: 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, 06:23 AM   #2
Martinezio
Member
 
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/ld.so.conf, 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.
 
  


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


All times are GMT -5. The time now is 02:38 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration