[MacPorts] #15070: clamav 0.93 fails to link with ld: warning can't open dynamic library: /opt/local/lib/libclamunrar.4.dylib
#15070: clamav 0.93 fails to link with ld: warning can't open dynamic library: /opt/local/lib/libclamunrar.4.dylib ----------------------------------------+----------------------------------- Reporter: gabrieloacapulco@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: clamav 0.93 | ----------------------------------------+----------------------------------- Hello, I tried to upgrade clamav to version 0.93 with: $ sudo port selfupdate MacPorts base version 1.600 installed Downloaded MacPorts base version 1.600 $ sudo port upgrade clamav >> devel/logs/upgrade_04192008.txt 2>&1 but seems which fails at link stage with: ld: warning can't open dynamic library: /opt/local/lib/libclamunrar.4.dylib referenced from: ../libclamunrar_iface/.libs/libclamunrar_iface.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) ld: Undefined symbols: _ppm_constructor referenced from libclamunrar expected to be defined in /opt/local/lib/libclamunrar.4.dylib _ppm_destructor referenced from libclamunrar expected to be defined in /opt/local/lib/libclamunrar.4.dylib _rar_init_filters referenced from libclamunrar expected to be defined in /opt/local/lib/libclamunrar.4.dylib _rar_unpack referenced from libclamunrar expected to be defined in /opt/local/lib/libclamunrar.4.dylib _rarvm_free referenced from libclamunrar expected to be defined in /opt/local/lib/libclamunrar.4.dylib /usr/bin/libtool: internal link edit command failed make[3]: *** [libclamav.la] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 I tried to diff the 0.92 portfile with the 0.93 version but don't find any relevant I attached the complete log of the failed build All other software ports build fine, so I don't think which something is wrong with my develop enviroment, mac os x tiger 10.4.11 Xcode 2.4 thanks in advance, Gabriel -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15070> MacPorts </projects/macports> Ports system for Mac OS
#15070: clamav 0.93 fails to link with ld: warning can't open dynamic library: /opt/local/lib/libclamunrar.4.dylib -----------------------------------------+---------------------------------- Reporter: gabrieloacapulco@gmail.com | Owner: dluke@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: clamav 0.93 -----------------------------------------+---------------------------------- Changes (by jmr@macports.org): * owner: macports-tickets@lists.macosforge.org => dluke@macports.org Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15070#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#15070: clamav 0.93 fails to link with ld: warning can't open dynamic library: /opt/local/lib/libclamunrar.4.dylib -----------------------------------------+---------------------------------- Reporter: gabrieloacapulco@gmail.com | Owner: dluke@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: clamav 0.93 -----------------------------------------+---------------------------------- Changes (by dluke@macports.org): * status: new => assigned Comment: Yes, this is a port bug. The problem is that clamav is building against the installed version of it's support libraries and then when the upgraded version gets installed and those libraries are no longer there (and are instead replaced with newer ones). A temporary workaround would be to uninstall clamav and then build a new one: sudo port -f uninstall clamav sudo port clean --all clamav sudo port install clamav I'll try to get an updated portfile pushed out as soon as I get some time to look at it. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15070#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#15070: clamav 0.93 fails to link with ld: warning can't open dynamic library: /opt/local/lib/libclamunrar.4.dylib -----------------------------------------+---------------------------------- Reporter: gabrieloacapulco@gmail.com | Owner: dluke@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: clamav 0.93 -----------------------------------------+---------------------------------- Comment (by gabrieloacapulco@gmail.com): thanks the workaround works for me -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15070#comment:3> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts