libtool libdvdcontrol/libmsgevents troubles (solved!)

Martin Piskernig <[email protected]> Sun, 30 Nov 2003 13:04:52 +0100
Newsgroups gmane.comp.video.ogle.devel
Organization University of Vienna
Message-ID <[email protected]>
Hi!

I observe since some weeks a strange problem with installing ogle. After 
"make install" there are these files (amongst others) in /usr/lib/ogle:
...
libdvdcontrol.9.2.0
libdvdcontrol.9
libdvdcontrol
libmsgevents.6.2.0
libmsgevents.6
libmsgevents
....

The pattern is that the "so" extension is missing; so these libs can not 
be found by any executable wanting to link against -ldvdcontrol.
I first just observed it on my Debian/unstable machine and thought it is 
a typical "unstable" problem. But yesterday I compiled ogle on Fedora 1 
and the same happened! It did work under RedHat 9, though.

So the automake versions are:
Debian/unstable  	automake 1.7.9(-1)
				autoconf 2.58(-8)
Fedora 1 			automake 1.7.8(-1)
				autoconf 2.57(-3)
RedHat 9			automake 1.6.3(-5)
				autoconf 2.57(-3)

So I guess it has something to do with ogle's Makefile.am's and 
automake1.7? But I'm not expert enough in this stuff to find and fix 
the problem.... 
The problem occurs while building, not while installing. You can have a 
look at ogle-0.9.2/ogle/.libs and see there the files without "so".

AH!!! After trying around some time now I found out that "ltmain.sh" is 
the problem, it may be too old! When I copy over ltmain.sh from kdelibs 
(other recent programs would be equally good, just have it lying around 
here) the libs are built correctly with the "so" in the name!

I attach the ltmain.sh of libtool1.5.0a (in Debian it is located at /
usr/share/libtool/). Please commit it to CVS!

Greets,
Martin
-- 
Martin Piskernig		[email protected]
Institute for Mathematics	 www.mat.univie.ac.at/~martin
University of Vienna
ltmain.sh.gz (application/x-gzip, 43.2 KB) - not displayed