Getting following error when link binary:

"CC" -g -xO5 -xarch=sparcvis2 -m32 -xchip=sparc64vi -xdepend -xmemalign=8s -library=stlport4 -features=tmplife -features=tmplrefstatic -mt -DBOOST_NO_SFINAE  -LXXX -RYYY -o a.out zzz.o wwww.a  -Bdynamic -lrtxxipc-50  -lrtipc -lrtutil -lsocket -lrt -Bstatic -lclntsh -lnsl -lthread -lrt -lboost_thread-gcc33-mt -lrtxxipc-50  -lrtipc -lrtutil -lsocket -Bdynamic
ld: fatal: library -lrtxxipc-50: not found
ld: fatal: library -lclntsh: not found
ld: fatal: library -lnsl: not found
ld: fatal: library -lthread: not found
ld: fatal: library -lrt: not found
ld: fatal: library -lrtxxipc-50: not found
ld: fatal: library -lrtipc: not found
ld: fatal: library -lrtutil: not found
ld: fatal: library -lsocket: not found
ld: fatal: File processing errors. No output written to a.out


From sun's forum, someone suggest to remove  -Bdynamic and -Bstatic http://forums.sun.com/thread.jspa?threadID=5395589, but how can that be done in bjam?