CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Gambit startup error: libXp.so.6 cannot be found (https://www.cfd-online.com/Forums/fluent/37530-gambit-startup-error-libxp-so-6-cannot-found.html)

Patrice Guay August 9, 2005 14:39

Gambit startup error: libXp.so.6 cannot be found
 
I installed Gambit on an AMD64 machine with RHEL4. When I try to launch Gambit, I receive this message:

> [joe@localhost ~]# LANG=C gambit
:
: This product has the following patch(es) applied:
: patch_2230_1
:
: [...]
: Starting /usr/local/Fluent.Inc/gambit2.2.30/lnamd64/gambit ...
: /usr/local/Fluent.Inc/gambit2.2.30/lnamd64/gambit: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
:

However, the file libXp.so.6 is already installed (xorg-x11-deprecated-libs-6.8.2-1.EL.13.6) and available at: /usr/X11R6/lib64/libXp.so.6 What is wrong? -- Patrice Guay

Vinod Dhiman August 10, 2005 02:37

Re: Gambit startup error: libXp.so.6 cannot be fou
 
Hi

I hope you have root privilege. Open /etc/ld.so.conf and add the path of this file, just the path, not the file name, and then save the file. Now run command ldconfig. You can run this command from anywhere. Just type ldconfig and press enter.

Do let me know whatever result you get

Vinod Dhiman

Patrice Guay August 10, 2005 11:23

Re: Gambit startup error: libXp.so.6 cannot be fou
 
Here is the content of /etc/ld.so.conf:

/usr/lib64/nvidia include ld.so.conf.d/*.conf /usr/X11R6/lib /usr/X11R6/lib64

The last line already contains the path to libXp.so.6. I ran ldconfig, then gambit and got the same error. Where should I look to solve this issue?

Patrice Guay

Vinod Dhiman August 10, 2005 11:58

Re: Gambit startup error: libXp.so.6 cannot be fou
 
As much as I know, that should have solved the problem. Check whether that file is a file itself, or a link to another file. Although, that should not affect, yet you can try. Its needed to be asked from an OS expert.

I'm sorry, if that doesn't help much.

Vinod Dhiman

Patrice Guay August 10, 2005 12:38

Re: Gambit startup error: libXp.so.6 cannot be fou
 
I've got it! Here is the answer I got from a Fluent representative:

>since gambit is a 32bit code, the 32bit XFree86 libraries should be
:installed on this system. Gambit will look for libXp.so.6 (and other libraries) in
:/usr/X11R6/lib -- not in /usr/X11R6/lib64

So, I manually downloaded and installed the i386 package named: xorg-x11-deprecated-libs. Now it works.

Patrice Guay

Vinod Dhiman August 10, 2005 13:03

Re: Gambit startup error: libXp.so.6 cannot be fou
 
That's good. It will be of help in the future if someone else gets the same problem. I didn't observe that the directory I have is lib while yours one was lib64

Vinod Dhiman


All times are GMT -4. The time now is 05:34.