LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-26-2011, 09:06 PM   #1
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Rep: Reputation: 107Reputation: 107
problem installing gst-python slackbuild, not sure whats wrong


Quick background: trying to install pidgin 2.9.0 using AlienBob's 2.5.something slackbuild (only one I could find), just edited the version and it seems to run fine. But it has an error about needing farsight, so I go to install farsight. Farsight has gst-python as a dependency, so I go to install that.

Now, when I try to install gst-python, it errors out and none of the files mention any dependencies, so I have absolutely no idea why this is not installing. Dependency error or something else? no idea.

Here are the last several lines from the build process. I can post more if needed.
Code:
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/SBo/gst-python-0.10.19/examples'
Making all in plugin
make[2]: Entering directory `/tmp/SBo/gst-python-0.10.19/plugin'
  CC     gstpythonplugin.lo
  CCLD   libgstpython.la
/usr/lib/libgstreamer-0.10.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [libgstpython.la] Error 1
make[2]: Leaving directory `/tmp/SBo/gst-python-0.10.19/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/gst-python-0.10.19'
make: *** [all] Error 2
I think the problem is where it says could not read symbols, but I'm not sure how to fix that error. Anyone help would be greatly appreciated.
 
Old 06-27-2011, 12:43 AM   #2
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
First of all, the Slackware source tree should contain a newer SlackBuild than AlienBOBs place.
Now, about gst-python
Quote:
/usr/lib/libgstreamer-0.10.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
this error suggests that you have multilib installed on a 64bit system, specifically a 32bit gstreamer package. You might want to read the slackbuilds.org FAQ if thats the case.
 
Old 06-27-2011, 07:37 AM   #3
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Original Poster
Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by sahko View Post
First of all, the Slackware source tree should contain a newer SlackBuild than AlienBOBs place.
Now, about gst-python
this error suggests that you have multilib installed on a 64bit system, specifically a 32bit gstreamer package. You might want to read the slackbuilds.org FAQ if thats the case.
Just did slackpkg search gstreamer, and the output was gstreamer-0.10.32-x86_64-1

So I don't think it can be a 32 bit gstreamer, unless it somehow compiled as 32 bit while retaining the x86_64 tag. I only use multilib in order to use three applications, none of which use gstreamer, so I wouldn't have compiled it as 32 bit. Also, I use sbopkg to install most of my slackbuilds, including this one. Could this have somehow caused a problem?
 
Old 06-27-2011, 07:48 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
Quote:
Originally Posted by Cultist View Post
Just did slackpkg search gstreamer, and the output was gstreamer-0.10.32-x86_64-1
That's correct output, but not the output you were expecting. You have to realize that slackpkg only knows about the official Slackware packages. It will not find or report any package you added on top, such as my 32-bit compat32 packages.

Quote:
So I don't think it can be a 32 bit gstreamer, unless it somehow compiled as 32 bit while retaining the x86_64 tag. I only use multilib in order to use three applications, none of which use gstreamer, so I wouldn't have compiled it as 32 bit. Also, I use sbopkg to install most of my slackbuilds, including this one. Could this have somehow caused a problem?
The evidence is in your errorlog:
Code:
/usr/lib/libgstreamer-0.10.so: could not read symbols: File in wrong format
This is a 32-bit gstreamer library. On a 64-bit Slackware system the most likely explanation of its existence is that it got installed as part of the gstreamer-compat32 package.

