Libcrafter & Eclipse

205 views
Skip to first unread message

Jen Green

unread,
Jun 8, 2014, 9:40:56 PM6/8/14
to libcr...@googlegroups.com
I have installed libcrafter following the instructions on the main page.  For some reason the installation ended up in my home directory (I am running CentOS 6.5).  I am not sure if this is causing an issue but I am trying to use libcrafter in eclipse and getting the following error:

error while loading shared libraries: libcrafter.so.0: cannot open shared object file: No such file or directory

I have already followed this step "Properties -> C/C++ Build -> Settings. In the "Tool Settings" tab I add the library "crafter" (without the lib prefix) into GCC C++ Linker -> Libraries."

How can I resolve this error?

Esteban Pellegrino

unread,
Jun 9, 2014, 4:53:43 AM6/9/14
to libcr...@googlegroups.com
I guess the problem is that the shared library (libcrafter.so.0) is inside some folder in your home directory. You need to set that directory on "Library search path (-L)", which is also in GCC C++ Linker.

how did you compiled librcrafter? which one is the installation directory?


--
You received this message because you are subscribed to the Google Groups "libcrafter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libcrafter+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Esteban Pellegrino | Software Developer
Twitter | Zimperium.com


Reply all
Reply to author
Forward
0 new messages