https://en.wiktionary.org/wiki/l%C3%ADbit 1. (reflexive, used with se) to like (with subject and object reversed); to be liked.
https://en.wiktionary.org/wiki/m%C3%ADt_r%C3%A1d 1. to like (to enjoy) 2. to love
https://en.wiktionary.org/wiki/bavit 1. (transitive) to entertain, to amuse (subject: person, object: person) 2. (reflexive, used with se) to talk, to converse
But also (missing there): 3. to enjoy oneself, to be amused, to be entertained
Yes, it is a bit of a strange sentence. I guess it would be more on the order of school as an institution. The best example of something similar I can think of at the moment would be perhaps you like onions or hot peppers but they give you heartburn. You might say in such a case that you like onions but they do not like you. Does that make sense?