Am Dienstag, den 13.05.2008, 13:52 -0400 schrieb Ibrahim Salloum:
> export LD_LIBRARY_PATH=/usr/local/lib
>
>
> i put this command using linux to run my program.
>
> is there anyeway that i can put this in my perl script in order to run
> the program without exporting it from linux
Hard to tell without knowing what exactly you're doing.
One general solution could be to recompile your program with the option
"-rpath /usr/local/lib" added to your ld flags (cf. the ld man page).
heiko
|