473,568 Members | 2,935 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Ld_library_path

77 New Member
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?
Feb 25 '10 #1
3 3306
Time
77 New Member
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.
Feb 25 '10 #2
Time
77 New Member
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.
Feb 27 '10 #3
paragpdoke
62 New Member
I am a Unix noob too, but can you try this:
Expand|Select|Wrap|Line Numbers
  1. export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib
  2.  
Mar 1 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
4041
by: Noah | last post by:
Is there a way to get PHP to define LD_LIBRARY_PATH when using exec to start an external program? I wrote an xml validation utility in C++ that links to the Xerces C library. I linked with the -rpath option, so that I should not have to manually set the LD_LIBRARY_PATH to find the Xerces shared object. This works fine from the command line....
6
16614
by: o'seally | last post by:
solaris/linux admins/rookie_developers that battle with this error are probably all frustrated when it happens. i bet you're also somehow frustrated by this seemingly unsolvable error :-) ...take it easy, it'll go away once u've learned how to play around with a few things on your system and reorganised. i'm particulary a solaris junkie, but...
15
3631
by: David Bear | last post by:
I've googled for the above and get way too many hits.. I'm looking for an 'easy' way to have the last item in a list returned. I've thought about list but thought there would be a more gracefull way.
0
1352
by: ewitkop90 | last post by:
This is the box and the variables. ewitkop $ uname -a SunOS remnssdtoolsp01 5.9 Generic_118558-03 sun4u sparc SUNW,UltraAX-i2 LD_LIBRARY_PATH=:/usr/lib:/usr/local/lib:/opt/sfw/lib:/usr/sfw/lib:/usr/local/lib/python2.3/site-packages/roundup:/usr/lib/lwp:/usr/local/lib/python2.3:/usr/local/lib/python2.3/site-packages/roundup/scripts...
1
9246
by: Christian Eriksson | last post by:
Hi! I have a problem using the environment variable LD_LIBRARY_PATH in my perl script. Everything works fine when I set it at the command prompt and then runs my perl script like this: presto1@S0222035> echo $LD_LIBRARY_PATH /SSW/informix/sdk2.50/lib:/SSW/informix/sdk2.50/lib/esql presto1@S0222035> ldd...
0
2843
by: Fred | last post by:
I'm trying to build perl 5.8.6 on an HP-UX 11.11 box. I can create the Makefile OK, and make doesn't return any errors. However, when I run make test I receive the error below regarding the LD_LIBRARY_PATH. So, I did what it suggested and added the build directory to the LD_LIBRARY_PATH, and it still fails. Any ideas? -Thanks
0
1862
by: Brian Cole | last post by:
I can compile and install cx_Oracle fine by following the manta: export ORACLE_HOME=... python setup.py install export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH python >>> import cx_Oracle My issue is the LD_LIBRARY_PATH. Is there a way to compile cx_Oracle, or any Python extension for that matter so that it's not required to set...
9
3738
by: boris.smirnov | last post by:
Hi there, I have a problem with setting environment variable in my script that uses qt library. For this library I have to define a path to tell the script whre to find it. I have a script called "shrink_bs_070226" that looks like this: ********************************** import sys, re, glob, shutil import os
14
7136
by: Nader Emami | last post by:
I have installed "TurboGears" and I would install 'pysqlite' also. I am a user on a Linux machine. If I try to install the 'pysqlite' with 'easy_install' tool I get the next error message. The error message is longer than what I send here. % easy_install pysqlite Searching for pysqlite Reading http://cheeseshop.python.org/pypi/pysqlite/...
5
3771
by: Visa Inquirer | last post by:
I need my program to always link to a particular shared library, not the one in LD_LIBRARY_PATH. Is there a way to specify shared library by full path when linking so that when running LD_LIBRARY_PATH is ignored?
0
7693
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7665
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6277
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.