"/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 Code:
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ Thanks in advance, Olle |
You shouldn't have had to change anything in the SlackBuild script. The only thing you should have had to do is
Code:
you@yourmachine: ARCH=x86_64 ./appname.SlackBuild |
Quote:
|
Can you post your /tmp/SBo/ORBit2-2.14.17config.log?
|
Quote:
|
Code:
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory |
Can you show us the output of "file /usr/lib64/libgobject-2.0.so.0.1800.4"?
|
Quote:
Code:
/usr/lib64/libgobject-2.0.so.0.1800.4: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped |
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. |
Yeah, I did notice in the config.log some entries like this:
Code:
ORBIT_NAME_LIBS='-pthread -Wl,--export-dynamic -L/usr/lib -lgobject-2.0 -lgthread-2.0 -lrt -lgmodule-2.0 -lglib-2.0 ' |
Quote:
ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ollebanan Your configure line should look just like this after you added the LDFLAGS part. CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ ./configure \ |
Quote:
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! |
Do you have anything set in your environment? Do
Code:
echo $CFLAGS |
Quote:
|
Quote:
all that changes You made are good, but did You also have defined $LIBDIRSUFFIX variable before You call it in LDFLAGS? Just add those lines into the script just after working directories definitions: Code:
if [ "$ARCH" = "i486" ]; then PS: oh, I forgot something - add new ./configure option: --libdir=/usr/lib${LIBDIRSUFFIX} ;) |
All times are GMT -5. The time now is 07:28 AM. |