Morgan Herrington wrote: > Question: > Is /usr/lib/libc.so checked last for symbol resolution > (regardless of where it occurs on the link line)? > > > Background: > I'm working with an executable which is linked with a library > which replicates some entry points of "libc.so". In order to > avoid those symbol collisions, the developers (on Solaris 8) > linked it as follows: cc app.c -lc -lfoo > I think maybe you can add a mapfile and have that passed to ld and get around this problem (I could be totally mistaken and making a guess here.. someone correct me if I'm wrong...)
This is the closest doc I could find.. The ld man page and similar may have more information.. http://docs.sun.com/app/docs/doc/817-1984/6mhm7pl2g?a=view ./C