Ld_library_path

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Time
    New Member
    • Jan 2010
    • 77

    Ld_library_path

    i have to run server side of usbip; the thing that matters is at the time of compiling a project my libusbip.so.0.0 and some more files are getting stored in /usr/local/lib where as it should be in /usr/lib
    so i used:
    export LD_LIBRARY_PATH
    LD_LIBRARY_PATH =$LD_LIBRARY_PA TH/usr/local/lib

    ./configure --prefix=/usr

    make install

    but am getting the same error as i was getting without LD_LIBRARY_PATH , error is:
    usbip err: stub_server.c: 433 (do_standalone_ mode) open usb.ids
    sir said that its an open error getting due to some privilages problem as am using sudo.
    So either LD_LIBRARY_PATH should set it or entering as root.
    I want to do it with LD_LIBRARY_PATH .
    I am using LD_LIBRARY_PATH for the first time am sure am missing out something.
    Is that the right way to use?
  • Time
    New Member
    • Jan 2010
    • 77

    #2
    I have made the device as exportable before this.
    meaning i just have to make some changes in usr/local/lib using LD_library_path
    as usbipd -D is earlier step to exporting a device.
    So reply soon people.

    Comment

    • Time
      New Member
      • Jan 2010
      • 77

      #3
      instead of LD_LIBRARY_PATH =$LD_LIBRARY_PA TH/usr/local/lib
      i used LD_LIBRARY_PATH =$LD_LIBRARY_PA TH:/usr/local/lib
      still not working. I need to know this people.

      Comment

      • paragpdoke
        New Member
        • Dec 2007
        • 62

        #4
        I am a Unix noob too, but can you try this:
        Code:
        export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib

        Comment

        Working...