Building a vendor daemon for maximum portability: libc.so.6 not found
How do you compile your vendor daemon for maximum portability to older (Linux) systems?
We recently upgraded our Linux development system to openSUSE LEAF 42.1. In the process, we movied from glibc2.14 to glibc 2.19.
Previous to the upgrade, we could build a vendor daemon on our system and it would work on pretty much any Linux flavor and version we tried.
Since the upgrade, our customers often see the following message when they start up lmadmin: "/lib/libc.so.6: version `GLIBC_2.14' not found (required by fnpdaemon)"
As I understand (from posts like this: http://lightofdawn.org/wiki/wiki.cgi...AppsOnOldGlibc), glibc is very backward compatible in that old apps will run under new glibc versions, but it's a little more complicated for new apps running under older versions of glibc.
The daemon produced by our older glibc 2.14 system ran everywhere, while the same daemon built with glibc 2.19 needs glibc 2.14 or newer. I would like to be able to build a vendor daemon on our development system that runs on the maximum possible number of target systems. Perhaps that means linking against an older glibc. Perhaps there are other tricks. How do you build your vendor daemon?
Tags for this Thread