Pandas HDFStore conflicts with osgeo library, but works fine if osgeo is imported after HDFStore was used
If I import some osgeo modules (e.g., osgeo.ogr or osgeo.gdal), I get some serious error message (**_HDF5 library version mismatched error**_) when I try to store a pandas DataFrame in a just created HDFStore. Following, it requests the Runtime to terminate it in an unusual way. See below:

> > > store = pd.HDFStore(fnh5)

Warning! **_HDF5 library version mismatched error**_
The HDF5 header files used to compile this application do not match
the version used by the HDF5 library to which this application is linked.
Data corruption or segmentation faults may occur if the application continues.
You should recompile the application or check your shared library related
settings such as 'LD_LIBRARY_PATH'.
You can, at your own risk, disable this warning by setting the environment
variable 'HDF5_DISABLE_VERSION_CHECK' to a value of '1'.
Setting it to 2 will suppress the warning messages totally.
Headers are 1.8.8, library is 1.8.2
Bye...

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

---

I am not sure where the bug is, in the osgeo library, or the pandas library, but I do know that if I import the osgeo library after I have used and closed a HDF5 file, the problem does not anymore occur, as I tried with the following script (while commenting/uncommenting the "import osgeo.ogr as ogr" line:
# import osgeo.ogr as ogr

import pandas as pd
import os.path
### Test whether osgeo cause problems with pandas HDFStore:

fnh5 = 'test5.h5'
df = pd.DataFrame([1,2,3,4], index=pd.date_range('1/1/2000', periods=4), columns=['A'])
store = pd.HDFStore(fnh5)
store['df'] = df
store.close()
os.remove(fnh5)
### I get the warning and the application is terminated
### Now try to use HDFStore with a later import of osgeo:

import osgeo.ogr as ogr
store = pd.HDFStore(fnh5)
store['df'] = df
store.close()
os.remove(fnh5)
### I receive no error/warning

I am using Python 2.7.2 and tried the script in Spyder IDE and running it from the Windows command line (Windows 7, 64bit). Pandas version is 0.10.1', numpy 1.6.2 and I use osgeo 1.9.2.

Using this trick, I managed to run my scripts, but it is annoying. Therefore it would be good to find out what causes this behaviour, but I have no clue on where to start looking for it.

Thanks for your support (and the great work on pandas!!!!)

Many thanks for 
