[maemo-developers] Problems running qmake inside scratchbox (and outside)

From: pedro.larroy at nokia.com pedro.larroy at nokia.com
Date: Wed Oct 20 12:10:56 EEST 2010
Hi

I'm having trouble running qmake, could it be related to libraries?

Here's the results of qmake invocation:

Thanks. Pedro.

piotr at gominola-deb32:1:~/.maemo-sdk/rootstraps/armel/fremantle5.0minimal_armel/usr/bin$ strace ./qmake
execve("./qmake", ["./qmake"], [/* 64 vars */]) = -1 ENOENT (No such file or directory)
dup(2)                                  = 3
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb778c000
_llseek(3, 0, 0xbfe735b8, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory
) = 40
close(3)                                = 0
munmap(0xb778c000, 4096)                = 0
exit_group(1)                           = ?                                                                                                                                                   
piotr at gominola-deb32:1:~/.maemo-sdk/rootstraps/armel/fremantle5.0minimal_armel/usr/bin$ ldd qmake                                                                                             
        linux-gate.so.1 =>  (0xb788a000)                                                                                                                                                      
        libstdc++.so.5 => not found
        libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7851000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7832000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb76ec000)
        /scratchbox/host_shared/lib/ld.so => /lib/ld-linux.so.2 (0xb788b000)
piotr at gominola-deb32:0:~/.maemo-sdk/rootstraps/armel/fremantle5.0minimal_armel/usr/bin$ cd /tmp/
piotr at gominola-deb32:0:/tmp$ sb2
[SB2 devel fremantle5.0minimal_armel] piotr at gominola-deb32 tmp $ qmake
bash: /usr/bin/qmake: No such file or directory
[SB2 devel fremantle5.0minimal_armel] piotr at gominola-deb32 tmp $ file /usr/bin/qmake
/usr/bin/qmake: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.0, stripped
[SB2 devel fremantle5.0minimal_armel] piotr at gominola-deb32 tmp $
More information about the maemo-developers mailing list