[mapguide-internals] fdo, linux, rpm and sonames

Helio Chissini de Castro helio at kde.org
Thu May 10 22:24:34 EDT 2007


Hi again

During packaging Fdo, i noted that all libraries are generated like:
libFDO-3.2.2.so
libFDO.la
libFDO.so

This is due 

libFDO_la_LDFLAGS = -shared \
  -release $(VERSION) \

in Makefile.am

The problem with this format is we're unable to use libFDO-3.2.2 for preload, 
instead we're forced to run against libFDO.so. This leads to rpm package 
requires all base devel packages in install, like gdal-devel, as we can't 
properly separate runtime libraries from devel libraries.
As an example, mapguide ldload libFDO.so. This is on purpose ?

A simple change from -release to some like this:
-no-undefined -version-info 3:2:2

Can provide this layout:

libFDO.so.3
libFDO.so.3.2.2
libFDO.la
libFDO.so

with will be suitable for packaging and linking, making programs not rely 
on .so devel linrary and reduce the amount of useless devel packages.
Is there any chance to change this in future ? ( remember, this affects just 
*nix builds )

Thanks in advance and sorry by the rant.

-- 
Helio Chissini de Castro
KDE Developer
Brasil/South America Primary Contact


More information about the mapguide-internals mailing list