You are not logged in.

#1 2019-07-26 15:17:21

nexx1
Member
Registered: 2017-08-20
Posts: 62

[solved] [FreeCAD] Two versions installed?

Hi,

i wanted to update my FreeCAD to the newest version, so yesterday i pulled the repo from AUR (v0.18.16131-1), compiled and installed it.
But when i start FreeCAD, it says that i am still using version 0.17.13544 from december 2018.

So i did uninstall freecad (pacman -R) and installed it again - same result.

Does anybody know how this is possible and how i can resolve it?

17:12:56 my@machine ~ $ pacman -Qi freecad
Name                     : freecad
Version                  : 0.18.16131-1
Beschreibung             : A general purpose 3D CAD modeler
Architektur              : x86_64
URL                      : https://www.freecadweb.org/
Lizenzen                 : LGPL
Gruppen                  : Nichts
Stellt bereit            : Nichts
Hängt ab von             : boost-libs  curl  opencascade>=7.2  xerces-c  libspnav  glew  netcdf  shared-mime-info
                           hicolor-icon-theme  jsoncpp  qt5-base  qt5-declarative  qt5-svg  qt5-tools  qt5-x11extras
                           qt5-webkit  med  python-pivy  python-pyside2  python-matplotlib  pyside2-tools
Optionale Abhängigkeiten : python-matplotlib [Installiert]
                           graphviz [Installiert]
                           openscad [Installiert]
Benötigt von             : Nichts
Optional für             : Nichts
In Konflikt mit          : Nichts
Ersetzt                  : Nichts
Installationsgröße       : 319,25 MiB
Packer                   : Unknown Packager
Erstellt am              : Mi 24 Jul 2019 19:42:33 CEST
Installiert am           : Mi 24 Jul 2019 21:28:20 CEST
Installationsgrund       : Ausdrücklich installiert
Installations-Skript     : Nein
Verifiziert durch        : Nichts

Last edited by nexx1 (2019-08-02 19:19:58)

Offline

#2 2019-07-26 15:30:58

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [solved] [FreeCAD] Two versions installed?

How are you starting it?

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2019-07-26 16:15:30

nexx1
Member
Registered: 2017-08-20
Posts: 62

Re: [solved] [FreeCAD] Two versions installed?

Oh, makes sense, thanks for moving the topic.

I started it via console and via gmrun - it always triggers the old version. I really dont understand where the old version comes from...

freecad via console:

18:10:49 my@machine ~ $ freecad
FreeCAD 0.17, Libs: 0.17R13544 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Offline

#4 2019-07-26 16:24:41

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [solved] [FreeCAD] Two versions installed?

Please post the output of the following:

type -a freecad

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2019-07-26 16:34:39

nexx1
Member
Registered: 2017-08-20
Posts: 62

Re: [solved] [FreeCAD] Two versions installed?

Sure:

18:33:58 my@machine ~ $ type -a freecad
freecad ist /usr/bin/freecad

Offline

#6 2019-07-26 17:39:10

loqs
Member
Registered: 2014-03-06
Posts: 17,193

Re: [solved] [FreeCAD] Two versions installed?

What is the output of the following?

pacman -Qo /usr/bin/freecad
file /usr/bin/freecad
pacman -Qkk freecad

Online

#7 2019-07-26 18:06:05

nexx1
Member
Registered: 2017-08-20
Posts: 62

Re: [solved] [FreeCAD] Two versions installed?

Here it is:

20:05:11 my@machine ~ $ pacman -Qo /usr/bin/freecad
/usr/bin/freecad ist in freecad 0.18.16131-1 enthalten

20:05:13 my@machine ~ $ file /usr/bin/freecad
/usr/bin/freecad: symbolic link to ../lib/freecad/bin/FreeCAD

20:05:16 my@machine ~ $ pacman -Qkk freecad
freecad: 1347 Dateien gesamt, 0 veränderte Dateien

Offline

#8 2019-07-26 18:11:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: [solved] [FreeCAD] Two versions installed?

20:05:11 my@machine ~ $ pacman -Qo /usr/bin/freecad
/usr/bin/freecad ist in freecad 0.18.16131-1 enthalten

WTF is that?  Is this 1) not arch, 2) not the actual output, or 3) did your arch installation acheive self-awareness and converses with you rather than responding to the actual command you entered?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2019-07-26 18:18:35

nexx1
Member
Registered: 2017-08-20
Posts: 62

Re: [solved] [FreeCAD] Two versions installed?

Hey, why so loudly?

1) this is arch.

20:05:36 my@machine ~ $ uname -ar
Linux machine 5.2.2-arch1-1-ARCH #1 SMP PREEMPT Sun Jul 21 19:18:34 UTC 2019 x86_64 GNU/Linux

2) this IS the actual output.
3) again, this is the output to the command suggested by loqs.

Are you offended by the output being non-english? I dont get the reason of your angriness.

Offline

#10 2019-07-26 18:23:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: [solved] [FreeCAD] Two versions installed?

