junxiemq / netcdf4-python

Automatically exported from code.google.com/p/netcdf4-python
Other
0 stars 0 forks source link

Runtime linking against GRIB-API in non-standard location missing #175

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Build pygrib on Linux using gcc and with GRIB-API in a non-standard location
2. >>> import pygrib 

What is the expected output? What do you see instead?
Import fails as GRIB-API .so cannot be found. 

Please provide any additional information below.
The runtime linking is not defined during build (no "-R" option to gcc). It can 
be fixed by adding "runtime_library_dirs=libdirs" to "Extension" class 
instantiation.

Original issue reported on code.google.com by StorPipf...@gmail.com on 23 Apr 2013 at 7:10

GoogleCodeExporter commented 8 years ago
wrong project - I think you meant to post this in pygrib.googlecode.com.  No 
matter, I fixed it there anyway (svn revision 169).  I guess I never built 
grib_api as a shared library before.

Original comment by whitaker.jeffrey@gmail.com on 23 Apr 2013 at 4:58

GoogleCodeExporter commented 8 years ago

Original comment by whitaker.jeffrey@gmail.com on 26 Feb 2014 at 2:04