LinuxQuestions.org
Review your favorite Linux distribution.
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-06-2009, 07:45 AM   #1
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
gst-plugins-(good and ugly) not building, but bad does


The error message that I am getting is
Quote:
/usr/lib/libgobject-2.0.so: could not read symbols: File in wrong format
. I am using Slackware64-13.0 (multi-lib), sbopkg 0.30.1 (13.0 repository). I had a look at the slackbuilds and and modified them to be the same as gst-plugins-bad but I still got the same error.

It is strange that it is not looking in /usr/lib64 for libgobject-2.0.so, but libgobject is in both.

Has anyone else seen this behaviour.

samac
 
Old 09-06-2009, 08:33 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,703
Blog Entries: 1

Rep: Reputation: 219Reputation: 219Reputation: 219
Try setting your PKG_CONFIG_PATH var to your 64-bit paths before you execute the configure script. For example
Code:
PKG_CONFIG_PATH="/usr/lib64/pkgconfig:/usr/local/lib64/pkgconfig" ./configure --prefix=/usr --libdir=/usr/lib64
See if that gets good and ugly to build.
 
Old 09-06-2009, 08:46 AM   #3
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,407

Rep: Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853
i built 'em with a queue (the only way to pass options/export variables to slackbuilds that I know I can use with sbopkg)
Code:
gst-plugins-good | LDFLAGS="-L/usr/lib64 -L/lib64"
gst-plugins-bad | LDFLAGS="-L/usr/lib64 -L/lib64"
gst-plugins-ugly | LDFLAGS="-L/usr/lib64 -L/lib64"
save as /var/lib/sbopkg/queues/gst-plugins.sqf and
Code:
sbopkg -b gst-plugins.sqf
and accept queuefile options with Q

queues are great

Last edited by ponce; 09-06-2009 at 08:58 AM.
 
Old 09-06-2009, 09:06 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,703
Blog Entries: 1

Rep: Reputation: 219Reputation: 219Reputation: 219
Well, I'm not a Slackware user so I don't know the finer points of your package manager. The good and ugly configure scripts are looking for gobject.pc to get information regarding libgobject. The configure script is finding /usr/lib/pkgconfig/gobject.pc which is the one installed by your 32-bit glib. Obviously, they need to find /usr/lib64/pkgconfig/gobject.pc if you're building 64-bit good and ugly plugins. Therefore, you need to tell the configure script where to look. You do that with the PKG_CONFIG_PATH variable. Set it however your package manager requires it be set.

[EDIT]
Ooops, I didn't notice poncez was replying to the OP; thought he was the OP.

Last edited by weibullguy; 09-06-2009 at 09:20 AM.
 
Old 09-06-2009, 09:08 AM   #5
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 917

Rep: Reputation: 87
sbopkg lets you set build options (check the menu with the options README,..., Build). You can use the option

Code:
LDFLAGS='-L/usr/lib64 -L/lib64'
to compile the package, as poncez suggested.
 
Old 09-06-2009, 12:58 PM   #6
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Original Poster
Rep: Reputation: 137Reputation: 137
Thanks poncez, that worked.

samac
 
  


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
LXer: The EeePC and AspireOne: The Good, the Bad and the Ugly LXer Syndicated Linux News 0 03-10-2009 08:30 AM
gst-plugins-bad error regarding x264 agrestic Slackware 6 02-24-2009 11:54 PM
LXer: VirtualBox 1.5: the good, the bad, and the ugly. LXer Syndicated Linux News 0 09-08-2007 08:20 PM
ati x300 - good, bad or ugly? noeffred Linux - Hardware 1 03-05-2005 05:34 PM
the good the bad and the ugly on dual boot oracsol Linux - Newbie 4 12-10-2003 08:34 PM


All times are GMT -5. The time now is 01:51 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 Google+: linuxquestions
Open Source Consulting | Domain Registration