Lo guv,.. I've a x86_64 here with EL4 U3 installed on and I was recompiling dmraid on from the original src rpm from the EL4 U3 update but something isn't right.... with --enable-static_link the build croaks as follows ... gcc -o dmraid dmraid.o commands.o toollib.o -static -L../lib \ -L/var/tmp/dmraid-1.0.0.rc8-1_RHEL4_U2-buildroot/lib -ldmraid -ldevmapper ../lib/libdmraid.a(socket.o)(.text+0x85): In function `daemon_open': daemon/socket.c:44: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /lib/../lib64/libdevmapper.a(libdm-common.o)(.text+0x4dc): In function `dm_set_selinux_context': /usr/src/build/679206-x86_64/BUILD/device-mapper.1.02.02/lib/libdm-common.c:206: undefined reference to `is_selinux_enabled' /lib/../lib64/libdevmapper.a(libdm-common.o)(.text+0x4f4):/usr/src/build/679206-x86_64/BUILD/device-mapper.1.02.02/lib/libdm-common.c:209: undefined reference to `matchpathcon' /lib/../lib64/libdevmapper.a(libdm-common.o)(.text+0x531):/usr/src/build/679206-x86_64/BUILD/device-mapper.1.02.02/lib/libdm-common.c:217: undefined reference to `lsetfilecon' /lib/../lib64/libdevmapper.a(libdm-common.o)(.text+0x53f):/usr/src/build/679206-x86_64/BUILD/device-mapper.1.02.02/lib/libdm-common.c:223: undefined reference to `freecon' /lib/../lib64/libdevmapper.a(libdm-common.o)(.text+0x5d0):/usr/src/build/679206-x86_64/BUILD/device-mapper.1.02.02/lib/libdm-common.c:219: undefined reference to `freecon' collect2: ld returned 1 exit status make[1]: *** [dmraid] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/dmraid/1.0.0.rc8/tools' make: *** [tools] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.88341 (%build) Now most of that is selinux not being pulled in (-lselinux where art thou?) because libdevmapper referances them but for whatever reason autoconf/configure doesn't seem to pick up that libselinux would be a really good thing to pull in for the final build also theres the issue of /lib vs /lib64 so I'm somewhat confused as to how this src rpm was able to run through beehive ok ideas? Phil =--=
This *should* have been fixed a while back. Is this still an issue ?
No feedback -> closing.