[MacPorts] #16165: rrdtool: RRDs Perl module fails to load librrd library

MacPorts noreply at macports.org
Fri Aug 1 15:07:02 PDT 2008


#16165: rrdtool: RRDs Perl module fails to load librrd library
----------------------------------+-----------------------------------------
  Reporter:  vinc17 at macports.org  |       Owner:  markd at macports.org
      Type:  defect               |      Status:  new               
  Priority:  Normal               |   Milestone:  Port Bugs         
 Component:  ports                |     Version:  1.6.0             
Resolution:                       |    Keywords:                    
----------------------------------+-----------------------------------------
Comment (by vinc17 at macports.org):

 I confirmed that the -L/opt/local/lib is the problem:
 {{{
 prunille:...dings/perl-shared> sudo /opt/local/bin/perl Makefile.PL
 RPATH=/opt/local/lib
 Writing Makefile for RRDs
 prunille:...dings/perl-shared> grep '^LDDLFLAGS' Makefile
 LDDLFLAGS = -L/opt/local/lib -bundle -undefined dynamic_lookup
 prunille:...dings/perl-shared> sudo make
 [...]
 prunille:...dings/perl-shared> otool -L blib/arch/auto/RRDs/RRDs.bundle
 blib/arch/auto/RRDs/RRDs.bundle:
         /opt/local/lib/librrd.2.dylib (compatibility version 3.0.0,
 current version 3.13.0)
 [...]
 prunille:...dings/perl-shared> sudo /opt/local/bin/perl Makefile.PL
 RPATH=/opt/local/lib
 Writing Makefile for RRDs
 prunille:...dings/perl-shared> sudo emacs -nw Makefile
 prunille:...dings/perl-shared> grep '^LDDLFLAGS' Makefile
 LDDLFLAGS = -bundle -undefined dynamic_lookup
 prunille:...dings/perl-shared> sudo make
 [...]
 prunille:...dings/perl-shared> otool -L blib/arch/auto/RRDs/RRDs.bundle
 blib/arch/auto/RRDs/RRDs.bundle:
         /opt/local/lib/librrd.4.dylib (compatibility version 5.0.0,
 current version 5.0.0)
 [...]
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/16165#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list