Oh dear.  I'm really sorry.  I completely misread.  I wasn't angry, but was baffled.  I didn't realize it wasn't in English and thought it sad "/usr/bin/freecad isn't in freecad ..." which would be complete nonsense as a response to the command.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#11 2019-07-26 18:25:26

nexx1
Member
Registered: 2017-08-20
Posts: 62

Re: [solved] [FreeCAD] Two versions installed?

Ah i see, alright wink Thanks for the clarification.

Offline

#12 2019-07-26 18:34:46

loqs
Member
Registered: 2014-03-06
Posts: 17,193

Re: [solved] [FreeCAD] Two versions installed?

Do you have the build directory for freecad you used for 0.18.16131-1?  If so in the src/freecad directory what is the output of `git describe --tags --long`

Online

#13 2019-07-26 20:01:44

nexx1
Member
Registered: 2017-08-20
Posts: 62

Re: [solved] [FreeCAD] Two versions installed?

Yep:

22:00:18 my@machine ~/git/AUR/freecad/src/FreeCAD $ git describe --tags --long
0.18.3-0-g3129ae429

Offline

#14 2019-07-26 20:08:45

loqs
Member
Registered: 2014-03-06
Posts: 17,193

Re: [solved] [FreeCAD] Two versions installed?

Does the binary contain the string 0.18.3

strings  /usr/lib/freecad/bin/FreeCAD | grep -F 0.18.3

Online

#15 2019-07-27 09:07:46

nexx1
Member
Registered: 2017-08-20
Posts: 62

Re: [solved] [FreeCAD] Two versions installed?

Nope, it does not.

11:03:37 my@machine ~ $ strings /usr/lib/freecad/bin/FreeCAD | grep -F 0.18.3
11:03:54 my@machine ~ $ 

This indicates problems with the actual build or installation process, does it? But the building of the package seems to have completed correctly, since there is a freecad-0.18.16131-1-x86_64.pkg.tar.xz in the directory.

Offline

#16 2019-07-30 15:01:51

nexx1
Member
Registered: 2017-08-20
Posts: 62

Re: [solved] [FreeCAD] Two versions installed?

I'd like to bring this up again, since i am not able to debug it on my own sad

Offline

#17 2019-07-30 15:13:26

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: [solved] [FreeCAD] Two versions installed?

nexx1 wrote:

I'd like to bring this up again, since i am not able to debug it on my own

Please don't do that.


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#18 2019-07-31 20:58:38

loqs
Member
Registered: 2014-03-06
Posts: 17,193

Re: [solved] [FreeCAD] Two versions installed?

freeecad
FreeCAD 0.18, Libs: 0.18R16131 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

What is the output of the following (pax-utils supplies lddtree)

lddtree /usr/bin/freecad
strings /usr/lib/freecad/lib/libFreeCADApp.so | grep -i 16131

Online

#19 2019-08-01 14:29:43

nexx1
Member
Registered: 2017-08-20
Posts: 62

Re: [solved] [FreeCAD] Two versions installed?

Here are the outputs:

