-
Notifications
You must be signed in to change notification settings - Fork 2
PGSQL_QUERY: Error loading sharable executable #2
Comments
But did it create the directory DLM? I've just tried it on linux (I am not a mac user, and don't have access to mac) with the most recent version of IDL and it did make the DLM directory with the .so and .dlm file: Also the actual compilation of the pgsql_query library is done by IDL itself (last line of the Makefile). Did it actually run ?
I'am also wondering if the .so vs .dylib naming could be an issue. Could you check if the compilation succeed, did it maybe create teh pgsql_query.dylib file ? In that case maybe just renaming should do the trick |
Thanks for the fast reply! So I see this:
My output is missing the |
Update: I think your hunch about dylib goes in the right direction. ld -shared on my Mac returns an error that ld -shared is not a valid option. So I tried forcing:
|
I was looking at this https://groups.google.com/forum/#!topic/comp.lang.idl-pvwave/ntdNr8ozT2c as well as this http://www.harrisgeospatial.com/docs/MAKE_DLL.html and what may help is to set LD= keyword of the MAKE_DLL |
I'm trying to install pg_idl, and while the installation completes (albeit with warnings about variable types), running pgsql_query() generates the error:
% PGSQL_QUERY: Error loading sharable executable.
Symbol: IDL_Load, File = /Users/olsen/idllib/pgsql/pg_idl-mast
er/pgsql_query.so
dlopen(/Users/olsen/idllib/pgsql/pg_idl-master/pgsql_query.so,
1): image not found
Seems pgsql_query.so should have been built by make, but wasn't. OBJFILES and SOFILES are defined in the Makefile, but as far as I can tell never used.
The text was updated successfully, but these errors were encountered: