fedora version : Fedora release 42 (Adams)
os version : Linux 6.14.6-300.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 9 20:11:19 UTC 2025 x86_64 GNU/Linux
Just updated my os from F40 to F42.
Getting an error when tyring to run any svn command from the command line:
svn: symbol lookup error: /lib64/libsvn_subr-1.so.0: undefined symbol: apr_crypto_block_cleanup
I see the following libraries for svn:
/usr/lib64/libsvn_subr-1.so.0.14.5
/usr/lib64/libcrypto.so.3.2.4
Any idea on how to fix this error?
(ps: svn had been working for me with every upgrade of Fedora for many releases).
Ok. Sorry for that. Issue seems to have occurred after I installed log4cxx.
In addition to log4cxx, I downloaded libraries apr, apr-util and log4cxx and put them into my own directories (not /usr/lib64) just for control of the installs.
At the time, I wasnt sure if I had to do this, but install instructions state to add the installed paths to ld_library_path. Which is what I did.
This caused havoc with subversion.
I have removed appending the above library paths to ld_library_path from my .bash_profile. Now svn is working again.
I will have to only add these libraries to the ld variable in startup scripts for applications that need it.
@barryascott : i didnt see the log4cxx libraries in any of the standard library paths. I was upgrading my apps to the latest compiler and libraries. log4cxx was one of them.
My method is to use as many deps from Fedora as are available and only build locally deps that Fedora does not provide. In that way I avoid accidentally breaking Fedora.