Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-2479

Perl bindings have build dir in rpath instead of svn lib dir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • ---
    • unscheduled
    • bindings_swig_perl
    • Linux

    Description

      The Perl bindings have the build directory hard-coded into them instead of the subversion installation 
      dir, which cases them not to find the libs when they are run. (This happens in particular when the 
      installation directory is not in the default library search path.)
      
      This is caused in Makefile.PL(.in): I'm not familiar at all with ExtUtils::MakeMaker, but as far as I can see, 
      every -L item passed to $config{LIBS} seem to be put into LD_RUN_PATH.
      
      The problem is twofold:
      1) add the installation directory ($prefix/lib etc) to the rpath, and
      2) remove the build dirs from the rpath.
      
      In order to run the perl modules before the libraries they use have been installed, some dynamic means 
      (such as LD_LIBRARY_PATH) could be used.
      

      Original issue reported by mattiase

      Attachments

        1. 1_svn-perl-conf.patch
          0.9 kB
          Subversion Importer
        2. 2_svn-perl-conf.patch
          0.9 kB
          Subversion Importer
        3. 3_svn-perl-conf.patch
          1.0 kB
          Subversion Importer

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: