LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 10-26-2009, 07:07 PM   #1
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
Error with gst-plugin-good64-bit from Slackbuilds


I get the following error:
Code:
/usr/lib/libgobject-2.0.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
I am compiling for x86_64 so it shouldn't be looking in /usr/lib but only in /usr/lib64, so I'm not sure why this happening.
 
Old 10-26-2009, 07:35 PM   #2
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 215

Rep: Reputation: 65
Try adding:
Code:
LDFLAGS="-L/usr/lib64" \
just before the "./configure \" line in the SlackBuild.
 
Old 10-26-2009, 09:13 PM   #3
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
Thumbs up

here u go...download the package from Eric's Repo, or if u really want to compile it then get his slackbuild script.

Last edited by slackd; 10-26-2009 at 09:14 PM.
 
Old 10-26-2009, 09:47 PM   #4
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 215

Rep: Reputation: 65
Eric's script properly defines LDFLAGS,
so it will work on a multilib system without any editing.
Code:
...
x86_64)    SLKCFLAGS="-O2 -fPIC"
             SLKLDFLAGS="-L/usr/lib64"; LIBDIRSUFFIX="64"
...
echo Building ...
LDFLAGS="$SLKLDFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \
./configure \
...
 
Old 10-26-2009, 11:22 PM   #5
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Original Poster
Rep: Reputation: 48
Quote:
Originally Posted by wadsworth View Post
Try adding:
Code:
LDFLAGS="-L/usr/lib64" \
just before the "./configure \" line in the SlackBuild.
That did it!

Thanks everyone for your help
 
  


Reply



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
slackbuilds 64 bit question charlie_lab Slackware 7 08-29-2009 05:04 AM
The error of compile gst-plugin-base-0.10.22 jeazh Linux - Newbie 3 05-13-2009 01:11 PM
SlackBuilds flash-player-plugin Error Slackwoman Slackware 4 12-16-2007 09:12 PM
Slackware 9.1/garnome-0.29.1 & gst-plugin error cybrjackle Slackware 1 01-18-2004 04:39 PM

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

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