[Ocfs-users] [Ocfs2-devel] ocfs2-tools-1.2.0-1 compile error

Joel Becker Joel.Becker at oracle.com
Wed Jul 5 14:31:25 CDT 2006


On Wed, Jul 05, 2006 at 09:21:18PM +0200, boka wrote:
> But during compilation i got second error:
> 
> make[1]: Entering directory `/root/ocfs2/ocfs2-tools-1.2.1/o2cb_ctl'
> gcc -ggdb -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations  -static -o o2cb_ctl o2cb_ctl.o o2cb_config.o
> jconfig.o jiterator.o ../libocfs2/libocfs2.a ../libo2cb/libo2cb.a
> -L../libo2cb -lo2cb -lglib-2.0   -L../libocfs2 -locfs2 -L/lib -lcom_err
> /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackware-linux/bin/ld:
> cannot find -lglib-2.0
> collect2: ld returned 1 exit status

	Well, what does pkg-config --libs glib-2.0 return?  Also, do you
have libglib.a where libglib.so lives?

Joel
-- 

"When choosing between two evils, I always like to try the one
 I've never tried before."
        - Mae West

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs-users mailing list