[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Bug report: svnversion crashes during Subversion build/install

From: Ryan Schmidt <subversion-2015_at_ryandesign.com>
Date: Thu, 7 Jan 2016 19:32:20 -0600

During the build of Subversion 1.9.3, it calls the just-built svnversion program. On OS X at least, this crashes because the just-built Subversion libraries have not been installed yet so they are not in their expected place. The crash causes OS X to create a crash log file, which I've attached, but the relevant bit is:

Dyld Error Message:
  Library not loaded: /opt/local/lib/libsvn_wc-1.0.dylib
  Referenced from: /opt/local/var/macports/*/svnversion
  Reason: image not found

I do set DESTDIR; that may be necessary to reproduce the problem.

A solution on OS X is for the build system to set DYLD_LIBRARY_PATH to the directory where the libraries can be found in the build directory, anytime you want to run a just-built program that links with just-built libraries. I imagine the problem would affect other unix operating systems as well, and for them the solution may be to set LD_LIBRARY_PATH, but I am not familiar with non-OS X unix systems.

Received on 2016-01-08 02:32:33 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.