On 08/05/07, Dotan Cohen wrote:
> > I need to install libmime 0.5 from the tarball to install the latest > > Synce. It's not making, can somebody please point out to me where the > > error is so that I may correct it? Thanks. > > > /bin/sh ./libtool --mode=link gcc -Wall -g -O2 -DHAVE_CONFIG_H -o > > test test.o -L. libmimedir.la > > libtool: link: cannot find the library `' > > make: *** [test] Error 1
> What are the contents of "libmimedir.la"? > Thanks, here it is:
That's fine. So I went an tried to reproduce. It builds fine here with FC-6: $ ./configure [...] $ make [...] ar cru .libs/libmimedir.a dirlex.o dirsynt.o parse.o get.o dup.o free.o memmem.o add.o count.o del.o ranlib .libs/libmimedir.a creating libmimedir.la (cd .libs && rm -f libmimedir.la && ln -s ../libmimedir.la libmimedir.la) gcc -Wall -g -O2 -DHAVE_CONFIG_H -o test.o -c test.c /bin/sh ./libtool --mode=link gcc -Wall -g -O2 -DHAVE_CONFIG_H -o test test.o -L. libmimedir.la gcc -Wall -g -O2 -DHAVE_CONFIG_H -o .libs/test test.o -L/tmp/libmimedir-0.5 ./.libs/libmimedir.so -Wl,--rpath -Wl,/usr/local/lib creating test I can only reproduce it if I insert a non-existant inter-library dependency into the dependency_libs='' definition in the libtool archive or mess with $deplib. You could debug the ./libtool script, where the error message is in a single place. :-)