Re: [Autogen-users] Error running new AutoGen
Brought to you by:
bkorb
From: Bruce K. <bk...@gn...> - 2012-08-13 19:11:45
|
Hi, It's that detestable dynamic linking junk. Type this: $ ldd $(which autogen) and you'll see which libopts the thing is trying to link against. The binary is supposed to have been relinked with -Wl,-rpath -Wl,/path/to/lib and, thus, load the correct library. Like this: libtool: link: /usr/bin/gcc -std=gnu99 -pthread -I/usr/local/include/guile/2.0 -ggdb3 -Wall -Werror -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -Wno-format-contains-nul -fno-strict-aliasing -Wstrict-aliasing=2 -o .libs/autogen autogen-ag.o -Wl,--export-dynamic ../autoopts/.libs/libopts.so ../snprintfv/.libs/libsnprintfv.a -L/usr/local/lib64 /usr/local/lib64/libguile-2.0.so -lffi -lrt -lunistring -lgmp /usr/local/lib64/libltdl.so -lcrypt -lgc -lm -ldl -pthread -Wl,-rpath -Wl,/usr/local/lib64 make[3]: Entering directory `/old-home/bkorb/ag/ag/agen5' /bin/sh ../libtool --mode=install /usr/bin/install -c autogen '/usr/local/bin' libtool: install: /usr/bin/install -c .libs/autogen /usr/local/bin/autogen and the ldd yields: $ ldd $(which autogen) linux-vdso.so.1 => (0x00007fffdd3ff000) libopts.so.25 => /usr/local/lib64/libopts.so.25 (0x00007f9a71ed4000) [......] There is also an interesting "got'cha" introduced with recent autoconfs -- please notice the library directory: "lib64" This is new behavior. Make sure that /etc/ld.so.conf references the correct directories and prefers the more explicit (lib64) over the platform generic (lib). Otherwise, build the thing with ./configure --disable-shared Shared libraries are for folks that build distributions. For everyone else, they are too flaky. On Mon, Aug 13, 2012 at 11:38 AM, Manuel H <mo...@co...> wrote: > Hello! > > Under my Ubuntu 10.04 system i have encountered the following error > after successfully installing the newest AutoGen, by simply running: > > autogen -v > > on the shell. The output: > > Automated Options Processing Error! > autogen called AutoOpts function with structure version 36:0:5. > This exceeds the compiled library version: |