compiling cairo-dock from source installs its libraries to /usr/lib6464 instead of /usr/lib64 on a 64 bit system.

Bug #1073734 reported by Joshua Songy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cairo-Dock Core
Fix Released
Undecided
Matthieu Baerts

Bug Description

Compiling cairo-dock from source installs its libraries to /usr/lib6464 instead of /usr/lib64 on a 64 bit system, using Compiz and XFCE on a 64bit Gentoo install, with an ebuild that just grabs the source from the bzr repo and then invokes the regular cmake compile and install commands. Cariiro-dock refuses to run thinking its libraries should be in /usr/lib64. Cairo-Dock-Plugins then refuses to build since it expects the Cairo-Dock libraries to be in /usr/lib64. System linking /usr/lib6464 to /usr/lib64 solves all the issues.

Tags: bzr
Revision history for this message
Joshua Songy (joshua-songy) wrote :
description: updated
Revision history for this message
Matthieu Baerts (matttbe) wrote :

Hello and thank you for this bug report!

Libraries should be installed in ${prefix}/${CMAKE_INSTALL_LIBDIR}${LIB_SUFFIX}.
It seems that with your ebuild, these variables are:
 * ${prefix} = '/usr'
 * ${CMAKE_INSTALL_LIBDIR} = 'lib64'
 * ${LIB_SUFFIX} = '64'
This is a bit strange that 'LIB_SUFFIX' flag is given and I'm not sure that it's a GNU specification...

But this bug should be fixed now on BZR (rev 1265) (even if I think it's maybe more a problem with Gentoo ;) ). If you're using the -9999 version, simply re-launch the installation.
If not, this bug can be fixed by using one of these CMake flags (you've to edit the ebuild file and add a flag after the 'cmake' command):
  -DFORCE_LIB64=yes
  or: -DLIB_SUFFIX=""
  or: -DCMAKE_INSTALL_LIBDIR=lib

Changed in cairo-dock-core:
status: New → Fix Committed
assignee: nobody → Matthieu Baerts (matttbe)
milestone: none → 3.1.1
Changed in cairo-dock-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.