example shared lib working