Sorry, but why LD_LIBRARY_PATH=/path/to/new/lib hello_world is not sufficient in this case? The freshly built lib is used instead of /usr/lib/libpt..., so errors can be checked. What do I miss? -- Eugen