can I set LD_PRELOAD in jaunty?

Lê Quốc Tuấn mr.lequoctuan at gmail.com
Fri Jun 26 03:18:46 UTC 2009


hmm

i has relogin, many time
i try many time, try to add to other file as: .bashrc, create a script
in /etc/profile.d, ...
in ubuntu 8.10 and below it can work very well

this only happen since 9.04 (also 9.10 alpha*) and LD_PRELOAD value
only, others value go well

2009/6/26 David Fox <dfox94085 at gmail.com>:
> 2009/6/25 Lê Quốc Tuấn <mr.lequoctuan at gmail.com>
>>
>> I try to add this line to .profile
>>  "export LD_PRELOAD=..."
>
> I don't think there is anything strange going on. Anytime you set a
> variable, its "lifetime" is only for the duration of that shell. If
> you go to another terminal, you'll be running another shell, where
> you'd need to export the variable again to have it work.
>
> And, if you are adding it to .profile, it won't kick in until you log
> in and log out, and only if (I think) the shell is a "login" shell.
> You'll probably want to do
>
> $ source .profile
>
> to commit the changes.
>
>
>
> This actually can have some advantages.
>
> --
> thanks for letting me change the magnetic patterns on your hard disk.
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



-- 
Lê Quốc Tuấn (zj3t3mju)
http://www.ubuntu-vn.org




More information about the ubuntu-users mailing list