"/usr/lib64/libgobject-2.0.so: could not read symbols" when trying to install ORBit2
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
"/usr/lib64/libgobject-2.0.so: could not read symbols" when trying to install ORBit2
Hi all,
I am trying to install ORBit2 - however - it fails with this error messages. Im using Slackware 13 x86_64 with multilib.
Code:
/usr/lib64/libgobject-2.0.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [test-linc] Fel 1
make[3]: Leaving directory `/tmp/SBo/ORBit2-2.14.17/linc2/test'
make[2]: *** [all-recursive] Fel 1
make[2]: Leaving directory `/tmp/SBo/ORBit2-2.14.17/linc2'
make[1]: *** [all-recursive] Fel 1
make[1]: Leaving directory `/tmp/SBo/ORBit2-2.14.17'
make: *** [all] Fel 2
I downloaded the package via www.slackbuild.org, changed the ARCH parameter to x86_64, even added the line:
Code:
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
However same result, if anyone have any suggestions to what might be causing this i would be thankful.
It looks like configure isn't finding one of the headers in the source tarball. Have you tried redownloading the source and unpacking it? There are a lot of errors in that log pertaining to that header file.
I'm seeing many differences between your config.log and mine. Most are something like:
-configure:14352: gcc -o conftest -O2 -fPIC conftest.c >&5
+configure:14352: gcc -o conftest -O2 -fPIC -L/usr/lib64 conftest.c >&5
so it looks like your "LDFLAGS=-L/usr/lib64" is being ignored.
But whether I define LDFLAGS or not, the build still doesn't fail.
Sorry, not much help.
I renamed the /usr/lib directory as a temporary fix - which allowed the problem to be solved - but it's a ugly fix and nothing permanent, i will however keep digging into this.
EDIT: Thanks for the help so far, i really appreciate it!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.