Re: [fpc-pascal] [Linux] Accessing Shared Libraries in *Current* Binary Directory

2008-08-22 Thread Alan Krause
Tom, In the bash shell, type in: export LD_LIBRARY_PATH=. This appends the current directory to the library search path, so if you cd to the app's directory before executing it, you will be good to go. You could also write a bash script to perform these steps automatically for you, as I know

[fpc-pascal] [Linux] Accessing Shared Libraries in *Current* Binary Directory

2008-08-20 Thread T. Guilleminot
Hi, For portability reason I would need to keep my shared libraries in the same directory as the binary which need to call them. As per http://courses.cs.vt.edu/~cs3304/FreePascal/doc/prog/node13.html : This program can be compiled without any additional command-switches, and should run just

Re: [fpc-pascal] [Linux] Accessing Shared Libraries in *Current* Binary Directory

2008-08-20 Thread tom_at_work
Hello, Am 20.08.2008 um 15:37 schrieb T. Guilleminot: For portability reason I would need to keep my shared libraries in the same directory as the binary which need to call them. As per http://courses.cs.vt.edu/~cs3304/FreePascal/doc/prog/ node13.html : This program can be compiled without