LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-21-2011, 07:31 PM   #1
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 73
error building glade3 slackbuild?


hey all, im trying to build the glade3 slackbuild on slackware x64 -current, but everytime i try to build it, i get the same error:

Code:
/usr/lib/libgtk-x11-2.0.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [libgladepython.la] Error 1
make[3]: Leaving directory `/tmp/SBo/glade3-3.6.7/plugins/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/glade3-3.6.7/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/glade3-3.6.7'
make: *** [all] Error 2
there are no dependencies listed in the slackbuild, so i'm confused as to what could be causing this error. any ideas?
 
Old 01-21-2011, 07:49 PM   #2
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 648

Rep: Reputation: 92
Glade3 from slackbuilds.org builds fine on 32bit -current. I have the following:

Code:
root@skamandros/home/andrew# find /usr/lib -iname 'libgtk*'
/usr/lib/libgtk-x11-2.0.so
/usr/lib/libgtkspell.so
/usr/lib/libgtk-1.2.so.0
/usr/lib/libgtkspell.la
/usr/lib/libgtk-x11-2.0.so.0.2200.1
/usr/lib/libgtkspell.so.0.0.0
/usr/lib/libgtk-x11-2.0.so.0
/usr/lib/libgtk.la
/usr/lib/libgtk.a
/usr/lib/libgtk.so
/usr/lib/libgtk-x11-2.0.la
/usr/lib/libgtkspell.so.0
/usr/lib/libgtk-1.2.so.0.9.1

Last edited by andrew.46; 01-21-2011 at 07:51 PM.
 
Old 01-21-2011, 07:55 PM   #3
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 73
must be an error with 64 bit then?
 
Old 01-21-2011, 10:35 PM   #4
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
I noticed that there is a glade3 package and slackbuild in the deps directory for Robby's Xfce 4.8 packages
http://connie.slackware.com/~rworkman/xfce-4.8/

You may want to give that a try instead.

I maintain the glade3 SlackBuild on SBo, but have only tested it on 13.1.
 
Old 01-21-2011, 11:14 PM   #5
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
Are you using multilib? If so try passing LDFLAGS
Code:
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-L/usr/lib$LIBDIRSUFFIX" \
./configure \
---edit---
Confirmed adding LDFLAGS fixes the compile error.

Last edited by disturbed1; 01-21-2011 at 11:17 PM.
 
1 members found this post helpful.
Old 01-21-2011, 11:31 PM   #6
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 73
^^ did the trick. 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
[SOLVED] Program Segmentation Fault when building with a Slackbuild Daedra Slackware 1 11-28-2010 07:44 AM
Slackbuild handbrake error-[gtk.install] Error 2 Swift&Smart Slackware 8 08-17-2010 04:42 PM
[SOLVED] ORBit2 Slackbuild fails when building 32 bit package on current multilib damgar Slackware 4 04-10-2010 03:26 PM
building from slackbuild script konfigure Slackware 2 03-21-2009 10:59 AM
Glade3 strange behavior, menu items disappear sparker Programming 0 02-29-2008 04:24 PM


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