Static linking libs?
Posted: Thu Jul 24, 2008 9:14 pm
Hi Guys and Girls 
I have a server Apllication that is compiled under Ubuntu and has to run on a debian/GNU Server - that's no problem so far as Ubuntu is a debian distribution.
Anyway, when linking in dynamic libarys (in my case libmysqlclient.so.15) it comes to a problem.
Most debian/GNU Servers are 64 Bit system - also they don't have any problems executing pb files, the dynamic link in of the shared object does not work because mySQL Servers in 64 Bit system are 64 bit so and not 32 bit.
Know the question: can I link an .so file static to the executable instead of the common dynamic typ?
I have a server Apllication that is compiled under Ubuntu and has to run on a debian/GNU Server - that's no problem so far as Ubuntu is a debian distribution.
Anyway, when linking in dynamic libarys (in my case libmysqlclient.so.15) it comes to a problem.
Most debian/GNU Servers are 64 Bit system - also they don't have any problems executing pb files, the dynamic link in of the shared object does not work because mySQL Servers in 64 Bit system are 64 bit so and not 32 bit.
Know the question: can I link an .so file static to the executable instead of the common dynamic typ?