Description:
On Fedora 23 with proj-4.9.1-3.fc23.x86_64 installed I get this:
Unable to initialize Spatial Viewer
Spatial support requires the PROJ.4 library (libproj). If you already have it installed, please set the PROJSO environment variable to its location before starting Workbench.
It does work after I do this:
export PROJSO=/usr/lib64/libproj.so.9
How to repeat:
Try to use the spatial viewer on Fedora 23
From strace:
[pid 2774] open("/usr/lib64/mysql-workbench/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 2774] open("/usr/lib64/mysql-workbench/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 2774] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 33
[pid 2774] open("/lib64/tls/x86_64/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 2774] stat("/lib64/tls/x86_64", 0x7ffea58e87c0) = -1 ENOENT (No such file or directory)
[pid 2774] open("/lib64/tls/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 2774] stat("/lib64/tls", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 2774] open("/lib64/x86_64/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 2774] stat("/lib64/x86_64", 0x7ffea58e87c0) = -1 ENOENT (No such file or directory)
[pid 2774] open("/lib64/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 2774] stat("/lib64", {st_mode=S_IFDIR|0555, st_size=143360, ...}) = 0
[pid 2774] open("/usr/lib64/tls/x86_64/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 2774] stat("/usr/lib64/tls/x86_64", 0x7ffea58e87c0) = -1 ENOENT (No such file or directory)
[pid 2774] open("/usr/lib64/tls/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 2774] stat("/usr/lib64/tls", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
[pid 2774] open("/usr/lib64/x86_64/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 2774] stat("/usr/lib64/x86_64", 0x7ffea58e87c0) = -1 ENOENT (No such file or directory)
[pid 2774] open("/usr/lib64/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
$ find / -name libproj.so 2> /dev/null
$
Suggested fix:
Make sure it is able to use the system version of libproj
Description: On Fedora 23 with proj-4.9.1-3.fc23.x86_64 installed I get this: Unable to initialize Spatial Viewer Spatial support requires the PROJ.4 library (libproj). If you already have it installed, please set the PROJSO environment variable to its location before starting Workbench. It does work after I do this: export PROJSO=/usr/lib64/libproj.so.9 How to repeat: Try to use the spatial viewer on Fedora 23 From strace: [pid 2774] open("/usr/lib64/mysql-workbench/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 2774] open("/usr/lib64/mysql-workbench/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 2774] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 33 [pid 2774] open("/lib64/tls/x86_64/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 2774] stat("/lib64/tls/x86_64", 0x7ffea58e87c0) = -1 ENOENT (No such file or directory) [pid 2774] open("/lib64/tls/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 2774] stat("/lib64/tls", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 [pid 2774] open("/lib64/x86_64/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 2774] stat("/lib64/x86_64", 0x7ffea58e87c0) = -1 ENOENT (No such file or directory) [pid 2774] open("/lib64/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 2774] stat("/lib64", {st_mode=S_IFDIR|0555, st_size=143360, ...}) = 0 [pid 2774] open("/usr/lib64/tls/x86_64/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 2774] stat("/usr/lib64/tls/x86_64", 0x7ffea58e87c0) = -1 ENOENT (No such file or directory) [pid 2774] open("/usr/lib64/tls/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 2774] stat("/usr/lib64/tls", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 [pid 2774] open("/usr/lib64/x86_64/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 2774] stat("/usr/lib64/x86_64", 0x7ffea58e87c0) = -1 ENOENT (No such file or directory) [pid 2774] open("/usr/lib64/libproj.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) $ find / -name libproj.so 2> /dev/null $ Suggested fix: Make sure it is able to use the system version of libproj