16:27:59 my@machine ~ $ lddtree /usr/bin/freecad
/usr/bin/freecad (interpreter => /lib64/ld-linux-x86-64.so.2)
    libFreeCADGui.so => /usr/lib/freecad/lib/libFreeCADGui.so
        libCoin.so.80 => /usr/lib/libCoin.so.80
            libexpat.so.1 => /usr/lib/libexpat.so.1
            libGLX.so.0 => /usr/lib/libGLX.so.0
                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
                libXext.so.6 => /usr/lib/libXext.so.6
                libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0
                libdl.so.2 => /usr/lib/libdl.so.2
            libOpenGL.so.0 => /usr/lib/libOpenGL.so.0
        libboost_regex.so.1.69.0 => /usr/lib/libboost_regex.so.1.69.0
            librt.so.1 => /usr/lib/librt.so.1
            libicudata.so.64 => /usr/lib/libicudata.so.64
            libicui18n.so.64 => /usr/lib/libicui18n.so.64
            libicuuc.so.64 => /usr/lib/libicuuc.so.64
        libpthread.so.0 => /usr/lib/libpthread.so.0
        libGL.so.1 => /usr/lib/libGL.so.1
        libQt5PrintSupport.so.5 => /usr/lib/libQt5PrintSupport.so.5
        libQt5Svg.so.5 => /usr/lib/libQt5Svg.so.5
            libz.so.1 => /usr/lib/libz.so.1
        libQt5Network.so.5 => /usr/lib/libQt5Network.so.5
            libssl.so.1.1 => /usr/lib/libssl.so.1.1
            libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1
        libQt5X11Extras.so.5 => /usr/lib/libQt5X11Extras.so.5
        libspnav.so.0 => /usr/lib/libspnav.so.0
        libxerces-c-3.2.so => /usr/lib/libxerces-c-3.2.so
            libnsl.so.2 => /usr/lib/libnsl.so.2
                libtirpc.so.3 => /usr/lib/libtirpc.so.3
                    libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2
                        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0
                        libkeyutils.so.1 => /usr/lib/libkeyutils.so.1
                        libresolv.so.2 => /usr/lib/libresolv.so.2
                    libkrb5.so.3 => /usr/lib/libkrb5.so.3
                    libk5crypto.so.3 => /usr/lib/libk5crypto.so.3
                    libcom_err.so.2 => /usr/lib/libcom_err.so.2
            libcurl.so.4 => /usr/lib/libcurl.so.4
                libnghttp2.so.14 => /usr/lib/libnghttp2.so.14
                libidn2.so.0 => /usr/lib/libidn2.so.0
                    libunistring.so.2 => /usr/lib/libunistring.so.2
                libssh2.so.1 => /usr/lib/libssh2.so.1
                libpsl.so.5 => /usr/lib/libpsl.so.5
        libQt5Xml.so.5 => /usr/lib/libQt5Xml.so.5
        libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5
            libpng16.so.16 => /usr/lib/libpng16.so.16
            libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0
                libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0
                    libpcre.so.1 => /usr/lib/libpcre.so.1
                libfreetype.so.6 => /usr/lib/libfreetype.so.6
                libharfbuzz.so.0 => !!! circular loop !!!
                    libbz2.so.1.0 => /usr/lib/libbz2.so.1.0
                libgraphite2.so.3 => /usr/lib/libgraphite2.so.3
        libm.so.6 => /usr/lib/libm.so.6
    libFreeCADApp.so => /usr/lib/freecad/lib/libFreeCADApp.so
        libboost_program_options.so.1.69.0 => /usr/lib/libboost_program_options.so.1.69.0
    libFreeCADBase.so => /usr/lib/freecad/lib/libFreeCADBase.so
    libpython3.7m.so.1.0 => /usr/lib/libpython3.7m.so.1.0
        libutil.so.1 => /usr/lib/libutil.so.1
    libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5
    libQt5Core.so.5 => /usr/lib/libQt5Core.so.5
        libsystemd.so.0 => /usr/lib/libsystemd.so.0
            liblzma.so.5 => /usr/lib/liblzma.so.5
            liblz4.so.1 => /usr/lib/liblz4.so.1
            libgcrypt.so.20 => /usr/lib/libgcrypt.so.20
                libgpg-error.so.0 => /usr/lib/libgpg-error.so.0
        libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0
        libdouble-conversion.so.3 => /usr/lib/libdouble-conversion.so.3
        libzstd.so.1 => /usr/lib/libzstd.so.1
    libstdc++.so.6 => /usr/lib/libstdc++.so.6
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1
    libc.so.6 => /usr/lib/libc.so.6
16:28:50 my@machine ~ $ strings /usr/lib/freecad/lib/libFreeCADApp.so | grep -i 16131
16:28:52 my@machine ~ $ 

The strings-command does not output anything.

Last edited by nexx1 (2019-08-01 14:30:23)

Offline

#20 2019-08-01 14:39:18

loqs
Member
Registered: 2014-03-06
Posts: 17,193

Re: [solved] [FreeCAD] Two versions installed?

So /usr/lib/freecad/lib/libFreeCADApp.so is not the 16131 version the freecad package should be providing.

Online

#21 2019-08-01 17:16:57

nexx1
Member
Registered: 2017-08-20
Posts: 62

Re: [solved] [FreeCAD] Two versions installed?

Correct, this is the "old" one:

18:11:54 my@machine ~ $ strings /usr/lib/freecad/lib/libFreeCADApp.so | grep -i 13544
13544 (Git)

What could a solution be? pacman -R freecad, a fresh git pull & makepkg? Still leaves me wondering, because thats essentially what i did.

Offline

#22 2019-08-01 17:48:38

loqs
Member
Registered: 2014-03-06
Posts: 17,193

Re: [solved] [FreeCAD] Two versions installed?

If you bsdtar extract the 0.18.16131-1 package to a temporary directory does that supply the library for 13544 or 16131 build?

Online

#23 2019-08-01 19:14:55

nexx1
Member
Registered: 2017-08-20
Posts: 62

Re: [solved] [FreeCAD] Two versions installed?

21:09:43 chris@chrisarch ~/git/AUR/freecad/TEMPDIR $ bsdtar -xf freecad-0.18.16131-1-x86_64.pkg.tar.xz 
21:13:42 chris@chrisarch ~/git/AUR/freecad/TEMPDIR $ strings /usr/lib/freecad/lib/libFreeCADApp.so | grep -i 16131
21:14:03 chris@chrisarch ~/git/AUR/freecad/TEMPDIR $ strings /usr/lib/freecad/lib/libFreeCADApp.so | grep -i 13544
13544 (Git)

Still seems like the old one?!

Offline

#24 2019-08-01 19:33:02

loqs
Member
Registered: 2014-03-06
Posts: 17,193

Re: [solved] [FreeCAD] Two versions installed?

Yes somehow the package was built with pkgver for the new version but the contents of the old one.

Online

#25 2019-08-02 00:36:15

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [solved] [FreeCAD] Two versions installed?

Looking at the PKGBUILD it uses a commit to get a specific git version .

Does it make a difference if you build using the 0.18.3 released tarball  ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB