I downloaded subtile (0.3.7) for macos (i am running Sonoma on an M2). Got it to start, but it fails to read the libsvn client:
23:58:34: [wxsvn/PkgBind] Failed to load library /usr/local/Cellar/subversion/1.14.3_1/lib/libsvn_client-1
23:58:34: [wxsvn/client] Failed to load libsvn_client-1
I use svn installed by homebrew. It has "lib_client-1.a" and "lib_client-1.dylib" files. I made a symbolic link named "lib_client-1" pointing to the lib_client-1.a version, restarted the code and it failed. I tried the same for the .dylib version and it failed too. Apparently, Homebrew's svn does not supply a library needed by subtile in a format it can read. Practically speaking, this makes subtile dead on my mac. Any suggestions?
As a side note, if one puts a value in the "libSVN vendor tag "window in error, subtile throws up an error dialog, the program tries to restart but doesn't ever die. Issuing a kill -9 to the subtile program kills it, but upon restart the bad tag remains in place and the program tries to restart again. And so the looping begins...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
when installing libsvn via Homebrew all library files are normally linked in /usr/local/lib and found there automatically, so no special configuration is necessary. Please reset SubTile configuration (you can delete config file in ~/diVISION/ directory), try to run it in factory state and - if there's an error message about loading lib - lookup in $TEMP/subtile.log, what the root cause was.
Homebrew is known for not installing libapr (shipped with Subversion) properly, for solution s. the note "for OSX users" here.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Note there is no entry that is simply libsvn_client-1.
When I first started SubTile it presented a dialog stating it could not find the libsvn_client-1 file, so I began trying to fill the 'LibSVN installation path' text box with a path where it might find something compatible. At that time, there should have been no entry in any config file, yet SubTile could not find the libsvn_client-1 file. That's what lead me to trying symbolic links.
Here's what the SubTile.log file contains:
02:45:28 PM: [core/App] Locale set to en-US
02:45:28 PM: [wxsvn/PkgBind] Loading library libsvn_client-1
02:45:28 PM: [wxsvn/PkgBind] Last tried lib path: /usr/local/lib/libsvn_client-1.dylib.9.0.0.0.0.0
02:45:28 PM: Error: [wxsvn/PkgBind] Failed to load library /usr/local/lib/libsvn_client-1
02:45:28 PM: Warning: [wxsvn/client] Failed to load libsvn_client-1
02:45:28 PM: [core/MainFrame] SVN: error
I'm not sure why its looking for libsvn_client-1.dylib.9.0.0.0.0.0
I have no ~/diVISION directory nor any new dot file in my home directory that resembles anything SubTile might create, so I don't know where the SubTile config file is.
Hope you have some ideas.
Dave
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
when lib loading from default location fails, SubTile tries appending different suffixes (known to be used on Unixes) - this is how you explain *.9.0.0.0.0.0.
could you check output of the following commands?
ls -la /usr/lib/libsvn* ls -la /usr/lib/libapr*
unfortunately I don't have access to a Mac right now, thus I cannot pinpoint the location of the config file (I have to rely on wxWidgets docs), if your SubTile starts at all, however, you could reset all settings marked in bold font in Preferences -> All
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had a chance to get my hands on a Mac and the lib setup there is definitely broken (thx Apple).
I have forged a workaround (with a new APR script) and edited Installation Instructions accordingly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded your script and tried to set the path to find APR. Still no luck. Here's the SubTile log output:
07:13:55 PM: [core/App] Locale set to en-US
07:13:55 PM: [wxsvn/PkgBind] Loading library libsvn_client-1
07:13:55 PM: [wxsvn/PkgBind] Last tried lib path: /usr/local/opt/subversion/lib/libsvn_client-1.dylib.9.0.0.0.0.0
07:13:55 PM: Error: [wxsvn/PkgBind] Failed to load library /usr/local/opt/subversion/lib/libsvn_client-1
07:13:55 PM: Warning: [wxsvn/client] Failed to load libsvn_client-1
07:13:55 PM: [core/MainFrame] SVN: error
07:16:11 PM: [core/PrefsSvn] settings updated
07:16:11 PM: [core/PrefsSvn] settings updated
07:16:11 PM: [core/PrefsSvn] settings updated
07:16:23 PM: [core/PrefsSvn] settings updated
07:17:17 PM: [wxsvn/PkgBind] Loading library libapr-1
07:17:17 PM: [wxsvn/PkgBind] Last tried lib path: /usr/local/opt/subversion/lib/libapr-1.dylib.9.0.0.0.0.0
07:17:17 PM: Error: [wxsvn/PkgBind] Failed to load library /usr/local/opt/subversion/lib/libapr-1
07:17:17 PM: Warning: [wxsvn/apr] Failed to load libapr-1
07:17:17 PM: [wxsvn/PkgBind] Loading library libsvn_subr-1
07:17:17 PM: [wxsvn/PkgBind] Last tried lib path: /usr/local/opt/subversion/lib/libsvn_subr-1.dylib.9.0.0.0.0.0
07:17:17 PM: Error: [wxsvn/PkgBind] Failed to load library /usr/local/opt/subversion/lib/libsvn_subr-1
07:17:17 PM: Warning: [wxsvn/subr] Failed to load libsvn_subr-1
07:17:17 PM: Error: [wxsvn/LibError] Unknown error (code: 70022)
Subversion's binary is in my PATH:
% which svn
/usr/local/bin/svn
% svn --version
svn, version 1.14.3 (r1914484)
compiled Dec 9 2023, 13:27:10 on x86_64-apple-darwin23.4.0
Copyright (C) 2023 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/
The following repository access (RA) modules are available:
ra_svn : Module for accessing a repository using the svn network protocol.
with Cyrus SASL authentication
handles 'svn' scheme
ra_local : Module for accessing a repository on local disk.
handles 'file' scheme
ra_serf : Module for accessing a repository via WebDAV protocol using serf.
using serf 1.3.10 (compiled with 1.3.10)
handles 'http' scheme
handles 'https' scheme
The following authentication credential caches are available:
Mac OS X Keychain
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think, we have to clear up some confusions here: I overlooked the fact that you have M2 (ARM) machine due to your x86_64 installation of Homebrew (and therefore of Subversion). See, SubTile runs natively on ARM and needs ARM or universal libraries.
I downloaded subtile (0.3.7) for macos (i am running Sonoma on an M2). Got it to start, but it fails to read the libsvn client:
23:58:34: [wxsvn/PkgBind] Failed to load library /usr/local/Cellar/subversion/1.14.3_1/lib/libsvn_client-1
23:58:34: [wxsvn/client] Failed to load libsvn_client-1
I use svn installed by homebrew. It has "lib_client-1.a" and "lib_client-1.dylib" files. I made a symbolic link named "lib_client-1" pointing to the lib_client-1.a version, restarted the code and it failed. I tried the same for the .dylib version and it failed too. Apparently, Homebrew's svn does not supply a library needed by subtile in a format it can read. Practically speaking, this makes subtile dead on my mac. Any suggestions?
As a side note, if one puts a value in the "libSVN vendor tag "window in error, subtile throws up an error dialog, the program tries to restart but doesn't ever die. Issuing a kill -9 to the subtile program kills it, but upon restart the bad tag remains in place and the program tries to restart again. And so the looping begins...
hi David, thanks for your feedback
when installing libsvn via Homebrew all library files are normally linked in /usr/local/lib and found there automatically, so no special configuration is necessary. Please reset SubTile configuration (you can delete config file in ~/diVISION/ directory), try to run it in factory state and - if there's an error message about loading lib - lookup in $TEMP/subtile.log, what the root cause was.
Homebrew is known for not installing libapr (shipped with Subversion) properly, for solution s. the note "for OSX users" here.
Dmitri,
Thanks for responding.
I am using subversion installed by Homebrew. It is working, so it has what it needs. An 'ls /usr/local/lib/libsvn_client*' yields:
Note there is no entry that is simply libsvn_client-1.
When I first started SubTile it presented a dialog stating it could not find the libsvn_client-1 file, so I began trying to fill the 'LibSVN installation path' text box with a path where it might find something compatible. At that time, there should have been no entry in any config file, yet SubTile could not find the libsvn_client-1 file. That's what lead me to trying symbolic links.
Here's what the SubTile.log file contains:
02:45:28 PM: [core/App] Locale set to en-US
02:45:28 PM: [wxsvn/PkgBind] Loading library libsvn_client-1
02:45:28 PM: [wxsvn/PkgBind] Last tried lib path: /usr/local/lib/libsvn_client-1.dylib.9.0.0.0.0.0
02:45:28 PM: Error: [wxsvn/PkgBind] Failed to load library /usr/local/lib/libsvn_client-1
02:45:28 PM: Warning: [wxsvn/client] Failed to load libsvn_client-1
02:45:28 PM: [core/MainFrame] SVN: error
I'm not sure why its looking for libsvn_client-1.dylib.9.0.0.0.0.0
I have no ~/diVISION directory nor any new dot file in my home directory that resembles anything SubTile might create, so I don't know where the SubTile config file is.
Hope you have some ideas.
Dave
when lib loading from default location fails, SubTile tries appending different suffixes (known to be used on Unixes) - this is how you explain
*.9.0.0.0.0.0
.could you check output of the following commands?
ls -la /usr/lib/libsvn*
ls -la /usr/lib/libapr*
unfortunately I don't have access to a Mac right now, thus I cannot pinpoint the location of the config file (I have to rely on wxWidgets docs), if your SubTile starts at all, however, you could reset all settings marked in bold font in Preferences -> All
I had a chance to get my hands on a Mac and the lib setup there is definitely broken (thx Apple).
I have forged a workaround (with a new APR script) and edited Installation Instructions accordingly.
I downloaded your script and tried to set the path to find APR. Still no luck. Here's the SubTile log output:
07:13:55 PM: [core/App] Locale set to en-US
07:13:55 PM: [wxsvn/PkgBind] Loading library libsvn_client-1
07:13:55 PM: [wxsvn/PkgBind] Last tried lib path: /usr/local/opt/subversion/lib/libsvn_client-1.dylib.9.0.0.0.0.0
07:13:55 PM: Error: [wxsvn/PkgBind] Failed to load library /usr/local/opt/subversion/lib/libsvn_client-1
07:13:55 PM: Warning: [wxsvn/client] Failed to load libsvn_client-1
07:13:55 PM: [core/MainFrame] SVN: error
07:16:11 PM: [core/PrefsSvn] settings updated
07:16:11 PM: [core/PrefsSvn] settings updated
07:16:11 PM: [core/PrefsSvn] settings updated
07:16:23 PM: [core/PrefsSvn] settings updated
07:17:17 PM: [wxsvn/PkgBind] Loading library libapr-1
07:17:17 PM: [wxsvn/PkgBind] Last tried lib path: /usr/local/opt/subversion/lib/libapr-1.dylib.9.0.0.0.0.0
07:17:17 PM: Error: [wxsvn/PkgBind] Failed to load library /usr/local/opt/subversion/lib/libapr-1
07:17:17 PM: Warning: [wxsvn/apr] Failed to load libapr-1
07:17:17 PM: [wxsvn/PkgBind] Loading library libsvn_subr-1
07:17:17 PM: [wxsvn/PkgBind] Last tried lib path: /usr/local/opt/subversion/lib/libsvn_subr-1.dylib.9.0.0.0.0.0
07:17:17 PM: Error: [wxsvn/PkgBind] Failed to load library /usr/local/opt/subversion/lib/libsvn_subr-1
07:17:17 PM: Warning: [wxsvn/subr] Failed to load libsvn_subr-1
07:17:17 PM: Error: [wxsvn/LibError] Unknown error (code: 70022)
Subversion's binary is in my PATH:
% which svn
/usr/local/bin/svn
% svn --version
svn, version 1.14.3 (r1914484)
compiled Dec 9 2023, 13:27:10 on x86_64-apple-darwin23.4.0
Copyright (C) 2023 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/
The following repository access (RA) modules are available:
The following authentication credential caches are available:
I think, we have to clear up some confusions here: I overlooked the fact that you have M2 (ARM) machine due to your x86_64 installation of Homebrew (and therefore of Subversion). See, SubTile runs natively on ARM and needs ARM or universal libraries.
You need either to migrate Homebrew to native version, install native version of Subversion and configure SubTile, so it can find
libsvn
andlibapr
libraries under/opt/homebrew
or uninstall x68_64 Subversion and reinstall it with--bottle-tag=arm64_sonoma
(s. https://stackoverflow.com/questions/70821136/can-i-install-arm64-libraries-on-x86-64-with-homebrew)