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

Discussion in 'C Programming' started by sangeeta chowdhary, Aug 11, 2012.

  1. sangeeta chowdhary

    sangeeta chowdhary

    Joined:
    Aug 11, 2012
    Messages:
    1
    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
     
    sangeeta chowdhary, Aug 11, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. francescomoi@europe.com
    Replies:
    1
    Views:
    1,849
    Andy Dustman
    May 12, 2005
  2. John Salerno
    Replies:
    30
    Views:
    2,011
    Stephan Kuhagen
    Aug 10, 2006
  3. Yves Dorfsman

    #!/usr/bin/env python vs. #!/usr/bin/python

    Yves Dorfsman, May 2, 2008, in forum: Python
    Replies:
    27
    Views:
    2,067
    Tim Roberts
    May 10, 2008
  4. anne001
    Replies:
    1
    Views:
    554
  5. Gilles
    Replies:
    7
    Views:
    576
    Matej Cepl
    Sep 30, 2012
Loading...

Share This Page