You are not logged in.

#1 2020-12-11 08:58:36

leuko
Member
Registered: 2020-06-01
Posts: 11

[Solved] ogre links to an older boostlib (libboost_thread.so.1.72.0)

I have community/ogre 2.2.4-1 installed. I have the following problem:

$ ldd /usr/lib/libOgreMain.so
...
libboost_thread.so.1.72.0 => not found
...
$ pacman -Q boost-libs
boost-libs 1.74.0-2

I thought first this is a packaging problem, but according to Scimmia it is not [1] because ogre is not linked against boost libs at all.

Where could be the problem?


[1] https://bugs.archlinux.org/task/68931

Last edited by leuko (2020-12-11 10:45:36)

Offline

#2 2020-12-11 09:14:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 12,511

Re: [Solved] ogre links to an older boostlib (libboost_thread.so.1.72.0)

Run lddtree from pax-utils on the lib instead.

Online

#3 2020-12-11 09:55:04

leuko
Member
Registered: 2020-06-01
Posts: 11

Re: [Solved] ogre links to an older boostlib (libboost_thread.so.1.72.0)

I was thinking that such a tool *must* exist. Thanks V1del!

/usr/lib/libOgreMain.so (interpreter => None)
    libX11.so.6 => /usr/lib/libX11.so.6
        libxcb.so.1 => /usr/lib/libxcb.so.1
            libXau.so.6 => /usr/lib/libXau.so.6
            libXdmcp.so.6 => /usr/lib/libXdmcp.so.6
    libXt.so.6 => /usr/lib/libXt.so.6
        libSM.so.6 => /usr/lib/libSM.so.6
            libuuid.so.1 => /usr/lib/libuuid.so.1
                ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2
        libICE.so.6 => /usr/lib/libICE.so.6
    libXaw.so.7 => /usr/lib/libXaw.so.7
        libXext.so.6 => /usr/lib/libXext.so.6
        libXmu.so.6 => /usr/lib/libXmu.so.6
        libXpm.so.4 => /usr/lib/libXpm.so.4
    libpthread.so.0 => /usr/lib/libpthread.so.0
    libdl.so.2 => /usr/lib/libdl.so.2
    libboost_thread.so.1.72.0 => None    ****************************
    libfreeimage.so.3 => /usr/lib/libfreeimage.so.3
        libjpeg.so.8 => /usr/lib/libjpeg.so.8
        libjxrglue.so.0 => /usr/lib/libjxrglue.so.0
            libjpegxr.so.0 => /usr/lib/libjpegxr.so.0
        libIlmImf-2_5.so.25 => /usr/lib/libIlmImf-2_5.so.25
            libImath-2_5.so.25 => /usr/lib/libImath-2_5.so.25
            libIlmThread-2_5.so.25 => /usr/lib/libIlmThread-2_5.so.25
        libHalf-2_5.so.25 => /usr/lib/libHalf-2_5.so.25
        libIex-2_5.so.25 => /usr/lib/libIex-2_5.so.25
        libopenjp2.so.7 => /usr/lib/libopenjp2.so.7
        libraw.so.20 => /usr/lib/libraw.so.20
            libjasper.so.4 => /usr/lib/libjasper.so.4
            liblcms2.so.2 => /usr/lib/liblcms2.so.2
            libgomp.so.1 => /usr/lib/libgomp.so.1
        libpng16.so.16 => /usr/lib/libpng16.so.16
        libtiff.so.5 => /usr/lib/libtiff.so.5
            libzstd.so.1 => /usr/lib/libzstd.so.1
            liblzma.so.5 => /usr/lib/liblzma.so.5
        libwebpmux.so.3 => /usr/lib/libwebpmux.so.3
        libwebp.so.7 => /usr/lib/libwebp.so.7
    libzzip-0.so.13 => /usr/lib/libzzip-0.so.13
    libz.so.1 => /usr/lib/libz.so.1
    libstdc++.so.6 => /usr/lib/libstdc++.so.6
    libm.so.6 => /usr/lib/libm.so.6
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1
    libc.so.6 => /usr/lib/libc.so.6

hmm

libboost seems to be directly linked. Am I wrong?

Last edited by leuko (2020-12-11 09:57:08)

Offline

#4 2020-12-11 10:45:11

leuko
Member
Registered: 2020-06-01
Posts: 11

Re: [Solved] ogre links to an older boostlib (libboost_thread.so.1.72.0)

I found the problem. I was using an older version: ogre-1.9-1.9.1-4-x86_64.pkg.tar.zst   The newer ogre does not use boost-libs at all.

I need ogre-1.9. Now ogre-1.9 is in AUR, and recompiling it fixes the linking problem.

Offline

Board footer

Powered by FluxBB