Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#15070 closed defect (wontfix)

clamav 0.93 fails to link with ld: warning can't open dynamic library: /opt/local/lib/libclamunrar.4.dylib

Reported by: gabrieloacapulco@… Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: clamav 0.93 Cc:
Port:

Description

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

Attachments (1)

upgrade_04192008.txt (9.0 KB) - added by gabrieloacapulco@… 16 years ago.
output from sudo port upgrade clamav

Download all attachments as: .zip

Change History (6)

Changed 16 years ago by gabrieloacapulco@…

Attachment: upgrade_04192008.txt added

output from sudo port upgrade clamav

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to dluke@…

Assigning to maintainer.

comment:2 Changed 16 years ago by danielluke (Daniel J. Luke)

Status: newassigned

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.

comment:3 Changed 16 years ago by gabrieloacapulco@…

thanks the workaround works for me

comment:4 Changed 16 years ago by danielluke (Daniel J. Luke)

Resolution: wontfix
Status: assignedclosed

I don't have time to work on a fix for this right now, and the workaround is straightforward enough.

A patch from an interested party would be welcome (it may be more appropriate to work upstream with the developers to fix the issue there, though).

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.