- Joined
- Aug 11, 2012
- Messages
- 1
- Reaction score
- 0
Hi,
I am trying to compile my code on RHEL 6, 64 bit machine.
while compiling i get error /usr/bin/ld: cannot find -lutils
lutils is my .so lib
#echo $LD_LIBRARY_PATH
/usr/local/lib:/usr/lib/mysql:/prd/mdp/lib:/usr/lib64
in make file i have given path like this-
#JSF_LIBS :=-L/usr/lib64 -lutils -lwrapper -lnetwork -lipc -llogger_client -ljsfconf -lsignal_handler -larch -lworkq -lbt_cache_store -lbt_parser -lhash -lpollq
in folder /usr/lib64, slink is present for this file
ls -lrt | grep libutils.so.1
-rwxr-xr-x 1 root root 48097 Aug 11 14:04 libutils.so.1.0.0
lrwxrwxrwx 1 root root 17 Aug 11 16:19 libutils.so.1 -> libutils.so.1.0.0
I am not able to understand what is wrong.
Please help me
I am trying to compile my code on RHEL 6, 64 bit machine.
while compiling i get error /usr/bin/ld: cannot find -lutils
lutils is my .so lib
#echo $LD_LIBRARY_PATH
/usr/local/lib:/usr/lib/mysql:/prd/mdp/lib:/usr/lib64
in make file i have given path like this-
#JSF_LIBS :=-L/usr/lib64 -lutils -lwrapper -lnetwork -lipc -llogger_client -ljsfconf -lsignal_handler -larch -lworkq -lbt_cache_store -lbt_parser -lhash -lpollq
in folder /usr/lib64, slink is present for this file
ls -lrt | grep libutils.so.1
-rwxr-xr-x 1 root root 48097 Aug 11 14:04 libutils.so.1.0.0
lrwxrwxrwx 1 root root 17 Aug 11 16:19 libutils.so.1 -> libutils.so.1.0.0
I am not able to understand what is wrong.
Please help me