About the command ldconfig.

Help
2006-12-02
2013-04-25
  • Nobody/Anonymous

    For your last suggestion,I run the following command:
    ldconfig -m /usr/local/expat/lib
    But the system output:
    ldconfig:invalid option -- m
    When I run "ldconfig --usage"
    the result is :
    Usage:ldconfig [-lnNpvX?v] [-c FORMAT] [-C CACHE]
          [-f CONF] [-r ROOT] [--format=FORMAT] [--print-cache]
          [--version] [--help] [--usage] [version]
    Are you sure the command "ldconfig -m /usr/local/expat/lib"
    is right? or ours platform is different from yours?
    our platform is : windows xp sp2+VMware Workstation+Linux2.4.20-8

    I also find the file " libexpat.so.1 " in the directory " /usr/local/lib ".
    What should I do to fix the following problem?

    ./version: error while loading shared libraries:
    > libexpat.so.1:cannot open
    > shared object file:Nosuch file or directory.

     
    • Barry Brachman

      Barry Brachman - 2006-12-04

      >For your last suggestion,I run the following command: 
      >ldconfig -m /usr/local/expat/lib
      >But the system output:
      >ldconfig:invalid option -- m
      >re you sure the command "ldconfig -m >/usr/local/expat/lib" 
      >is right?

      Apparently not with your platform.
      You need to use the right flag so that /usr/local/expat/lib is added to the list of search
      directories.  I do not know what that flag is.

      >or ours platform is different from yours?
      >our platform is : windows xp sp2+VMware >Workstation+Linux2.4.20-8

      Yes, it is different.
      As I mentioned earlier (msg_id=4030277), your
      platform is *not* supported.  We usually cannot
      offer specific help for a platform that is not supported, even though your platform is probably not
      very different from the Redhat/CentOS platform.

      >I also find the file " libexpat.so.1 " in the >directory " /usr/local/lib ".
      >What should I do to fix the following problem?
      >
      >./version: error while loading shared libraries: 
      > libexpat.so.1:cannot open 
      > shared object file:Nosuch file or directory.

      Get DACS 1.4.16 and see if it fixes this problem,
      in which case you will not need to use ldconfig.

      Barry

       
    • Nobody/Anonymous

      Thank you very much!
      I will try it again!

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks