John Benediktsson
490bb44a94
alien.libraries.finder.linux: some fixes to allow "LLVM-3.4" to find "LLVM-3.4.1".
2014-06-08 11:48:29 -07:00
Doug Coleman
d10443186c
alien.libraries.finder: Make find-library return the string passed in instead of f if the library is not found. We want vocabularies to load no matter what instead of throwing a missing library error. Also, print dlerror in the error message and take away the redundant line about possible missing libraries. Fixes #986 .
2014-06-07 20:58:14 -07:00
Doug Coleman
9b9bd182ca
aline.libraries.finder.linux: Fix spacing. oops
2014-04-28 01:46:33 -07:00
Doug Coleman
f1f76dead7
alien.libraries.finder: Linux32 ldconfig has (libc6) or (libc6,x32) as the platform strings. Refactor parsing to not use regular expressions and change the matching from exact to requiring the ldconfig line to be a subset of the supported platforms.
2014-04-28 08:43:34 +00:00
Doug Coleman
093a2bbae0
Revert "alien.libraries.finder: Add utiltity word find-first-library to find a shared library from a list of library stem names." Wrong fix.
...
This reverts commit 8cd883be5119683291c2ee6d7ce4fad228b78e26.
2014-04-28 01:25:27 -07:00
Doug Coleman
ce9db9fb84
alien.libraries.finder: Add utiltity word find-first-library to find a shared library from a list of library stem names.
2014-04-28 00:38:39 -07:00
John Benediktsson
28051e69a9
alien.libraries.finder: adding platforms.txt.
2013-11-17 08:35:16 -08:00
John Benediktsson
9de7b67472
alien.libraries.finder.linux: use third element which is file name.
2013-11-16 16:48:22 -08:00
John Benediktsson
1e2a4df88c
alien.libraries.finder.linux: fix using.
2013-11-16 16:33:17 -08:00
John Benediktsson
c0656c81ed
alien.libraries.finder.macosx: fix tests.
2013-11-16 16:26:17 -08:00
John Benediktsson
302df73686
alien.libraries.finder.windows: more like MSDN search order.
2013-11-16 16:10:31 -08:00
John Benediktsson
45af0bc563
alien.libraries.finder.linux: dont use dlopen.
2013-11-16 16:10:31 -08:00
John Benediktsson
935612035c
alien.libraries.finder: split into sub-vocabularies and implement macosx better.
2013-11-16 11:58:37 -08:00
Björn Lindqvist
80b180b96b
alien.libraries.finder: remove unused import
2013-11-10 15:10:14 +01:00
Björn Lindqvist
29ad75a85d
alien.libraries.finder: better library resolving
2013-11-10 02:27:56 +01:00
Björn Lindqvist
0236212987
alien.libraries.finder: linux code path for find-library
...
/sbin/ldconfig -p is used to figure out what the correct lib name
is. It is the same method as used in python ctypes.
2013-11-10 02:27:56 +01:00
Björn Lindqvist
21bd4cc6ea
alien.libraries.finder: automatically find library files based on library names
...
To make it easier to support cross-platform library bindings use the
find-library word. Factor is then supposed to automatically locate the
correct library file depending on the users' platform. Then you dont
have to specify the full so-name on unixes which breaks if the user
has a newer library version. The same library lookups that
ctypes.find_library uses will be implemented in future commits.
2013-11-10 02:27:56 +01:00