ports/162300: smartmontools should depend on libcam

Glen Barber glen.j.barber at gmail.com
Fri Nov 4 22:40:24 UTC 2011


Hi Martin,

On 11/4/11 5:05 PM, Martin von Gagern wrote:
> Description:
> smartmontools, if installed using a binary package, will not run on 9.0-RC1:
> 
> Shared object "libcam.so.5" not found, required by "smartctl".
> 
> My first BSD install, my first bug report, so please forgive me if I'm missing something obvious here. But on my system, there is only libcam.so.6. And appaently there is no dependency at all in the port to indicate that a specific version of that library would be required.
>> How-To-Repeat:
> 1. pkg_add smartmontools
> 2. smartctl --help
>> Fix:
> Install from source using port.
> 

This is due to a shared library bump that happened shortly after
9.0-BETA2, after the package was created.  As you mention, it is not a
problem when building from source, as smartctl links to libcam.so.6
(which replaces libcam.so.5 in -BETA3 and later).

This should be a non-issue once the packages for 9.0-RELEASE are built
and the correct $PACKAGESITE for pkg_add(1) exists.

Regards,

-- 
Glen Barber



More information about the freebsd-ports-bugs mailing list