You are not logged in.

#1 2019-05-13 13:48:04

Null101
Member
Registered: 2019-05-13
Posts: 7

Tecplot | Temporary fix obtained | Permanent fix to be found |

I have installed tecplot on my arch system. But while running the ./tec file some error was thrown as "symbol lookup error: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var".

After searching the internet I downgrading the fontconfig and freetype2 versions using the downgrade  aur package. And now it works.

I think downgrading like this is not a permanent solution. Do you have any ideas. Thank you!.

Last edited by Null101 (2019-05-17 06:40:31)

Offline

#2 2019-05-13 13:52:08

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

Re: Tecplot | Temporary fix obtained | Permanent fix to be found |

Null101 wrote:

I have installed tecplot on my arch system. But while running the ./tec

How did you install it?  If that's how you need to run it, it isn't really installed, but that's likely beside the point.

I couldn't navigate their site to get the trial download (and there are three different flavors anyways) but I gather this is distributed only as a precompiled binary, in which case the only real solution is to wait for them to compile a new version or use it in a container/vm.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2019-05-13 14:15:36

Null101
Member
Registered: 2019-05-13
Posts: 7

Re: Tecplot | Temporary fix obtained | Permanent fix to be found |

It is tecplot 360. After downloading there is a .sh which installs it. It will ask for the directory in which to install.

After installing and navigating to the bin directory inside there is tec360 file which is executable where I was facing the error.

Update:
After downgrading the freetype2 and fontconfig versions, other programs such as vim, etc are giving an error "vim: symbol lookup error: /usr/lib/libpangoft2-1.0.so.0: undefined symbol: FcWeightFromOpenTypeDouble"

And when I upgrade to the latest versions vim works but tecplot doesnot.

Update:
In ubuntu it is working fine.

Offline

#4 2019-05-13 14:30:56

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: Tecplot | Temporary fix obtained | Permanent fix to be found |

As a general rule, do not install things outside of pacman; it's asking for trouble. Instead, write a PKGBUILD that leverages upstream's installer so that it installs properly and pacman can handle dependencies for you reasonably.

To get back to the point where that's a reasonable option, you need to manually remove all the things the .sh installed (hopefully, they have an uninstall.sh that is sane and will take care of that). Then you can move forward with writing the PKGBUILD.

All the best,

-HG

Offline

#5 2019-05-13 14:32:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,776

Re: Tecplot | Temporary fix obtained | Permanent fix to be found |

It's working fine in ubuntu, because ubuntu ships a dated fontconfig, which this binary was linked to…

Trilby wrote:

the only real solution is to wait for them to compile a new version or use it in a container/vm

You can also try whether preloading the old fontconfig lib (DON'T INSTALL IT! Just copy it somewhere) works.

Offline

#6 2019-05-13 16:47:08

Null101
Member
Registered: 2019-05-13
Posts: 7

Re: Tecplot | Temporary fix obtained | Permanent fix to be found |

Thank you for such a quick response.

@HalosGhost
I really do not know how to write a PKGBUILD. Even after writing the PKGBUILD the two different versions of fontconfig will conflict with one another at the installation prompt(pacman) and ultimately there would be only one version of fontconfig in the system. I think that would be the case. And sadly there is no uninstall.sh file.

@seth
Can you please tell me how to preload the old fontconfig lib.

Offline

#7 2019-05-13 19:33:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,776

Re: Tecplot | Temporary fix obtained | Permanent fix to be found |

Offline

#8 2019-05-13 19:44:13

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: Tecplot | Temporary fix obtained | Permanent fix to be found |

Alternatively you should be able to use LD_LIBRARY_PATH to point to the directory where you put the old libraries
http://tldp.org/HOWTO/Program-Library-H … html#AEN80

env LD_LIBRARY_PATH=/opt/oldlib/ tec

In my opinion better solutions would be to run the whole application in a chroot or set the rpath with e.g. patchelf

Last edited by progandy (2019-05-13 19:49:13)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#9 2019-05-14 06:38:46

Null101
Member
Registered: 2019-05-13
Posts: 7

Re: Tecplot | Temporary fix obtained | Permanent fix to be found |

The LD_Preload trick worked.

Thank you so much.

Offline

#10 2019-05-14 14:13:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,776

Re: Tecplot | Temporary fix obtained | Permanent fix to be found |

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Also notice that this is likely not a stable condition. The more the system version advances against the version the executable was compiled and linked against, the more problems you might/will encounter.

Offline

Board footer

Powered by FluxBB