I have a problem compiling under RH Linux 7.2. Libtool can't find "libesd.la" which is a file not on my box. Where do I get this file ? Seems to be a KDE file, but I'm running GNOME. I specified --without-kde on the ./configure command line, but it includes this anyway. See make output below.
Help appreceiated,
Nick
make[4]: Entering directory `/usr/src/celestia-1.2.5/src/celestia'
/bin/sh ../../libtool --silent --mode=link g++ -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -rdynamic -L/usr/lib -L/usr/X11R6/lib -o celestia celestiacore.o configfile.o destination.o favorites.o imagecapture.o url.o gtkmain.o ../celengine/libcelengine.a ../celtxf/libceltxf.a ../cel3ds/libcel3ds.a ../celmath/libcelmath.a ../celutil/libcelutil.a -lpng -ljpeg -lglut -lGLU -lGL -lm -lSM -lICE -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -lgtkgl
libtool: link: cannot find the library `/usr/lib/libesd.la'
make[4]: *** [celestia] Error 1
make[4]: Leaving directory `/usr/src/celestia-1.2.5/src/celestia'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/celestia-1.2.5/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/celestia-1.2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/celestia-1.2.5'
make: *** [all] Error 2
Can't find libesd.la during make
-
Topic authornick
Can't find libesd.la during make
nick wrote:I have a problem compiling under RH Linux 7.2. Libtool can't find "libesd.la" which is a file not on my box. Where do I get this file ? Seems to be a KDE file, but I'm running GNOME. I specified --without-kde on the ./configure command line, but it includes this anyway. See make output below.
Help appreceiated,
Nick
make[4]: Entering directory `/usr/src/celestia-1.2.5/src/celestia'
/bin/sh ../../libtool --silent --mode=link g++ -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -rdynamic -L/usr/lib -L/usr/X11R6/lib -o celestia celestiacore.o configfile.o destination.o favorites.o imagecapture.o url.o gtkmain.o ../celengine/libcelengine.a ../celtxf/libceltxf.a ../cel3ds/libcel3ds.a ../celmath/libcelmath.a ../celutil/libcelutil.a -lpng -ljpeg -lglut -lGLU -lGL -lm -lSM -lICE -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -lgtkgl
libtool: link: cannot find the library `/usr/lib/libesd.la'
make[4]: *** [celestia] Error 1
make[4]: Leaving directory `/usr/src/celestia-1.2.5/src/celestia'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/celestia-1.2.5/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/celestia-1.2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/celestia-1.2.5'
make: *** [all] Error 2
Hmm, neither in my gtk (gnome) compilation nor the kde3 version libesd is linked in.
Try this ./configure line:
./configure --with-gtk
In any case the corresponding SuSE package is called
esound-0.2.23-51 and
esound-devel-0.2.23-51
Bye Fridger
-
Topic authornick
Post subject: Can't find libesd.la during make (Resolved)
I don't understand the details behind the solution, but here is what I did to fix the compile problem where no "libesd.la" file could be found.
1. Created a tar of all "*.la" files in my /usr/lib directory (just in case)
2. Deleted all "*.la" files in my /usr/lib directory
3. Ran "configure --with-gtk" and "make" again and Celestia compiled and ran fine.
Apparently, if any "*.la" files exist in your /usr/lib directory then the libtool will attempt to link in other related *.la files. Since some library distributions have stopped providing "*.la" files (link archive files), this breaks the compile. I saw one reference that indicated that under Linux the "*.la" files are not needed.
Regards,
Nick
1. Created a tar of all "*.la" files in my /usr/lib directory (just in case)
2. Deleted all "*.la" files in my /usr/lib directory
3. Ran "configure --with-gtk" and "make" again and Celestia compiled and ran fine.
Apparently, if any "*.la" files exist in your /usr/lib directory then the libtool will attempt to link in other related *.la files. Since some library distributions have stopped providing "*.la" files (link archive files), this breaks the compile. I saw one reference that indicated that under Linux the "*.la" files are not needed.
Regards,
Nick