Trouble with Ubuntu 20.04 Install

Home Forums Installation Trouble with Ubuntu 20.04 Install

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2621
    sudharsan
    Participant

    Running glade using ./glade gives the following error

    ./glade: symbol lookup error: /home/user/Glade/glade5_linux64_ub20/lib/libQt5Core.so.5: undefined symbol: u_strToLower_66

    When I tried running
    nm -D /home/user/Glade/glade5_linux64_ub20/lib/libQt5Core.so.5 | grep u_strToLower_66

    I get
    U u_strToLower_66

    PS. ReadMe file was followed for all variables after extraction.

    Any help will be great

    #2622
    Keith
    Keymaster

    Try running ‘ldd glade’ in the bin directory and posting the output. And then run ‘ldd libQt5Core.so.5.15.0’ in the lib directory.

    Also what build of 20.04 are you running (type ‘uname -a’)?

    #2623
    sudharsan
    Participant

    Output for ldd glade

    linux-vdso.so.1 (0x00007ffc7a9a4000)
    	liblaff.so.1 => /home/sudhar/Glade/glade5_linux64_ub20/lib/liblaff.so.1 (0x00007f45394a3000)
    	libdxf.so.1 => /home/sudhar/Glade/glade5_linux64_ub20/lib/libdxf.so.1 (0x00007f453947f000)
    	libmaze.so.1 => /home/sudhar/Glade/glade5_linux64_ub20/lib/libmaze.so.1 (0x00007f4539453000)
    	libgroute.so.1 => /home/sudhar/Glade/glade5_linux64_ub20/lib/libgroute.so.1 (0x00007f4539442000)
    	liboasis.so.1 => /home/sudhar/Glade/glade5_linux64_ub20/lib/liboasis.so.1 (0x00007f453941f000)
    	libdrc.so.1 => /home/sudhar/Glade/glade5_linux64_ub20/lib/libdrc.so.1 (0x00007f453938c000)
    	libgeom.so.1 => /home/sudhar/Glade/glade5_linux64_ub20/lib/libgeom.so.1 (0x00007f4539300000)
    	libcdb.so.1 => /home/sudhar/Glade/glade5_linux64_ub20/lib/libcdb.so.1 (0x00007f45391f9000)
    	libcpp.so.1 => /home/sudhar/Glade/glade5_linux64_ub20/lib/libcpp.so.1 (0x00007f4538acf000)
    	libpython3.8.so.1.0 => /home/sudhar/Glade/glade5_linux64_ub20/lib/libpython3.8.so.1.0 (0x00007f4538579000)
    	libGLU.so.1 => /lib/x86_64-linux-gnu/libGLU.so.1 (0x00007f45384ec000)
    	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f45384cf000)
    	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f45384ab000)
    	libQt5PrintSupport.so.5 => /home/sudhar/Glade/glade5_linux64_ub20/lib/libQt5PrintSupport.so.5 (0x00007f4538444000)
    	libQt5Svg.so.5 => /home/sudhar/Glade/glade5_linux64_ub20/lib/libQt5Svg.so.5 (0x00007f45383e8000)
    	libQt5Charts.so.5 => /home/sudhar/Glade/glade5_linux64_ub20/lib/libQt5Charts.so.5 (0x00007f4538226000)
    	libQt5Widgets.so.5 => /home/sudhar/Glade/glade5_linux64_ub20/lib/libQt5Widgets.so.5 (0x00007f4537b78000)
    	libQt5Gui.so.5 => /home/sudhar/Glade/glade5_linux64_ub20/lib/libQt5Gui.so.5 (0x00007f45374d9000)
    	libQt5Network.so.5 => /home/sudhar/Glade/glade5_linux64_ub20/lib/libQt5Network.so.5 (0x00007f453730d000)
    	libQt5Core.so.5 => /home/sudhar/Glade/glade5_linux64_ub20/lib/libQt5Core.so.5 (0x00007f4536d58000)
    	libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f4536cd0000)
    	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f4536aef000)
    	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f45369a0000)
    	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f4536985000)
    	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4536799000)
    	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f453676b000)
    	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4536765000)
    	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f4536760000)
    	/lib64/ld-linux-x86-64.so.2 (0x00007f453a227000)
    	libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f453667d000)
    	libicui18n.so.66 => /lib/x86_64-linux-gnu/libicui18n.so.66 (0x00007f453636b000)
    	libicuuc.so.66 => /lib/x86_64-linux-gnu/libicuuc.so.66 (0x00007f453617f000)
    	libpcre2-16.so.0 => /lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007f45360fc000)
    	libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f453602c000)
    	libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f4535efa000)
    	libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f4535e40000)
    	libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f4535e0c000)
    	libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f4535d49000)
    	libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f4535d1c000)
    	libicudata.so.67 => /lib/x86_64-linux-gnu/libicudata.so.67 (0x00007f4534203000)
    	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f453418e000)
    	libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f4534050000)
    	libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f4534017000)
    	libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f4534009000)
    	libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f4533fdf000)
    	libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f4533fba000)
    	libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f4533fb4000)
    	libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f4533fac000)
    	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f4533f92000)

    Output for ldd libQt5Core.so.5.15.0

    linux-vdso.so.1 (0x00007ffe04308000)
    	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa15d734000)
    	libicui18n.so.66 => /lib/x86_64-linux-gnu/libicui18n.so.66 (0x00007fa15d422000)
    	libicuuc.so.66 => /lib/x86_64-linux-gnu/libicuuc.so.66 (0x00007fa15d236000)
    	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa15d230000)
    	libpcre2-16.so.0 => /lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007fa15d1ad000)
    	libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007fa15d0dd000)
    	libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fa15cfa9000)
    	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa15cdc8000)
    	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa15cc79000)
    	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa15cc5e000)
    	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa15ca74000)
    	/lib64/ld-linux-x86-64.so.2 (0x00007fa15dd28000)
    	libicudata.so.67 => /lib/x86_64-linux-gnu/libicudata.so.67 (0x00007fa15af5b000)
    	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fa15aee6000)

    To see if it helps I upgraded to Ubuntu 20.10 Version (Dont ask, I know dumb move)
    (Running the latest build)

    #2624
    Keith
    Keymaster

    That all looks normal. I can not see where the error message you are saying you get is coming from; the only possibility is that the libQt5Core library contains the QString functionality and that has the QString::toLower() function. But as long as you are using the supplied libQt5Core (which ldd says you are) then it should be ok. And it works fine on my 20.04 installation.

    Have you tried reinstalling Glade?

    #2625
    sudharsan
    Participant

    Yes, Tried reinstalling (Both version 4.x and 5.x of glade available on the downloads page) but still get the same error.

    #2626
    Keith
    Keymaster

    The only other thing I can think is that one (or some) of the Qt plugins loaded by QtCore are missing dependencies. You could try checking the shared libs in the bin/platforms dir using ldd.

    I suspect it’s a system library issue, unfortunately I have been unable to find any reference to a strToLower function to determine what.

    #2627
    Keith
    Keymaster

    So u_strToLower is a function that is part of Unicode support. A grep on the QtCore source shows:

    corelib/text/qlocale_icu.cpp:// caseFunc can either be u_strToUpper or u_strToLower
    corelib/text/qlocale_icu.cpp: bool err = qt_u_strToCase(str, &out, localeID, u_strToLower);

    u_strToLower is part of the unicode libraries. I’d also check libicu, libicui18n, libicuuc – although ldd says you have them.

    #2628
    sudharsan
    Participant

    Thanks a lot for your time.
    I installed Glade on Manjaro Linux, and it works very well. So, I guess I’ll stick to it rather than debugging in Ubuntu.

    Thanks again for your time.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.