You are here

error with fragment_picker.linuxgccrelease

4 posts / 0 new
Last post
error with fragment_picker.linuxgccrelease
#1

I got the error message when I run fragment_picker:
rosetta_source/bin/fragment_picker.linuxgccrelease: error while loading shared libraries: libprotocols.so: cannot open shared object file: No such file or directory

I think this is because some part of the software didn't compile right, but I don't know where. Could anyone help me with this?
Thank you very much!

Post Situation: 
Tue, 2012-04-17 09:07
jiongzhang

The shortest path to fixing this is to recompile and post the error if there is one.

The most common way to get this particular error is to _move_ the code after compiling it, which breaks the dynamic library paths and leads to no-such-file-or-directory errors.

Tue, 2012-04-17 09:32
smlewis

Hi, I recompiled it and got the message:

/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc

Could you tell me how to solve this problem please. Thank you very much!

Wed, 2012-04-18 06:55
jiongzhang

Those warnings are moderately normal. It means you have similar-looking libraries in your library path other than the libraries you actually need, which is very common on shared hardware.

Are there any errors? Does it end with an error or "scons: done building targets"?

Wed, 2012-04-18 06:59
smlewis