The pano12 library was originally created by Helmut Dersch as the core of Panorama Tools. The license is the GNU General Public License (GPL) and full sourcecode is available from the panotools sourceforge site.
pano12 is currently used by many front-end and command-line programs. The file itself may be called pano12.dll, libpano12.so, libpano12.dylib or pano12.lib depending on the operating system.
Due to apparent patent issues with fisheye lenses, some distributed versions of the library (including the one hosted on sourceforge) have an artificial limitation of 160 degrees placed on the maximum field of view of source images.
Downloading pre-compiled versions
The original pano12 library for Linux, Mac classic and Windows can be downloaded from one of the mirrors, though you probably want to download a newer version containing many bugfixes and speed improvements:
For Linux and other unix systems, look at the Hugin download page. Currently packages are available for debian, fedora, gentoo, mandrake and probably others.