On Mon, Jun 12, 2006 at 09:45:06AM -0700, Haris wrote: > I created a new version of libc by changing the VERS variable in > Makefile, sparc/Makefile, sparcv9/Makefile from .1 to .2 . Then I > copied the new library libc.so.2 into /lib and changed the symbolic > link /lib/libc.so to point to /lib/libc.so.2
Bad idea; dynamic linking records 'libc.so.1' in anything compiled against the old libc. If you link a new program against your new libc and another library, you'll end up with two versions of libc at runtime. This will lead to chaos. Multiple major versions of dynamic libraries are almost always a bad idea. Compile your new libc with the same 'libc.so.1' name, put it in another directory, and use LD_LIBRARY_PATH to get things to use it. Cheers, - jonathan -- Jonathan Adams, Solaris Kernel Development _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
