hey, I created a C openGL glx application. I need to link to libx11. so and other standard libs. Im little worried about the linker: I typed ./libcustom to link to custom lib in working directory. -l libX11 to link to x11, but I tested the app on another Ubuntu. It failed to open shared object libx11.so.6??? I thought libx was standard for Linux? So I really don't know how to robustly link with standalone applications on Linux. I do not want the user to install the libs (I don't even know how to code an installer). I know, my machine is x86, the other Ubuntu was x86_64, so a 32bit app linking to a 64 bit lib. Shouldn't be a problem? Do I need to provide 2 different executable, one for 32 bit and one for 64 bit, with the dependancies provided by me? I want to keep the distribution package as small as possible.
Bookmarks