shared lib support