You are not logged in.

#1 2010-03-19 21:34:01

cleem
Member
Registered: 2010-03-19
Posts: 4

[SOLVED] Environmental variables for libs

Can I set global environmental variables for ld libs? I try to set LDPATH, add to PATH, but it doesn't work. ld can't see my libs in /usr/local/lib.

Last edited by cleem (2010-03-20 10:04:13)

Offline

#2 2010-03-19 22:29:38

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: [SOLVED] Environmental variables for libs

You could just add that dir to /etc/ld.so.conf
And then rebuild the cache.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2010-03-20 00:07:32

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: [SOLVED] Environmental variables for libs

export LD_LIBRARY_PATH=/usr/local/lib

Offline

#4 2010-03-20 10:04:41

cleem
Member
Registered: 2010-03-19
Posts: 4

Re: [SOLVED] Environmental variables for libs

thnx!

Offline

Board footer

Powered by FluxBB