Wrong Shared objects getting loaded

I have two envoirmets(Envoirment A and Envoirment B) running on same server(AIX vesion 5.3).Both have different groups.I am facing a strange problem.Shared objects of one envoirment (Envoirment A)are getting loaded into the second(Envoirment B).So the servers that have dependency on shared objects are not getting booted because the LIBPATH envoirment variable doesnt point to this loaction (of Envoirment A) from where shared objects are loaded.can someone please help me regarding this.

I'm afraid that I don't exacly know what you mean, can you explain a bit more?
It would help if you include some error messages and commands you type.
That would help.

we have two envoirments running on the same server.
Both envoirments are booted with a seperate tuxedo file.
we recently changed there login id's for UNIX say renamed one to A and other to B respectively.
Now while booting servers,some shared objects(shared librabies) get loaded into the envoirment.
we recently changed the login id's of both the envoirments.
While booting the servers,the shared objects(shared libraries) are loaded using the Envoirment variable LIBPATH(in case of AIX).
Now after the change of login id's,the shared objects of one envoirment gets loaded into another envoirment(not defined in LIBPATH for that envoirment).
As the shared object(shared libraries) are getting loaded from the path not defined in variable LIBPATH,the servers are not getting booted giving error of shared objects(shared libraries).