how to add the external library into bellagio framework.

I want to add amr container into bellagio, and this container needs the external library to support,libamr-nb,and libamr-wb.
I have done something for this topic , but it always does NOT work.
What can i do? Can you tell me detailly?
D.K