[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GRUB2 and libzfs on Solaris
From: |
Seth Goldberg |
Subject: |
GRUB2 and libzfs on Solaris |
Date: |
Tue, 31 Aug 2010 13:34:23 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.7) Gecko/20100717 Thunderbird/3.1.1 |
Hi,
Just wanted to report that the conftest that looks for libzfs on
Solaris is failing. From config.log:
gcc -o conftest -I/usr/sfw/include -L/usr/sfw/lib conftest.c -lzfs >&5
ld: warning: file libdladm.so.1: required by /usr/lib/libdlpi.so.1, not
found
Undefined first referenced
symbol in file
dladm_close /usr/lib/libdlpi.so.1
dladm_dev2linkid /usr/lib/libdlpi.so.1
dladm_phys_info /usr/lib/libdlpi.so.1
dladm_walk /usr/lib/libdlpi.so.1
dladm_open /usr/lib/libdlpi.so.1
dladm_parselink /usr/lib/libdlpi.so.1
On Solaris, libzfs also requires libdlpi (from /usr/lib) and libdladm
(from /lib), so adding some stuff to configure to detect Solaris and add
the missing libraries is needed.
--S