How to check for linux prerequisites? lazarus / 32-Linux ---------------------------------------------------------------------- ivan17 · 2010-09-28 02:04 How do I check if the user system has needed libraries installed (gtk2 and gdk-pixbuf; or qt)? I really would like to output some meaningful message instead of having... Code: [Select]./xlstd: error while loading shared libraries: ./xlstd: undefined symbol: gtk_tool_button_get_type... written on the stderr? ---------------------------------------------------------------------- mica · 2010-09-28 11:21 With ldd can you check the dependencies of your program http://linux.die.net/man/1/ldd or build a package (rpm or deb) ---------------------------------------------------------------------- ivan17 · 2010-09-28 20:20 Quote from: mica on September 28, 2010, 01:21:40 pmWith ldd can you check the dependencies of your program i'm talking about a target (end-user's) system. Quote from: mica on September 28, 2010, 01:21:40 pmor build a package (rpm or deb) well that is one way... but i'd like to check at runtime. i was thinking something along the lines of trying to dynamically link to one of the needed libraries and seeing whether it was successful... that would probably be done from a separate (loader) program. anyone had any experience with that?