On Wed, Dec 01, 2010 at 02:15:24AM +0000, pica pica wrote:
> Any clues as to what could be wrong?

        What is breaking is that libcom_err only has a dynamic object,
so it dynamically references sem_init, etc.  When the linker tries to
resolve that, it can't find it.  Adding -lpthread directly specifies the
location of sem_init.  This all is not necessary when runtime linking is
used (ld.so).  Thus, we know you are getting a static build.
        Something about your build environment is causing a static
build.  Does Slackware have a build-everything-static mode?  The compile
line does not have -static, so I'm guessing it is in your toolchain.

> Would the las 2 flags not force a dynamic build?

        They force ocfs2-tools to build dynamically, ie, without
-static.  If your toolchain is doing something underneath, our configure
script can't fix that.

Joel

-- 

"I don't want to achieve immortality through my work; I want to
 achieve immortality through not dying."
        - Woody Allen

Joel Becker
Senior Development Manager
Oracle
E-mail: joel.bec...@oracle.com
Phone: (650) 506-8127

_______________________________________________
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users

Reply via email to