More problems in building SystemImager on CentOS 6.2: Besides the kernel
reconfiguration issue (which may be innocent, perhaps?), the building of
parted 2.3 aborts on RHEL 6.2 during the configuration stage:
In /root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/parted-2.3
the config.log shows:
# ./configure --disable-Werror --disable-shared --prefix=
...
checking for dm_task_create in -ldevmapper... no
configure: error: libdevmapper could not be found, but is required for the
--enable-device-mapper option, which is enabled by default. Either disable
device-mapper support with --disable-device-mapper or download and install
device-mapper from:
http://sources.redhat.com/dm/
Note: if you are using precompiled packages you will need the development
package as well (it may be called device-mapper-devel or something similar).
The /lib/libdevmapper.so.1.02 shared library does exist. But RHEL6 does
NOT have any package named device-mapper-devel or the like.
The check dm_task_create in -ldevmapper can be extracted from the
configure script:
#ifdef __cplusplus
extern "C"
#endif
char dm_task_create ();
int
main ()
{
return dm_task_create ();
;
return 0;
}
Compiling this on RHEL6 gives:
# gcc test.c -ldevmapper
/usr/bin/ld: cannot find -ldevmapper
collect2: ld returned 1 exit status
I'm really confused: Why does this code break, while other people seem
to have built SystemImager (including parted) successfully on
RHEL6/CentOS6 ?
Thanks for sharing any insights,
Ole
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users