[Scons-dev] Issue 2869 - Versioned shared libraries
Managan, Rob
managan1 at llnl.gov
Wed Nov 7 12:44:59 EST 2012
Russel,
The messages like
SHLIBVERSION '' does not match the version # '2.1.2' in the filename,
proceeding based on file name
are in some sense development warnings that we may remove. It comes from
install.py checking that the version number in the file name matches the
SHLIBVERSION defined in the environment, which is not defined in this case.
One issue to be resolved is the heavy handedness of install looking at a
file name and saying, this is a versioned shared library and based on the
file name alone I better create the symlinks to go with it. That is what
happens right now. At least the emitter does the same thing and will clean
the links up for you.
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
Rob Managan email managan at llnl.gov
LLNL phone: 925-423-0903
P.O. Box 808, L-095 FAX: 925-422-3389
Livermore, CA 94551-0808
On 11/7/12 9:35 AM, "Russel Winder" <russel at winder.org.uk> wrote:
>Rob,
>
>Just to note. I merged your Soname fork into my D Tooling fork and no
>problems. So I tried to clean my directory and got:
>
>
>|> scons -c .
>/usr/bin/python
>/home/users/russel/Repositories/Mercurial/Masters/SCons_D_Tooling_SOName/b
>ootstrap/src/script/scons.py -c .
>scons: Reading SConscript files ...
>SHLIBVERSION '' does not match the version # '2.1.2' in the filename,
>proceeding based on file name
>SHLIBVERSION '' does not match the version # '2.1.2' in the filename,
>proceeding based on file name
>SHLIBVERSION '' does not match the version # '2.1.2' in the filename,
>proceeding based on file name
>SHLIBVERSION '' does not match the version # '2.1.2' in the filename,
>proceeding based on file name
>
>scons: *** Multiple ways to build the same target were specified for:
>/usr/local/lib/libaeryn_core.so
>File "/home/users/russel/tmp/Aeryn_Trunk/SConstruct", line 102, in
>commandsForLibraryLinks
>
>But note the printed out line is not the command actually given!
>
>|> /usr/bin/python
>/home/users/russel/Repositories/Mercurial/Masters/SCons_D_Tooling_SOName/b
>ootstrap/src/script/scons.py -c .
>scons: Reading SConscript files ...
>scons: done reading SConscript files.
>scons: Cleaning targets ...
>scons: done cleaning targets.
>
>
>I'll play with the SConstruct and SHLIBVERSION as suggested earlier.
>
>--
>Russel.
>==========================================================================
>===
>Dr Russel Winder t: +44 20 7585 2200 voip:
>sip:russel.winder at ekiga.net
>41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
>London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
More information about the Scons-dev
mailing list