473,386 Members | 1,962 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Ld_library_path

77
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_PATH/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 3301
Time
77
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
instead of LD_LIBRARY_PATH=$LD_LIBRARY_PATH/usr/local/lib
i used LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
still not working. I need to know this people.
Feb 27 '10 #3
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
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...
6
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...
15
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...
0
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 ...
1
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: ...
0
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...
0
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...
9
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...
14
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...
5
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.