Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Install problem: error while loading shared libraries: libXp.so.6

1,311 views
Skip to first unread message

Etienne Ringuet

unread,
Jun 13, 2005, 3:21:58 PM6/13/05
to
Hello,

I am trying to install Matlab 7.02 on a SUN workstation (Opteron
x86_64). It currently runs Fedora Core 3 running on kernel
2.6.11-1.27_FC3.

When I try to install (install -t) I get this error:

/tmp/4864tmwinstall/update/bin/glnxa64/xsetup: error while loading
shared libraries: libXp.so.6: cannot open shared object file: No such
file or directory

I suspect this is an error with my nvidia drivers being 32 bits
instead of 64.

If anyone has a solution I would be glad to know it. :)

cheers,

Etienne

ravishanker

unread,
Jul 3, 2005, 3:48:48 AM7/3/05
to
Hi,

I am getting the same error message on Dell Precision 380 with FC4
X86_64. Any solutions?

Thanks,
Ravi

ravi shanker

unread,
Jul 3, 2005, 5:13:17 AM7/3/05
to
Solution is available at <http://www.linuxquestions.org/questions/showthread.php?s=&threadid=338231>

In short just type the following:

# setenforce 0

This will disable SELinux. But will allow installation of Matlab.
Resume your Matlab installation.

Thanks,
Ravi

Greg Hines

unread,
Sep 12, 2005, 9:42:02 PM9/12/05
to
Hi,
I'm currently having the same problem but I don't have the command
setenforce on my computer. I'm using Ubuntu with 2.6.12. I think its
complaining about libc.so.6 since the installation script complains
about premission denied for that file.

I really have no idea what to do so even a suggestion as to where
to look would really help.

Greg Hines
School of CS
University of Waterloo

Noe Misael Nieto Arroyo

unread,
Sep 18, 2005, 5:31:46 PM9/18/05
to
Hello, I have the same problem like Greg Hines.

I installed a fresh copy of Ubuntu Breezy (pre-release).
Uname says:
sh-3.00# uname -a
Linux tequelech 2.6.12-8-386 #1 Tue Aug 30 22:41:30 BST 2005 i686 GNU/Linux

My machine is an AMD Duron @ 950 Mhz with 192 MB RAM and 512 MB Swap. Lots of Gigs in my hard drives.

The installation script for MATLAB 7 says:

sh-3.00# sh /media/cdrom0/install
/media/cdrom0/install: line 697: /lib/libc.so.6: Access denied
/tmp/32050tmwinstall/install: line 697: /lib/libc.so.6: Access denied
-------------------------------------------------------------------

An error status was returned by the program 'xsetup',
the X Window System version of 'install'. The following
messages were written to standard error:

/tmp/32050tmwinstall/update/bin/glnx86/xsetup: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory

Attempt to fix the problem and try again. If X is not available
or 'xsetup' cannot be made to work then try the terminal
version of 'install' using the command:

install* -t or INSTALL* -t

-------------------------------------------------------------------
/tmp/32050tmwinstall/update/install/abort.sh: line 15: /tmp/32050tmwinstall/update/install/cleanup.sh: No such file or directory

As the Install script suggest I try the following:


sh-3.00# sh /media/cdrom0/install -t
/media/cdrom0/install: line 697: /lib/libc.so.6: Permiso denegado
/tmp/32176tmwinstall/install: line 697: /lib/libc.so.6: Permiso denegado

The it displays the license Agreement. When you agree: this happens:


/tmp/32176tmwinstall/update/bin/glnx86/xsetup: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
/tmp/32176tmwinstall/update/install/main.sh: /media/cdrom0/install: /bin/sh: bad interpreter: Permiso denegado
/tmp/32176tmwinstall/update/install/main.sh: line 300: /media/cdrom0/install: Conseguido


Hope anybody can help!!!

Noe Misael Nieto Arroyo

unread,
Sep 18, 2005, 7:27:55 PM9/18/05
to
After a time googling in the ubuntu forums, I found that libXp.so.6 belongs to the X11 X Print Library. So

# apt-get install libxp6

solved the problem, now MATLAB 7 and 6.5 will install smoothly. Let's see if it runs well after install.

patrick Fulconis

unread,
Oct 21, 2005, 12:16:02 PM10/21/05
to
I've the same pb installing Matlab 7.1 (R14_SP3) on a SUN V40Z
(Opteron x86_64) with Redhat Enterprise 4

casper

unread,
Oct 21, 2005, 12:32:55 PM10/21/05
to

casper

unread,
Oct 21, 2005, 12:37:14 PM10/21/05
to
I have the same problem with Ubuntu Breezy for amd64. I have to run
Matlab for my work and I don't want to switch to Windows just for
Matlab.
Please, help.

Leen Toelen

unread,
Nov 8, 2005, 12:15:16 PM11/8/05
to
I solved this by running

apt-get install libxpc (X print extension)

