Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-30-2011, 12:04 PM
|
#1
|
Member
Registered: Jan 2011
Posts: 321
Rep:
|
XenApp Citrix Client Receiver 11 cannot be started on Slackware64 13.1
Hello,
I have Slackware64 13.1 with multilib enabled.
I downloaded the Citrix Client Receiver 11 from citrix.com (it is available for 32 bit architectures only).
I followed the installation instructions and all went fine.
I even installed openmotif from slackbuilds.org repository as a dependency.
When i tried to do:
Code:
bash-4.1$ ldd /usr/lib/ICAClient/wfcmgr
linux-gate.so.1 => (0xffffe000)
libXm.so.4 => not found
libXp.so.6 => /usr/lib/libXp.so.6 (0xf76e5000)
libXpm.so.4 => /usr/lib/libXpm.so.4 (0xf76d5000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xf76cd000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xf76b5000)
libXmu.so.6 => /usr/lib/libXmu.so.6 (0xf769f000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xf769c000)
libdl.so.2 => /lib/libdl.so.2 (0xf7698000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf767f000)
libc.so.6 => /lib/libc.so.6 (0xf751c000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xf74ca000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xf73af000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xf73a1000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xf739e000)
libuuid.so.1 => /lib/libuuid.so.1 (0xf739a000)
/lib/ld-linux.so.2 (0xf771f000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf7381000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xf737c000)
You can see that it cannot find libXm.so.4 . I created the symbolic link. When I try to search for this library:
Code:
# ln -s /usr/lib/libXm.so libXm.so.4
ln: creating symbolic link `libXm.so.4': File exists
As far as i can understand, the only one that is missing is this library. The link has been created.
Can you tell me what is wrong?
Thank you!
|
|
|
03-30-2011, 01:27 PM
|
#2
|
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Rep:
|
Hi -
Please try this, and cut/paste the results:
Code:
cd /usr/lib/
ls -lL libXm*
|
|
|
03-30-2011, 02:07 PM
|
#3
|
Member
Registered: Jan 2011
Posts: 321
Original Poster
Rep:
|
Code:
/usr/lib# ls -lL libXm*
-rwxr-xr-x 1 root root 10128491 2011-03-29 19:03 libXm.so*
-rwxr-xr-x 1 root root 10128491 2011-03-29 19:03 libXm.so.4*
-rwxr-xr-x 1 root root 800 2010-02-23 01:57 libXmu.la*
-rwxr-xr-x 1 root root 86884 2010-02-23 01:57 libXmu.so*
-rwxr-xr-x 1 root root 86884 2010-02-23 01:57 libXmu.so.6*
-rwxr-xr-x 1 root root 86884 2010-02-23 01:57 libXmu.so.6.2.0*
-rwxr-xr-x 1 root root 783 2010-02-23 01:57 libXmuu.la*
-rwxr-xr-x 1 root root 10504 2010-02-23 01:57 libXmuu.so*
-rwxr-xr-x 1 root root 10504 2010-02-23 01:57 libXmuu.so.1*
-rwxr-xr-x 1 root root 10504 2010-02-23 01:57 libXmuu.so.1.0.0*
|
|
|
03-30-2011, 06:17 PM
|
#4
|
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Rep:
|
Hi -
So the symbolic link looks OK. Please try "file libXm.so*":
Quote:
EXAMPLE:
ls -l libXm.so*
lrwxrwxrwx 1 root root 14 2006-05-04 03:08 libXm.so.3 -> libXm.so.3.0.2
-rwxr-xr-x 1 root root 2353176 2005-03-22 10:14 libXm.so.3.0.2
file libXm.so*
libXm.so.3: symbolic link to `libXm.so.3.0.2'
libXm.so.3.0.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
|
|
|
|
03-31-2011, 12:41 AM
|
#5
|
Member
Registered: Jan 2011
Posts: 321
Original Poster
Rep:
|
Hello,
I followed the instructions from the previous post. Here is the output:
Code:
/usr/lib# ls -l libXm.so*
-rwxr-xr-x 1 root root 10128491 2011-03-29 19:03 libXm.so*
lrwxrwxrwx 1 root root 17 2011-03-29 19:06 libXm.so.4 -> /usr/lib/libXm.so*
Code:
/usr/lib# file libXm.so*
libXm.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
libXm.so.4: symbolic link to `/usr/lib/libXm.so'
Here is a detail that i forgot to mention in the very first post. I try to start the Citrix Client in this way:
Code:
$ /usr/lib/ICAClient/wfcmgr
/usr/lib/ICAClient/wfcmgr: error while loading shared libraries: libXm.so.4: wrong ELF class: ELFCLASS64
Thanks!
|
|
|
03-31-2011, 10:07 AM
|
#6
|
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Rep:
|
Yup - that's the problem.
Your 32-bit app cannot use the 64-bit shared library.
You need to:
1) find the 32-bit version of Xm (Open Motif) shared libraries:
http://www.ist-inc.com/downloads/motif_download.html
2) set $LD_LIBRARY_PATH to point to them (instead of the default, 64-bit "/usr/lib")
This link might help (note that Ubuntu uses .deb files/dpkg):
https://help.ubuntu.com/community/CitrixICAClientHowTo
Last edited by paulsm4; 03-31-2011 at 10:17 AM.
|
|
|
03-31-2011, 01:55 PM
|
#7
|
Member
Registered: Jan 2011
Posts: 321
Original Poster
Rep:
|
OK,
I removed the original 64 bit openmotif which i had installed from the slackbuilds repository.
Then I downloaded and installed the 32 bit version of openmotif.
I found the 32-bit libraries:
Code:
/usr/OpenMotif-2.1.32/lib# file libXm.so*
libXm.so: symbolic link to `libXm.so.2.1'
libXm.so.2: symbolic link to `libXm.so.2.1'
libXm.so.2.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped
so the one that i need is libXm.so.2.1 .
Can you please help me with that setting of $LD_LIBRARY_PATH? Please excuse me, I could not exactly understand what to execute from the link you posted.
What commands to type?
Is it possible to make a symbolic link again?
But how to link libXm.so.4 which already points to /usr/lib/libXm.so.4 (which is 64 bit incompatible shared library) to this one /usr/OpenMotif-2.1.32/libXm.so.2.1 ?
Thank you!
|
|
|
04-04-2011, 01:33 PM
|
#8
|
Member
Registered: Jan 2011
Posts: 321
Original Poster
Rep:
|
Hello,
I read on the Internet how to set this LD_LIBRARY_PATH.
I opened the file /etc/profile and added the following line:
Code:
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/OpenMotif-2.1.32/lib
Then i restarted the PC and did:
Code:
bash-4.1$ echo $LD_LIBRARY_PATH
:/usr/OpenMotif-2.1.32/lib
When i tried to start the application again, it still points to the 64-bit version of the libraries. Any idea how to overcome that?
Code:
bash-4.1$ /usr/lib/ICAClient/wfcmgr
/usr/lib/ICAClient/wfcmgr: error while loading shared libraries: libXm.so.4: wrong ELF class: ELFCLASS64
Thanks!
|
|
|
04-06-2011, 05:29 AM
|
#9
|
Member
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819
Rep:
|
Please make sure that you install the 32-bit version of openmotif, that you have in advance converted to a compat-32 package by:
Code:
convertpkg-compat32 -i /path/to/OpenMotif-2.1.32.txz
Install that package and find the directory where the file libXm.so.4 is located. Then add that directory to the file:
Then run: and finally load you program.
|
|
|
04-06-2011, 01:16 PM
|
#10
|
Member
Registered: Jan 2011
Posts: 321
Original Poster
Rep:
|
Here is what i did.
1. Deisntalled previous 32 bit version of open motif with removepkg
2. Deinstalled the built in lesstiff package in Slackware 13.1
3. After that i downloaded the 32 bit version.
4. I converted the 32 bit version to 32-bit comatible one.
5. I installed the 32 bit comatible version
6. Added the directory /usr/lib/ to /etc/ld.so.conf
7. run ldconfig
8. i strated the aplication
Now i have to set it up, but at least i got it working.
Tramni1980, thank you so much!
|
|
|
All times are GMT -5. The time now is 11:44 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|