LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-27-2014, 04:55 PM   #1
5883
Member
 
Registered: Aug 2004
Posts: 173

Rep: Reputation: 0
export LD_LIBRARY_PATH=/some_of_my_path doesn't work


if i do
export LD_LIBRARY_PATH=/some_of_my_path
then
./my_app

it says error loading shared libraries.


Now if i do
LD_LIBRARY_PATH=/some_of_my_path my_app,

now it runs.

why ?

This is ubuntu 12.04
 
Old 08-28-2014, 03:26 AM   #2
sravan14
LQ Newbie
 
Registered: Aug 2014
Posts: 10

Rep: Reputation: Disabled
just try by sourcing your profile just before exporting " LD_LIBRARY_PATH".

code would be:

Code:
Source your profile here
export LD_LIBRARY_PATH=/some_of_my_path
then
./my_app
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot export LD_LIBRARY_PATH smallbook Linux - Newbie 5 02-27-2008 05:57 AM
LD_LIBRARY_PATH doesn't work... lies Linux - Newbie 4 10-16-2007 07:48 AM
export LD_LIBRARY_PATH Pedroski Linux - Software 7 01-01-2005 04:06 AM
Permanently Set a Export Setting (LD_LIBRARY_PATH) nistelrooy Linux - General 1 11-25-2004 11:33 AM
'export' from a script doesn't work, why? sylvain_gnu Debian 3 04-20-2004 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration