How do I replace the system libc?

After I build it.. doing

# Note.. cp libc and all other tools are 64bit..

cp ./libs.so.1 /lib/amd64

and

LD_PRELOAD=./libc.so.1 cp libc.so.1 /lib/amd64/

both result in

Bus Error (core dumped)

I haven't looked at the core, but I suspect there's a proper way to do 
this.. I'll try mv next, but since they share so much of the same code I 
doubt it will help.. (gnu move maybe.. ?) special utility on start-up.. 
some trick with mount?

Thanks

./C
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to