CMake libqt4-dev Multilib problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cmake (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi Everyone,
I have an already running cmake program that I was unable to compile on oneiric:
(In order to compile it I needed to add the path: /usr/lib/
cmake_minimum_
project(
set(CMAKE_
set(CMAKE_
set(CUDPP_ROOT_DIR "${CMAKE_
find_package(CUDA 4 QUIET REQUIRED)
find_package(CUDPP REQUIRED)
[Some cuda stuff here]
#### QT
find_package(Qt4 REQUIRED)
include(
include_
[...]
cuda_add_
target_
But somehow cmake has problems detecting the correct qt version:
make[2]: *** No rule to make target `/usr/lib/
make[1]: *** [CMakeFiles/
make: *** [all] Error 2
libqt4-dev is installed but dpkg -L libqt4-dev shows:
[...]
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
Description: Ubuntu 11.10
Release: 11.10
cmake:
Installed: 2.8.5-1ubuntu1
Candidate: 2.8.5-1ubuntu1
Version table:
*** 2.8.5-1ubuntu1 0
500 http://
100 /var/lib/
libqt4-dev:
Installed: 4:4.7.4-0ubuntu8
Candidate: 4:4.7.4-0ubuntu8
Version table:
*** 4:4.7.4-0ubuntu8 0
500 http://
100 /var/lib/
I have the same problem. And no solution yet - sorry :)
Just wanted to note that I do not have to modify LD_LIBRARY_PATH, as ldconfig is configured correctly to locate libraries:
> cat /etc/ld. so.conf. d/x86_64- linux-gnu. conf 64-linux- gnu x86_64- linux-gnu
# Multiarch support
/lib/x86_
/usr/lib/
Still, the problem persists.
Must be somewhere in FindQt.cmake I assume.
cheers
Michael