./src/gps: error while loading shared libraries: libdbi.so.0:

Hello!
I've succesfully compiled the gps programm and the latest libraries too, but cannot test it:

[root@mx2 release-1.005]# ./src/gps -v /etc/postfix/gps.conf < tests/testinput4.txt
./src/gps: error while loading shared libraries: libdbi.so.0: cannot open shared object file: No such file or directory

The libraries are located here:

[root@mx2 lib]# pwd
/usr/local/lib
[root@mx2 lib]# ll
total 120
drwxr-xr-x 2 root root 4096 Jan 1 21:27 dbd
-rw-r--r-- 1 root root 53048 Jan 1 21:20 libdbi.a
-rwxr-xr-x 1 root root 794 Jan 1 21:20 libdbi.la
lrwxrwxrwx 1 root root 15 Jan 1 21:20 libdbi.so -> libdbi.so.0.0.5
lrwxrwxrwx 1 root root 15 Jan 1 21:20 libdbi.so.0 -> libdbi.so.0.0.5
-rwxr-xr-x 1 root root 51687 Jan 1 21:20 libdbi.so.0.0.5
[root@mx2 lib]# cd dbd
[root@mx2 dbd]# pwd
/usr/local/lib/dbd
[root@mx2 dbd]# ll
total 48
-rw-r--r-- 1 root root 17140 Jan 1 21:27 libdbdmysql.a
-rwxr-xr-x 1 root root 847 Jan 1 21:27 libdbdmysql.la
-rwxr-xr-x 1 root root 23804 Jan 1 21:27 libdbdmysql.so

What's wrong?
Where should I set the path to the libraries?

Thank's Simon

Forums: 

In case you compiled the libdbi *after* gps try recompiling gps (start with make clean)

mm

Ok, sorru, solved.
I've copied the libraries into /usr/lib :)

Now it's all ok!

Simon