gEDA-dev: gschem dependent upon libtool?

Michael Stovenour mstovenour at yahoo.com
Fri Sep 14 01:25:41 EDT 2007


I'll start with the disclaimer that I'm linking gschem under cygwin.  (shields up) 8^)

While linking gschem I had the error:
    /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lltdl

Installing libtool, which pulled in autoconf, automake, and m4 fixed the problem.  It doen't seem to me that those tools should be required unless I want to modify the autoconf source files.  Am I doing something wrong or is the dependency on libtool normal?

Below is the gcc command and resulting error while linking gschem:

make install
....
gcc -Wall -g -O2   -o gschem.exe  a_pan.o a_zoom.o g_register.o g_hook.o g_rc.o g_keys.o g_funcs.o globals.o gschem.o i_basic.o i_callbacks.o i_vars.o o_basic.o o_attrib.o o_move.o o_copy.o o_delete.o o_misc.o o_slot.o o_grips.o o_arc.o o_box.o o_circle.o o_complex.o o_select.o o_find.o o_line.o o_net.o o_text.o o_pin.o o_bus.o o_buffer.o o_undo.o o_picture.o x_autonumber.o x_basic.o x_dialog.o x_event.o x_grid.o x_log.o x_menus.o x_script.o x_pagesel.o x_print.o x_window.o x_stroke.o x_image.o x_color.o x_compselect.o x_fileselect.o x_preview.o x_attribedit.o x_multiattrib.o parsecmd.o o_cue.o gschem_dialog.o -L/home/Dad/geda/lib  -L/home/Dad/geda/lib -L/usr/bin -L/usr/lib/w32api -L/usr/X11R6/lib -lgeda -lguile -lgmp -lcrypt -lltdl -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv   -L/usr/X11R6/lib -lgtk-x11-2.0
 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv     -L/usr/X11R6/lib   -lSM -lICE -lX11 -lm  -lgthread-2.0 -lglib-2.0 -lintl -liconv   -lintl 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make[3]: *** [gschem.exe] Error 1
make[3]: Leaving directory `/home/Dad/geda/install/geda-gschem-1.2.0/src'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make[2]: Leaving directory `/home/Dad/geda/install/geda-gschem-1.2.0'
make[1]: Leaving directory `/home/Dad/geda/install/geda-gschem-1.2.0'
make: *** [geda-gschem-1.2.0/src/gschem] Error 2


More information about the geda-dev mailing list