Opened 11 years ago
Closed 11 years ago
#42328 closed update (fixed)
geoexpress-sdk: Update for latest SDK version MrSID_DSDK-9.0.0.3864-darwin12.universal.gccA42.tar
Reported by: | mf2k (Frank Schima) | Owned by: | landonf (Landon Fuller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | cooljeanius (Eric Gallager) |
Port: | geoexpress-sdk |
Description
Please update geoexpress-sdk to use MrSID_DSDK-9.0.0.3864-darwin12.universal.gccA42.tar which is the current version of the SDK.
Attachments (2)
Change History (7)
comment:1 Changed 11 years ago by mf2k (Frank Schima)
Changed 11 years ago by mf2k (Frank Schima)
Attachment: | Portfile-geoexpress-sdk.diff added |
---|
Updated attempt
comment:2 Changed 11 years ago by jsm@…
I have tried to install the port with your changes. I changed the name of the port, the destination directory (to /opt/local/share/Geo_DSDK-9) and the name of the linked binaries for testing purposes.
There are a couple of problems with the library paths. I did not get the same warnings but some linking errors. The binary files link to the libraries through a weird path:
Could not open /data/builds/Bob/darwin12.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/../../../../dist/darwin12.universal.gccA42/Release/lib/libgeos_c.1.dylib
I tried to fool the system by creating a link to the libraries with this path...
mkdir -p /data/builds/Bob/darwin12.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/ ln -s /opt/local/share/Geo_DSDK-9/Raster_DSDK/lib /data/builds/Bob/darwin12.universal.gccA42__default/xt_lib_geos/dist/darwin12.universal.gccA42/Release/lib
Dirty hack just to carry on with the debuging. I reckon this should be reported to Lizartech (?). I do not know if there is any way to patch those paths to reasonable values.
The hack worked and the second linking error is related to libtdd.dylib, which is provided with the SDK (we will not need to add "tbb" as a dependency).
---> Scanning binaries for linking errors Could not open libtbb.dylib: Error opening or reading file (referenced from /opt/local/share/Geo_DSDK-9/Raster_DSDK/bin/mrsiddecode) DEBUG: Marking /opt/local/share/Geo_DSDK-9/Raster_DSDK/bin/mrsiddecode as broken DEBUG: Marking /opt/local/share/Geo_DSDK-9/Raster_DSDK/bin/mrsiddecode as broken DEBUG: Marking /opt/local/share/Geo_DSDK-9/Raster_DSDK/bin/mrsidinfo as broken DEBUG: Marking /opt/local/share/Geo_DSDK-9/Raster_DSDK/bin/mrsidinfo as broken DEBUG: Marking /opt/local/share/Geo_DSDK-9/Raster_DSDK/lib/libltidsdk.9.dylib as broken DEBUG: Marking /opt/local/share/Geo_DSDK-9/Raster_DSDK/lib/libltidsdk.9.dylib as broken DEBUG: Marking /opt/local/share/Geo_DSDK-9/Raster_DSDK/lib/libltidsdk.dylib as broken DEBUG: Marking /opt/local/share/Geo_DSDK-9/Raster_DSDK/lib/libltidsdk.dylib as broken
I could not find a workaround to that.
I hope this helps with the debugging/patching.
Update I have just realized that these are the same problems that macsforever2000@… tried to solve with the first patch.
Changed 11 years ago by jsm@…
Attachment: | geoexpress-sdk.diff added |
---|
comment:3 Changed 11 years ago by jsm@…
I have attached a patch (geoexpress-sdk.diff) that appears to be working. I will upload a patch to gdal in a moment to allow the use of the +mrsid option (see #36496). Please, confirm if the patch works for you.
comment:5 Changed 11 years ago by mf2k (Frank Schima)
Keywords: | haspatch added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Type: | defect → update |
Version: | 2.2.1 |
Nice work. Thanks! r116693.
My efforts to update it failed due to library errors:
Then it fails after doing this a few times.