[gmx-developers] [Patch] Gromacs 4.5.5 installs libraries to wrong directory on 64bit

Szilárd Páll szilard.pall at cbr.su.se
Wed Sep 21 17:01:13 CEST 2011


Hi,

The patch was rejected because lib/lib32/lib64 is set up in a
distribution-specific way: while on RHEL/SuSE lib is for 32bit
libraries and lib64 for 64 bit, on  debian/ubuntu there is a separate
lib32 and lib64, moreover lib64 is a symlink to lib.

We really don't want to get into dealing with these kind of things
ourselves and end up with 10 conditionals for 20 different platforms.
Ideally CMake should take care of this.

However, as we set the lib install path like this:

if ( DEFINED GMXLIB )
    set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${GMXLIB}")
else()
    set(LIB_INSTALL_DIR  ${CMAKE_INSTALL_PREFIX}/lib)
endif()

which means that we do not let CMake put libraries where it thinks
they should go, it is indeed a subtle bug.

I think both issue 591 and 623 are related, right?

--
Szilárd



On Wed, Sep 21, 2011 at 3:58 PM, Klaus Kaempf <kkaempf at suse.de> wrote:
> Hi,
>
> this was already reported against Gromacs 4.5.1 and popped up in 4.5.5
> again. Sigh.
>
> Klaus
> ---
> SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
> Maxfeldstraße 5, 90409 Nürnberg, Germany
>
> --
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-developers-request at gromacs.org.
>



More information about the gromacs.org_gmx-developers mailing list