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