Hans - 2010-12-09

I've searched now for a while and didn't find the solution for my problem yet.
There's to say, I'm really new to C (normally I work with Java), so my problem
could be trivial to solve ;) I use for my tries Eclipse CDT under an Ubuntu
Linux.

Until now I've managed to install the OCILIB itself on the machine and after
some iterations libocilib.so has no linking errors (using ldd). I've copied
the OCILIB sample code to the main class and wanted to compile but it doesn't.
I get the following error:

Invoking: GCC C Linker
gcc  -o"HelloWorld"  ./src/HelloWorld.o   -l/usr/local/lib/libocilib.so -l/localdata/instantclient_10_2/libclntsh.so -l/localdata/instantclient_10_2/libnnz10.so
/usr/bin/ld: cannot find -l/usr/local/lib/libocilib.so
collect2: ld returned 1 exit status
make: *** [HelloWorld] Fehler 1

What does this mean? All I can find seems to be a problem with linking but I
don't see where?