and using ./install -t (uses the terminal)

casper

unread,
Nov 11, 2005, 3:51:29 PM11/11/05
to
Leen Toelen wrote:
>
>
> I solved this by running
>
> apt-get install libxpc (X print extension)
>
> and using ./install -t (uses the terminal)
>
Thank you very much, Leen Toelen.
Unfortunatelly, I will try your solution not earlier than April 2006.
I gave up and downgraded to Ubuntu 32 bit. I had to have Matlab
working. Anyway, thank you for your time and attention.
Linux society is great. :)
casper

David Romero-Antequera

unread,
Jun 25, 2010, 1:30:24 PM6/25/10
to
After a while of having no problem with Matlab's university license, when I tried to install in a laptop with broken video card (which means I will only use this to run in batch mode), I got in the same issues. The laptop:

Gentoo Linux amd64, Intel Core Duo 2.

Workaround:
./install -t -glnx86

this will try to install Matlab for 32 bits, but in the section for choosing the packages, it will let you install the 64 bits version as well. Specifically the problem is that libXp.so.6 is a 32-bits library and Matlab installer have some problems trying to finding it for 32-bits compatibility mode.

Hope this helps somebody.

"Etienne Ringuet" <ring...@TAKETHISOUTete.inrs.ca> wrote in message <ef0a8...@webx.raydaftYaTP>...

David Romero-Antequera

unread,
Jun 28, 2010, 4:25:14 PM6/28/10
to
Sorry, my bad. It seems that the problem goes a little bit beyond just installation. I can't use MATLAB in 64 bits at all. I will try to install as 32bits and will post results.

"David Romero-Antequera" <dromero...@yahoo.es> wrote in message <i02p3g$l2b$1...@fred.mathworks.com>...

David Romero-Antequera

unread,
Jul 23, 2010, 9:52:04 AM7/23/10
to
Actually, the solution was pretty lame. Just install the libXp package.

emerge libXp

Hope this help somebody. Sorry if I misguided someone.

"David Romero-Antequera" <dromero...@yahoo.es> wrote in message <i0b0fa$1tf$1...@fred.mathworks.com>...

Philippe Marion

unread,
Nov 17, 2010, 3:06:04 AM11/17/10
to
Hello,

I've got the same error
( shared libraries: libXp.so.6: cannot open shared object file: No such)
OS: debian ( lenny amd 64)
version of matlab : R2010b lnx64

I just added ( apt-get install libxp6 ) the "X Printing Extension package client library"
and everything is ok

cheers,
Philippe

Son Hua

unread,
Dec 14, 2010, 5:51:05 AM12/14/10
to
Hi,

I confirmed Philippe Marion's approach. Under Linux Mint LMDE (which is also Debian based), libxp6 also fixed the installation problem. Thanks.

"Philippe Marion" <marion-...@lmpa-dot-univ-littoral.fr> wrote in message <ic02db$3r5$1...@fred.mathworks.com>...

desmarie

unread,
Mar 16, 2015, 10:02:12 PM3/16/15
to
Thanks to you and persistence searching down this thread I found the solution I NEEDED.

This solution helped me to get Seadas6.4 running on Linux Mint 17.1 due to the libxp.so.6 error code.

xxx@xxx-Aspire-X5950 ~/seadas6.4 $ ./config/seadas_setup -em
Python version acceptable
/home/xxx/seadas6.4/idl_rt/bin/bin.linux.x86_64/idl: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory

xxx@xxx-Aspire-X5950 ~/seadas6.4 $ sudo apt-get install libxp6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libxp6
0 upgraded, 1 newly installed, 0 to remove and 290 not upgraded.
Need to get 15.6 kB of archives.
After this operation, 79.9 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libxp6 amd64 1:1.0.2-1ubuntu1 [15.6 kB]
Fetched 15.6 kB in 0s (42.4 kB/s)
Selecting previously unselected package libxp6:amd64.
(Reading database ... 161099 files and directories currently installed.)
Preparing to unpack .../libxp6_1%3a1.0.2-1ubuntu1_amd64.deb ...
Unpacking libxp6:amd64 (1:1.0.2-1ubuntu1) ...
Setting up libxp6:amd64 (1:1.0.2-1ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...

xxx@xxx-Aspire-X5950 ~/seadas6.4 $ ./config/seadas_setup -em
Python version acceptable
IDL Version 7.0 (linux x86_64 m64). (c) 2007, ITT Visual Information Solutions

% Embedded IDL: NASA GSFC SeaDAS Development, SeaDAS.
% Embedded IDL: NASA GSFC SeaDAS Development, SeaDAS.

# It now works thanks for this solution.

Thanks by the truckloads

Desmond


desmarie

unread,
Mar 16, 2015, 10:02:18 PM3/16/15
to
This solved my problem with libXp.so.6: cannot open shared object file: No such using seadas6.4 in LinuxMint 17.1


0 new messages