LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 10-26-2009, 07:07 PM   #1
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Slackware sans KDE4 (Gnome Slackbuild)
Posts: 454

Rep: Reputation: 35
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: Slackware 13.37
Posts: 194
Blog Entries: 1

Rep: Reputation: 49
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: Kolkata, India
Distribution: Lubuntu64, Slackware64, Windows 7 x64
Posts: 248
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: Slackware 13.37
Posts: 194
Blog Entries: 1

Rep: Reputation: 49
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: Slackware sans KDE4 (Gnome Slackbuild)
Posts: 454

Original Poster
Rep: Reputation: 35
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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 07:57 AM.

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
Open Source Consulting | Domain Registration