Sorry, but why LD_LIBRARY_PATH=/path/to/new/lib hello_worldis 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

