Results 1 to 3 of 3

Thread: ./libQtCore.so.4.5.2: Accessing a corrupted shared library

  1. #1
    Join Date
    Apr 2007
    Posts
    76
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default ./libQtCore.so.4.5.2: Accessing a corrupted shared library

    this message i get when i run ldd.

    i've done the configure - install like it tells the manual.

    Qt installed with no problems.

    now when i build my app (which runs with old version 4.4.1) it gives me a message:
    Cannot mix incompatible Qt libraries

    the only thing i can see is that libQtCore.* library problem.

    any suggestions?

  2. #2
    Join Date
    Apr 2007
    Posts
    76
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: ./libQtCore.so.4.5.2: Accessing a corrupted shared library

    well what i've done so far...

    i've download package qt-x11-opensource-src-4.5.0 and qt-x11-opensource-src-4.5.2
    my system Mandriva 2008.1 x64

    configuration run on qt-x11-opensource-src-4.5.0:
    ./configure -prefix /usr/local/qt-4.5.0/ -libdir /usr/lib64/qt-4.5.0/ -v \
    -no-qt3support \
    -I/usr/local/include \
    -L/usr/local/lib64/ -L/usr/lib64/ \
    1>qt.log 2>qt.err
    and ldd libQtCore.so:
    linux-vdso.so.1 => (0x00007fff9abfe000)
    libz.so.1 => /usr/lib64/libz.so.1 (0x00002ac6104c6000)
    libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00002ac6106db000)
    librt.so.1 => /lib64/librt.so.1 (0x00002ac6108df000)
    libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00002ac610ae8000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00002ac610da1000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00002ac610fbc000)
    libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002ac6111c0000)
    libm.so.6 => /lib64/libm.so.6 (0x00002ac6114c6000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002ac611747000)
    libc.so.6 => /lib64/libc.so.6 (0x00002ac611954000)
    /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
    libpcre.so.0 => /usr/lib64/libpcre.so.0 (0x00002ac611ca9000)
    so it builds successfully.
    then the qt-x11-opensource-src-4.5.2:
    the config:
    ./configure -prefix /usr/local/qt-4.5.2/ -libdir /usr/lib64/qt-4.5.2/ -v \
    -opensource -no-sql-sqlite -no-sql-sqlite2 -no-qt3support \
    -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-tds \
    -L/usr/local/lib64/ -L/usr/lib64/ -L/lib64/ \
    -I/usr/local/include/ \
    -lsqlite3 -lpthread \
    1>qt.log 2>qt.err
    and ldd libQtCore.so:
    /usr/bin/ldd: line 117: ./libQtCore.so: Accessing a corrupted shared library
    ... and i have no clue.

  3. #3
    Join Date
    Apr 2007
    Posts
    76
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: ./libQtCore.so.4.5.2: Accessing a corrupted shared library

    well I haven't fix the problem with v4.5.2
    what google said is that is a specific problem for x86_64 arhitecture

    but today i download the 4.5.3 and believe it or not the library builds

    if someone have the same problem with 4.5.2 and find a workaround....
    please post it.

Similar Threads

  1. qmake: dependency of application on common shared library
    By PeterWurmsdobler in forum Qt Programming
    Replies: 5
    Last Post: 27th March 2009, 16:13
  2. Shared Library Creation
    By tntcoda in forum Qt Programming
    Replies: 1
    Last Post: 31st January 2009, 23:48
  3. Qt/Mac Shared Library
    By nareshqt in forum Qt Programming
    Replies: 0
    Last Post: 21st April 2008, 07:21
  4. Compiled resources in shared library
    By magland in forum Qt Programming
    Replies: 1
    Last Post: 21st June 2007, 04:57
  5. shared library problem
    By nhatkhang in forum KDE Forum
    Replies: 9
    Last Post: 28th November 2006, 04:07

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.