I2PC/xmipp

wrong path to the libcifpp

azazellochg opened this issue · 9 comments

xmipp/xmipp

Line 527 in 9a20a8d

ok = ok and runJob("cp " + os.path.join(libcifppDir, "lib", "libcifpp.so*") + " " + libDir)

it should be "lib64" not "lib"

Hey @azazellochg, I'm sorry about that issue, what system are you running? The lib folder is created when compiling the library, and in my specific case, it was lib, not lib64. I can add a check for that foldername, but it would be better to know when one folder is created or another.

I have AlmaLinux release 8.7 (Stone Smilodon)

I'm creating a Pull Request in a few minutes solving this, I'll let you know as soon as it's done.

I've changed to lib64 myself and xmipp compilation worked, so it definitely works for me:)

I've changed to lib64 myself and xmipp compilation worked, so it definitely works for me:)

What do you mean by changed to lib64? You mean you did mv lib64/ lib?

no I mean I fixed xmipp file

Oh, okay, I'm adding a conditional folder check so if lib64 exists, it goes to that one, otherwise just lib.
Anyway just to be 100% safe, from the xmipp folder, can you run ./build/bin/xmipp_test_cif_main?
It is a test that uses the libcifpp library. If it works, you should be fine.

I dont have this file as I didnt compile tests

Oh, okay, don't worry then. If you want to test it, you will need to do a cleanAll, the reapply your folder change in xmipp, and recompile, but it's only if you really want to test it.