Make file compilation

Hi
I am getting the message

/usr/bin/ld: skipping incompatible /opt/sybase/01/OCS-12_5/lib/libblk.a when searching for -lblk
/usr/bin/ld: cannot find -lblk
collect2: ld returned 1 exit status
make: *** [xxx] Error 1

when i am trying to make the makefile.

Any idea about this issue.
Let me know if you need more info.

Regards
Dhana

Hi

You could try and modify your LD_LIBRARY_PATH to include the path for library that is missing while you are trying to run make. Use find to locate the path of that missing library and include it in your LD_LIBRARY_PATH.
Or try to copy the missing library to the place it is supposed to be and run make clean and then make.

HTH

Hi
I have the lib file available (not missing) libblk.a. But i am trying to find out the incompatibility?

Regards
Dhanan

Hi
Any thoughts on this problem?

Regards
Dhana

It's not allowed to bump up questions! Please read the rules:

The moderator team.