LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 03-30-2011, 12:04 PM   #1
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Rep: Reputation: 7
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!
 
Old 03-30-2011, 01:27 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Please try this, and cut/paste the results:
Code:
cd /usr/lib/
ls -lL libXm*
 
Old 03-30-2011, 02:07 PM   #3
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Original Poster
Rep: Reputation: 7
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*
 
Old 03-30-2011, 06:17 PM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 03-31-2011, 12:41 AM   #5
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Original Poster
Rep: Reputation: 7
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!
 
Old 03-31-2011, 10:07 AM   #6
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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.
 
Old 03-31-2011, 01:55 PM   #7
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Original Poster
Rep: Reputation: 7
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!
 
Old 04-04-2011, 01:33 PM   #8
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Original Poster
Rep: Reputation: 7
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!
 
Old 04-06-2011, 05:29 AM   #9
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Rep: Reputation: 55
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:
Code:
/etc/ld.so.conf
Then run:
Code:
 ldconfig
and finally load you program.
 
Old 04-06-2011, 01:16 PM   #10
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Original Poster
Rep: Reputation: 7
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Open source equivalent to Citrix web interface / Xenapp / whatever rosv Linux - Software 6 01-26-2014 01:09 AM
Linux Citrix Receiver gives me error: provider code 20 SSL error 86 ebeyer Linux - Networking 1 09-16-2009 11:32 AM
[SOLVED] Slackware64-C client wont detect Slackware64-C Samba server slackass Slackware 5 08-07-2009 11:23 PM
Anyone here using Citrix receiver for linux ..... NetNightmare Slackware 0 08-07-2009 01:57 AM
how to get citrix automatically started up when a user logs in. sjel Linux - Newbie 2 09-06-2004 08:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration