Re: -lgdk -vs- -lgdk-1.1



On Mon, May 11, 1998 at 08:42:21AM -0700, Matt Stockdale wrote:
> It seems that recently we changed over to gtk-1.1 gdk-1.1 and glib-1.1.
> 
> However, when I get gtk+ fresh from cvs, it still installs on my system as
> libgtk. no -1.1. However, the gtk-config that gets installed spits out -1.1. So
> I either have to edit gtk-config, or link the libs it installs. the only
> reference I could find to -1.1 in the tree was in the .spec file.
> 
> Can someone shed some light on this for me?

As I understand it (from the ChangeLog), the ltmain.sh and/or ltconfig
scripts from CVS are generated by a hacked libtool-1.2.  Using these files
will postfix the version number to the library names as they are installed.

Rerunning libtoolize (as my version of autogen.sh does) overwrites these
changed files with the normal configuration scripts which install without
the version postfix.

Aside:
I think that version numbers in library names are a bad idea for ELF systems
at least.  The soname option to ld should be used correctly to differentiate
versions of libraries.  A good scheme is documented in the info files 
distributed with libtool... I am hoping that this is just an interim measure
to get us through the gtk-1.0 to gtk-1.1 transition (albeit a misconceived
one IMHO)... If the source version number as library name thing is here to
stay perhaps someone could explain why this is necessary?

Cheers,
	Gary V. Vaughan
-- 
  ___              _   ___   __              _             
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___ 
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
PGP Key from/___/                      /___/               
http://www.cl.cam.ac.uk/PGP/pks-commands.html#extract      
http://pgp.ai.mit.edu/~bal/pks-commands.html#extract       

PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]