|
From: Bas <web...@gm...> - 2002-02-15 19:07:47
|
> On Friday 15 February 2002 03:43, Bas ten Berge wrote: > > > I tried to compile the evms tools, but it stops with an error saying: > > > $ make > > > gcc -L/usr/local/src/evms-0.9.0/engine/Engine > > > -L/usr/local/src/evms-0.9.0/engine/dlist -L/usr/local/lib -ldlist -levms > > > -o evms_lvreduce evms_lvreduce.o > > > /lib/libdl.so.2: undefined reference to `atexit' > > > collect2: ld returned 1 exit status > > > make: *** [evms_vgscan] Error 1 > > > > > > That's just bizarre. I know the EVMS LvmUtils don't use exit or atexit or > > > anything like that. Did it successfully link everything up to that file? > > > Specifically, the EVMS CommandLine and the EVMS GUI? > > > > I was able to compile the libraries and the evms and evmsparser tools, that > > was no problem. I didn't install any of the GTK or GLIB tools, so I didn't > > compile the EVMS GUI. It was possible to compile the ncurses interface in > > CVS, but I couldn't execute it. > > What did it do when you tried to run evmsn? Any error messages? Could you run > the Command Line (evms)? > > Did any of the other LvmUtils compile and link correctly (in > engine/UserInterface/LvmUtils)? Your error message says it failed on > evms_lvreduce, which is the fourth utility in that directory, which means > there should be three that successfully linked. Hi Kevin, It appears to be a glibc 2.2.5 and 2.2.4 bug. It is solved by adding the -ldl flag to the link command line. I added it to rules.make: LIBDIRS = -L$(HOMEDIR)/Engine -L$(HOMEDIR)/dlist -L$(libdir) -ldl So I guess now I can give evms a testdrive. Thanks for your trouble, Bas. |