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 <m...@codeless.at> 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:

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Autogen-users mailing list
Autogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/autogen-users

Reply via email to