RPATH is evil (BTW if you really want it, set LDFLAGS='-Wl,-rpath -Wl,/usr/local/lib'). Much better: # echo /usr/local/lib >> /etc/ld.so.conf # ldconfig # And /lib/ld-linux.so.2 will search libraries there. -- Serge