LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-07-2013, 03:59 PM   #1
chexmix
Member
 
Registered: Apr 2002
Location: Arlington, MA
Distribution: Slackware, Debian, OpenBSD
Posts: 246
Blog Entries: 16

Rep: Reputation: 25
libgda SlackBuild


Hi all -

I've been updating some SlackBuilds and ran into a snag with libgda ... this is one of WSR's SlackBuilds so I'm sure it's something I'm doing wrong!

Anyway, here is where the build bails:

Code:
make[2]: Entering directory `'
  CC       gdaprov-data-model-ldap.lo
  CC       gda-ldap-provider.lo
  CC       gda-ldap-util.lo
  CC       libmain.lo
  CCLD     libgda-ldap.la
/usr/lib/libgobject-2.0.so: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
I dug a little bit but didn't turn up much that was pertinent. At first I thought, "well, I retreated from multilib not that long ago, maybe something got left behind that is interfering here?"

But I found AlienBob's instructions on uninstalling multilib and I believe on the basis of those instructions, I did everything correctly.

Then I wondered why the build was looking in /usr/lib instead of /usr/lib64, since libgobject-2.0.so lives in /usr/lib64 as well. I went to /tmp/SBo/libgda-5.2.1/providers/ldap and poked around, and in the Makefile I see these lines:

Code:
JSON_GLIB_LIBS = 
LD = /usr/x86_64-slackware-linux/bin/ld -m elf_x86_64
LDAP_CFLAGS = -I/usr/include
LDAP_LIBS = -L/usr/lib -lldap -llber
LDFLAGS =
... I'm wondering whether the bolded line, there, is the issue?

/Glenn
 
Old 12-07-2013, 06:59 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Well, there's a problem that /usr/lib/libgobject-2.0.so is still there.

A pure Slackware64 installation has it in only /usr/lib64.
 
Old 12-07-2013, 08:03 PM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
you must also recompile all packages that were built when you were still in multilib
 
  


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
error while loading shared libraries: libgda-4.0.so.4: cannot open shared object file mahesh1234 Linux - Newbie 2 10-22-2013 11:06 PM
Slackbuild tuxbg Slackware 10 12-28-2012 03:11 PM
*.SlackBuild SolitudeSensus Programming 3 07-17-2009 11:50 PM
failure while upgrading libgda soundarvictor Linux - Software 0 07-06-2005 04:43 AM
Trying to compile libgda-1.1.4.. Fedora Core 2 j3di3 Linux - Software 0 06-16-2004 11:17 AM

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

All times are GMT -5. The time now is 11:20 AM.

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