Try this:
Code:
ls -l /var/log/packages/*compat32*
and examine the output for a gstreamer package.

Eric
 
Old 06-27-2011, 04:14 PM   #5
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Original Poster
Rep: Reputation: 107Reputation: 107
Thanks for your responses, Bob and Sanhko.

Do I tried Bob's advice and found gstreamer as a compat32 package. Removed that package and installed it in 64 bit, and tried gst-python again. Now it gives an error for this:
Code:
/usr/lib/libgobject-2.0.so: could not read symbols: File in wrong format
I entered that command again, but this time I don't see gobject mentioned in there. A quick google search turned up nothing helpful, so if its the same problem, I don't know which of these packages would include this library. Here's the complete output:

Code:
-rw-r--r-- 1 root root   2884 Jun  4 15:58 /var/log/packages/aaa_elflibs-compat32-13.37-x86_64-7
-rw-r--r-- 1 root root   1459 Jun  4 15:58 /var/log/packages/alsa-lib-compat32-1.0.24.1-x86_64-1
-rw-r--r-- 1 root root   1190 Jun  4 15:58 /var/log/packages/alsa-oss-compat32-1.0.17-x86_64-1
-rw-r--r-- 1 root root    796 Jun  4 15:58 /var/log/packages/atk-compat32-1.32.0-x86_64-1
-rw-r--r-- 1 root root   1086 Jun  4 15:58 /var/log/packages/audiofile-compat32-0.2.7-x86_64-1
-rw-r--r-- 1 root root   1089 Jun  4 15:58 /var/log/packages/bzip2-compat32-1.0.6-x86_64-1
-rw-r--r-- 1 root root   1515 Jun  4 15:58 /var/log/packages/cairo-compat32-1.10.2-x86_64-2
-rw-r--r-- 1 root root    964 Jun  4 15:55 /var/log/packages/compat32-tools-2.1-noarch-8alien
-rw-r--r-- 1 root root   3120 Jun  4 15:58 /var/log/packages/cups-compat32-1.4.6-x86_64-1
-rw-r--r-- 1 root root   1247 Jun  4 15:59 /var/log/packages/curl-compat32-7.21.4-x86_64-1
-rw-r--r-- 1 root root   1159 Jun  4 15:58 /var/log/packages/cxxlibs-compat32-6.0.14-x86_64-1
-rw-r--r-- 1 root root   1390 Jun  4 15:59 /var/log/packages/cyrus-sasl-compat32-2.1.23-x86_64-1
-rw-r--r-- 1 root root   1445 Jun  4 15:58 /var/log/packages/dbus-compat32-1.4.1-x86_64-1
-rw-r--r-- 1 root root    919 Jun  4 15:58 /var/log/packages/dbus-glib-compat32-0.88-x86_64-1
-rw-r--r-- 1 root root   1246 Jun  4 15:58 /var/log/packages/e2fsprogs-compat32-1.41.14-x86_64-1
-rw-r--r-- 1 root root   1443 Jun  4 15:58 /var/log/packages/esound-compat32-0.2.41-x86_64-1
-rw-r--r-- 1 root root    862 Jun  4 15:58 /var/log/packages/expat-compat32-2.0.1-x86_64-2
-rw-r--r-- 1 root root   1260 Jun  4 15:59 /var/log/packages/fontconfig-compat32-2.8.0-x86_64-1
-rw-r--r-- 1 root root   1075 Jun  4 15:58 /var/log/packages/freetype-compat32-2.4.4-x86_64-1
-rw-r--r-- 1 root root   1281 Jun  4 15:59 /var/log/packages/gamin-compat32-0.1.10-x86_64-3
-rw-r--r-- 1 root root   3501 Jun  4 15:59 /var/log/packages/gdk-pixbuf2-compat32-2.23.3-x86_64-1
-rw-r--r-- 1 root root   1058 Jun  4 15:59 /var/log/packages/glew-compat32-1.5.7-x86_64-1
-rw-r--r-- 1 root root   1794 Jun  4 15:59 /var/log/packages/glib2-compat32-2.28.6-x86_64-1
-rw-r--r-- 1 root root   1672 Jun  4 15:59 /var/log/packages/gnutls-compat32-2.10.5-x86_64-1
-rw-r--r-- 1 root root   5303 Jun  4 15:59 /var/log/packages/gst-plugins-base-compat32-0.10.32-x86_64-1
-rw-r--r-- 1 root root   5860 Jun  4 15:59 /var/log/packages/gst-plugins-good-compat32-0.10.28-x86_64-2
-rw-r--r-- 1 root root   3501 Jun  4 15:59 /var/log/packages/gtk+2-compat32-2.24.4-x86_64-1
-rw-r--r-- 1 root root   1624 Jun  4 15:59 /var/log/packages/hal-compat32-0.5.14-x86_64-3
-rw-r--r-- 1 root root   1080 Jun  4 15:59 /var/log/packages/jasper-compat32-1.900.1-x86_64-3
-rw-r--r-- 1 root root    974 Jun  4 15:59 /var/log/packages/lcms-compat32-1.19-x86_64-1
-rw-r--r-- 1 root root    836 Jun  4 15:59 /var/log/packages/libFS-compat32-1.0.3-x86_64-1
-rw-r--r-- 1 root root    883 Jun  4 15:59 /var/log/packages/libICE-compat32-1.0.7-x86_64-1
-rw-r--r-- 1 root root    861 Jun  4 15:59 /var/log/packages/libSM-compat32-1.2.0-x86_64-1
-rw-r--r-- 1 root root    997 Jun  4 15:59 /var/log/packages/libX11-compat32-1.4.3-x86_64-2
-rw-r--r-- 1 root root    980 Jun  4 15:59 /var/log/packages/libXScrnSaver-compat32-1.2.1-x86_64-1
-rw-r--r-- 1 root root    883 Jun  4 15:59 /var/log/packages/libXau-compat32-1.0.6-x86_64-1
-rw-r--r-- 1 root root    928 Jun  4 15:59 /var/log/packages/libXaw-compat32-1.0.9-x86_64-1
-rw-r--r-- 1 root root   1030 Jun  4 15:59 /var/log/packages/libXcomposite-compat32-0.4.3-x86_64-1
-rw-r--r-- 1 root root    971 Jun  4 15:59 /var/log/packages/libXcursor-compat32-1.1.11-x86_64-1
-rw-r--r-- 1 root root    967 Jun  4 15:59 /var/log/packages/libXdamage-compat32-1.1.3-x86_64-1
-rw-r--r-- 1 root root    924 Jun  4 15:59 /var/log/packages/libXdmcp-compat32-1.1.0-x86_64-1
-rw-r--r-- 1 root root    925 Jun  4 15:59 /var/log/packages/libXevie-compat32-1.0.3-x86_64-1
-rw-r--r-- 1 root root    903 Jun  4 15:59 /var/log/packages/libXext-compat32-1.2.0-x86_64-1
-rw-r--r-- 1 root root    936 Jun  4 15:59 /var/log/packages/libXfixes-compat32-5.0-x86_64-1
-rw-r--r-- 1 root root    926 Jun  4 15:59 /var/log/packages/libXfont-compat32-1.4.3-x86_64-1
-rw-r--r-- 1 root root    994 Jun  4 15:59 /var/log/packages/libXfontcache-compat32-1.0.5-x86_64-1
-rw-r--r-- 1 root root    882 Jun  4 15:59 /var/log/packages/libXft-compat32-2.2.0-x86_64-1
-rw-r--r-- 1 root root    833 Jun  4 15:59 /var/log/packages/libXi-compat32-1.4.2-x86_64-1
-rw-r--r-- 1 root root    954 Jun  4 15:59 /var/log/packages/libXinerama-compat32-1.1.1-x86_64-1
-rw-r--r-- 1 root root    924 Jun  4 15:59 /var/log/packages/libXmu-compat32-1.1.0-x86_64-1
-rw-r--r-- 1 root root    833 Jun  4 15:59 /var/log/packages/libXp-compat32-1.0.1-x86_64-1
-rw-r--r-- 1 root root    937 Jun  4 15:59 /var/log/packages/libXpm-compat32-3.5.9-x86_64-1
-rw-r--r-- 1 root root    945 Jun  4 15:59 /var/log/packages/libXrandr-compat32-1.3.1-x86_64-1
-rw-r--r-- 1 root root    966 Jun  4 15:59 /var/log/packages/libXrender-compat32-0.9.6-x86_64-1
-rw-r--r-- 1 root root    904 Jun  4 15:59 /var/log/packages/libXres-compat32-1.0.5-x86_64-1
-rw-r--r-- 1 root root    835 Jun  4 15:59 /var/log/packages/libXt-compat32-1.1.1-x86_64-1
-rw-r--r-- 1 root root    873 Jun  4 15:59 /var/log/packages/libXtst-compat32-1.2.0-x86_64-1
-rw-r--r-- 1 root root    862 Jun  4 15:59 /var/log/packages/libXv-compat32-1.0.6-x86_64-1
-rw-r--r-- 1 root root    919 Jun  4 15:59 /var/log/packages/libXvMC-compat32-1.0.6-x86_64-1
-rw-r--r-- 1 root root    953 Jun  4 15:59 /var/log/packages/libXxf86dga-compat32-1.1.2-x86_64-1
-rw-r--r-- 1 root root    974 Jun  4 15:59 /var/log/packages/libXxf86misc-compat32-1.0.3-x86_64-1
-rw-r--r-- 1 root root    934 Jun  4 15:59 /var/log/packages/libXxf86vm-compat32-1.1.1-x86_64-1
-rw-r--r-- 1 root root   1097 Jun  4 15:59 /var/log/packages/libart_lgpl-compat32-2.3.21-x86_64-1
-rw-r--r-- 1 root root    854 Jun  4 15:59 /var/log/packages/libdmx-compat32-1.1.1-x86_64-1
-rw-r--r-- 1 root root   1132 Jun  4 15:59 /var/log/packages/libdrm-compat32-2.4.23-x86_64-1
-rw-r--r-- 1 root root   1040 Jun  4 15:59 /var/log/packages/libelf-compat32-0.8.13-x86_64-2
-rw-r--r-- 1 root root   1027 Jun  4 15:59 /var/log/packages/libexif-compat32-0.6.20-x86_64-1
-rw-r--r-- 1 root root    933 Jun  4 15:59 /var/log/packages/libfontenc-compat32-1.1.0-x86_64-1
-rw-r--r-- 1 root root   1013 Jun  4 15:59 /var/log/packages/libgcrypt-compat32-1.4.6-x86_64-1
-rw-r--r-- 1 root root   1042 Jun  4 15:59 /var/log/packages/libglade-compat32-2.6.4-x86_64-4
-rw-r--r-- 1 root root   1157 Jun  4 15:59 /var/log/packages/libgpg-error-compat32-1.9-x86_64-1
-rw-r--r-- 1 root root   6895 Jun  4 15:59 /var/log/packages/libgphoto2-compat32-2.4.10.1-x86_64-1
-rw-r--r-- 1 root root   1061 Jun  4 15:59 /var/log/packages/libidn-compat32-1.19-x86_64-1
-rw-r--r-- 1 root root   1261 Jun  4 15:59 /var/log/packages/libieee1284-compat32-0.2.11-x86_64-2
-rw-r--r-- 1 root root   1276 Jun  4 15:59 /var/log/packages/libjpeg-compat32-v8a-x86_64-1
-rw-r--r-- 1 root root   1038 Jun  4 15:59 /var/log/packages/libmng-compat32-1.0.10-x86_64-2
-rw-r--r-- 1 root root    966 Jun  4 15:59 /var/log/packages/libmpc-compat32-0.8.2-x86_64-2
-rw-r--r-- 1 root root   1049 Jun  4 15:59 /var/log/packages/libpcap-compat32-1.1.1-x86_64-1
-rw-r--r-- 1 root root   1355 Jun  4 15:59 /var/log/packages/libpng-compat32-1.4.5-x86_64-1
-rw-r--r-- 1 root root   1347 Jun  4 15:59 /var/log/packages/libsndfile-compat32-1.0.24-x86_64-1
-rw-r--r-- 1 root root    941 Jun  4 15:59 /var/log/packages/libtermcap-compat32-1.2.3-x86_64-7
-rw-r--r-- 1 root root   1527 Jun  4 15:59 /var/log/packages/libtiff-compat32-3.9.4-x86_64-2
-rw-r--r-- 1 root root   1174 Jun  4 15:58 /var/log/packages/libtool-compat32-2.4-x86_64-1
-rw-r--r-- 1 root root   1352 Jun  4 15:59 /var/log/packages/libusb-compat32-1.0.8-x86_64-2
-rw-r--r-- 1 root root   2828 Jun  4 15:59 /var/log/packages/libxcb-compat32-1.7-x86_64-1
-rw-r--r-- 1 root root   1554 Jun  4 15:59 /var/log/packages/libxml2-compat32-2.7.8-x86_64-3
-rw-r--r-- 1 root root   1308 Jun  4 15:59 /var/log/packages/libxslt-compat32-1.1.26-x86_64-1
-rw-r--r-- 1 root root   2482 Jun  4 15:59 /var/log/packages/mesa-compat32-7.9.2-x86_64-1
-rw-r--r-- 1 root root   1302 Jun  4 15:58 /var/log/packages/mpg123-compat32-1.13.3-x86_64-1
-rw-r--r-- 1 root root   3146 Jun  4 15:58 /var/log/packages/mysql-compat32-5.1.56-x86_64-1
-rw-r--r-- 1 root root   1469 Jun  4 15:59 /var/log/packages/ncurses-compat32-5.9-x86_64-1
-rw-r--r-- 1 root root   1487 Jun  4 15:59 /var/log/packages/openldap-client-compat32-2.4.23-x86_64-1
-rw-r--r-- 1 root root   1618 Jun  4 15:59 /var/log/packages/openssl-compat32-0.9.8r-x86_64-3
-rw-r--r-- 1 root root   1185 Jun  4 15:58 /var/log/packages/openssl-solibs-compat32-0.9.8r-x86_64-3
-rw-r--r-- 1 root root   2835 Jun  4 15:59 /var/log/packages/pango-compat32-1.28.4-x86_64-1
-rw-r--r-- 1 root root    942 Jun  4 15:59 /var/log/packages/pixman-compat32-0.20.2-x86_64-1
-rw-r--r-- 1 root root   1136 Jun  4 15:59 /var/log/packages/popt-compat32-1.7-x86_64-3
-rw-r--r-- 1 root root 236812 Jun  4 15:59 /var/log/packages/qt-compat32-4.7.0_7abde40-x86_64-3
-rw-r--r-- 1 root root   1154 Jun  4 15:59 /var/log/packages/readline-compat32-5.2-x86_64-4
-rw-r--r-- 1 root root   6965 Jun  4 16:00 /var/log/packages/sane-compat32-1.0.22-x86_64-2
-rw-r--r-- 1 root root   1676 Jun  4 15:59 /var/log/packages/sdl-compat32-1.2.14-x86_64-5
-rw-r--r-- 1 root root   1880 Jun  4 15:59 /var/log/packages/seamonkey-solibs-compat32-2.1b3-x86_64-2
-rw-r--r-- 1 root root   1138 Jun  4 15:59 /var/log/packages/svgalib-compat32-1.9.25-x86_64-2
-rw-r--r-- 1 root root   1964 Jun  4 15:58 /var/log/packages/util-linux-compat32-2.19-x86_64-1
-rw-r--r-- 1 root root   1698 Jun  4 15:59 /var/log/packages/v4l-utils-compat32-0.8.3-x86_64-2
-rw-r--r-- 1 root root  11564 Jun  4 16:00 /var/log/packages/xfce-compat32-4.6.2-x86_64-5
-rw-r--r-- 1 root root    884 Jun  4 15:59 /var/log/packages/zlib-compat32-1.2.5-x86_64-4
Is it something that would be included in one of the installed compat32 packages?
 
Old 06-27-2011, 04:24 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
Perhaps you should read http://slackbuilds.org/faq/#multilib
It won't help removing all those compat32 packages, you'll end up with broken 32-bit support on your multilib computer.


Eric
 
Old 06-27-2011, 04:45 PM   #7
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Original Poster
Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by Alien Bob View Post
Perhaps you should read http://slackbuilds.org/faq/#multilib
It won't help removing all those compat32 packages, you'll end up with broken 32-bit support on your multilib computer.


Eric
Fantastic, it worked! Thanks so much

I promise I normally RTFM, I guess I just missed this one
 
  


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
[SOLVED] [gst-python] Python warning with gstreamer Snark1994 Programming 2 01-09-2011 09:56 AM
Some insight on whats going wrong [Not a coding problem, but concept problem] imoracle Linux - Newbie 5 11-13-2008 11:49 PM
gst-python-0.10 Compile Problem raixun Slackware 4 08-09-2008 10:31 AM
gst-python-0.10.7 configure prob john_smith Linux - Software 1 03-04-2007 04:11 AM
Whats wrong with python? M$ISBS Programming 15 12-17-2006 12:05 PM

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

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