LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-07-2013, 04:06 PM   #1
marbangens
Member
 
Registered: Aug 2012
Location: sweden
Distribution: Slackware, Fedora
Posts: 79

Rep: Reputation: Disabled
SlackWare 14.0 pulseaudio build problem (a question about it)


First error I got from http://slackbuilds.org/repository/14...io/pulseaudio/ was
Code:
/usr/lib/libX11-xcb.so: could not read symbols: File in wrong format
I have 64-bit slackware with multilib so i added
Code:
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
Now it build fine and i also upgraded the source from 2.0 to 3.0. Never been this slacky before but my question is.
Have I done this right? Is this a clean way to fix it? I wait to gett more understending how this effect the package befor I install it.
 
Old 01-07-2013, 05:10 PM   #2
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 292

Rep: Reputation: 75
Quote:
Originally Posted by marbangens View Post
Code:
/usr/lib/libX11-xcb.so: could not read symbols: File in wrong format
This just indicates that it is trying to link to 32 bit library for a 64 bit package. Not what you wanted
Quote:
Originally Posted by marbangens View Post
Code:
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
This is correct method for linking to the correct $ARCH specific library when using autotools or some similar configure script.

For a quick (and maybe dirty) way to tell if the installed librar(y|ies) link to the right $ARCH specific libraries you can run ldd on them.
Eg.
Code:
# ldd /usr/lib64/libm.so   
	linux-vdso.so.1 (0x00007fffab52a000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f9d6d02b000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f9d6d713000)
 
Old 01-07-2013, 11:04 PM   #3
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,456

Rep: Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886
see also http://slackbuilds.org/faq/#multilib
 
Old 01-08-2013, 03:41 AM   #4
marbangens
Member
 
Registered: Aug 2012
Location: sweden
Distribution: Slackware, Fedora
Posts: 79

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by larryhaja View Post
For a quick (and maybe dirty) way to tell if the installed librar(y|ies) link to the right $ARCH specific libraries you can run ldd on them.
Eg.
Code:
# ldd /usr/lib64/libm.so   
	linux-vdso.so.1 (0x00007fffab52a000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f9d6d02b000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f9d6d713000)
this was what I looked for, a way to make sure the libs link right and they did.
Is there a not to tecknical websait/link to what unix libs are? right now I think
of them as program parts or objects like in c++ but they link alltogheter to save space.
 
Old 01-08-2013, 03:47 AM   #5
marbangens
Member
 
Registered: Aug 2012
Location: sweden
Distribution: Slackware, Fedora
Posts: 79

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
Now I don't need to worry. Thank you
 
  


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
Kubuntu Question - How to run Pulseaudio in root account? Braxton Leo Linux - Software 1 03-30-2011 01:08 AM
[SOLVED] Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash mad4linux Debian 1 01-26-2011 03:57 AM
pulseaudio slackware 13.1x64 alpha_hack Slackware 5 09-09-2010 01:58 PM
Winecfg crashes on sound tab with Pulseaudio and no 'sounddrivers' without pulseaudio William (Dthdealer) Linux - Software 5 06-13-2010 07:30 AM
Slackware 10.0 Ogre 3d 1.4 build problem geller Slackware 0 03-22-2007 08:55 AM


All times are GMT -5. The time now is 07:44 PM.

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