Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > linker error - /usr/bin/ld: cannot find -lutils

Reply
Thread Tools

linker error - /usr/bin/ld: cannot find -lutils

 
 
sangeeta chowdhary sangeeta chowdhary is offline
Junior Member
Join Date: Aug 2012
Posts: 1
 
      08-11-2012
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do we find out which object file is pulled in by the linker? prix prad C Programming 4 11-21-2009 02:27 AM
Linker error - CVTRES : fatal error CVT1100: quad C++ 3 06-08-2007 11:02 PM
Why can't the linker find the definitions? William Payne C++ 8 09-22-2004 09:01 PM
find version of binder and Linker in g++ Pankaj Bhagat C++ 2 04-27-2004 07:26 PM
find all unreferenced symbols, not by linker Tzu-Chien Chiu C++ 1 09-15-2003 05:30 PM



Advertisments